comparison core/src/luan/modules/TableLuan.java @ 574:6cc2f047019b

remove LuanState.call()
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 13 Jul 2015 12:31:53 -0600
parents f1601a4ce1aa
children 7c3ad6db8ac3
comparison
equal deleted inserted replaced
573:894f991baac5 574:6cc2f047019b
64 }; 64 };
65 } else { 65 } else {
66 lt = new LessThan() { 66 lt = new LessThan() {
67 public boolean isLessThan(Object o1,Object o2) { 67 public boolean isLessThan(Object o1,Object o2) {
68 try { 68 try {
69 return luan.checkBoolean(Luan.first(luan.call(comp,"comp-arg",new Object[]{o1,o2}))); 69 return luan.checkBoolean(Luan.first(comp.call(luan,new Object[]{o1,o2})));
70 } catch(LuanException e) { 70 } catch(LuanException e) {
71 throw new LuanRuntimeException(e); 71 throw new LuanRuntimeException(e);
72 } 72 }
73 } 73 }
74 }; 74 };