Mercurial Hosting > luan
diff core/src/luan/modules/TableLuan.java @ 647:8e8c30b72e9b
move methods from LuanState to Luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 29 Mar 2016 20:39:14 -0600 |
parents | cdc70de628b5 |
children |
line wrap: on
line diff
--- a/core/src/luan/modules/TableLuan.java Tue Mar 29 19:58:39 2016 -0600 +++ b/core/src/luan/modules/TableLuan.java Tue Mar 29 20:39:14 2016 -0600 @@ -57,7 +57,7 @@ lt = new LessThan() { public boolean isLessThan(Object o1,Object o2) { try { - return luan.isLessThan(o1,o2); + return Luan.isLessThan(luan,o1,o2); } catch(LuanException e) { throw new LuanRuntimeException(e); } @@ -67,7 +67,7 @@ lt = new LessThan() { public boolean isLessThan(Object o1,Object o2) { try { - return luan.checkBoolean(Luan.first(comp.call(luan,new Object[]{o1,o2}))); + return Luan.checkBoolean(Luan.first(comp.call(luan,new Object[]{o1,o2}))); } catch(LuanException e) { throw new LuanRuntimeException(e); }