Mercurial Hosting > luan
comparison core/src/luan/modules/PickleClient.java @ 411:23b99a5039b5
remove Luan.newTable()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 29 Apr 2015 16:05:02 -0600 |
parents | a1fa4fba99de |
children | dae264ad6a7b |
comparison
equal
deleted
inserted
replaced
410:0d6098a29b3e | 411:23b99a5039b5 |
---|---|
62 ); | 62 ); |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 LuanTable table() { | 66 LuanTable table() { |
67 LuanTable tbl = Luan.newTable(); | 67 LuanTable tbl = new LuanTable(); |
68 try { | 68 try { |
69 tbl.put( "pickle", new LuanJavaFunction( | 69 tbl.put( "pickle", new LuanJavaFunction( |
70 PickleCon.class.getMethod( "pickle", Object.class ), con | 70 PickleCon.class.getMethod( "pickle", Object.class ), con |
71 ) ); | 71 ) ); |
72 tbl.put( "call", new LuanJavaFunction( | 72 tbl.put( "call", new LuanJavaFunction( |