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

remove LuanState.call()
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 13 Jul 2015 12:31:53 -0600
parents f99c79b0b426
children
comparison
equal deleted inserted replaced
573:894f991baac5 574:6cc2f047019b
102 } catch(LuanException e) { 102 } catch(LuanException e) {
103 throw new RuntimeException(e); 103 throw new RuntimeException(e);
104 } 104 }
105 PickleClient pc = new PickleClient(con); 105 PickleClient pc = new PickleClient(con);
106 try { 106 try {
107 con.luan.call(fn,new Object[]{pc.table()}); 107 fn.call(con.luan,new Object[]{pc.table()});
108 } finally { 108 } finally {
109 try { 109 try {
110 pc.call( "_unreverse_pickle()\n" ); 110 pc.call( "_unreverse_pickle()\n" );
111 } catch(LuanException e) { 111 } catch(LuanException e) {
112 throw new RuntimeException(e); 112 throw new RuntimeException(e);