comparison core/src/luan/LuanState.java @ 502:d3183a330ff5

improve the __index metamethod to work with any type; simplify luan_proxy to eliminate base;
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 May 2015 17:57:20 -0600
parents 5d4a78c93383
children 92c3d22745b8
comparison
equal deleted inserted replaced
501:f26485a3692c 502:d3183a330ff5
48 return new LuanBit(this,el); 48 return new LuanBit(this,el);
49 } 49 }
50 50
51 // convenience methods 51 // convenience methods
52 52
53 private final LuanBit JAVA = bit(null); 53 final LuanBit JAVA = bit(null);
54 54
55 public LuanException exception(Object msg) throws LuanException { 55 public LuanException exception(Object msg) throws LuanException {
56 return JAVA.exception(msg); 56 return JAVA.exception(msg);
57 } 57 }
58 58