Mercurial Hosting > luan
diff core/src/luan/modules/IoLuan.java @ 610:b4f3dbe1c6e3
add Rpc and change Hosting to use Rpc
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 11 Dec 2015 00:13:13 -0700 |
parents | f050c30952c0 |
children | 8bd98da6991a |
line wrap: on
line diff
--- a/core/src/luan/modules/IoLuan.java Wed Dec 09 18:12:16 2015 -0700 +++ b/core/src/luan/modules/IoLuan.java Fri Dec 11 00:13:13 2015 -0700 @@ -206,6 +206,7 @@ public LuanTable table() { LuanTable tbl = new LuanTable(); try { + tbl.rawPut( "java", this ); tbl.rawPut( "to_string", new LuanJavaFunction( LuanIn.class.getMethod( "to_string" ), this ) );