Mercurial Hosting > luan
comparison core/src/luan/modules/PickleClient.java @ 221:ec016471c6eb
make LuanTable an interface
git-svn-id: https://luan-java.googlecode.com/svn/trunk@222 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 17 Jul 2014 07:49:26 +0000 |
parents | 75750ceb45ee |
children | a1fa4fba99de |
comparison
equal
deleted
inserted
replaced
220:61afe2a1ce96 | 221:ec016471c6eb |
---|---|
62 ); | 62 ); |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 LuanTable table() { | 66 LuanTable table() { |
67 LuanTable tbl = new LuanTable(); | 67 LuanTable tbl = Luan.newTable(); |
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( |