comparison core/src/luan/modules/IoLuan.java @ 759:ae612dfc57cb 0.21

better handling of longs in rpc and json
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Jul 2016 09:09:41 -0600
parents c29d11d675fd
children 99356cfde2f0
comparison
equal deleted inserted replaced
758:c29d11d675fd 759:ae612dfc57cb
617 LuanFile.class.getMethod( "mkdir" ), this 617 LuanFile.class.getMethod( "mkdir" ), this
618 ) ); 618 ) );
619 tbl.rawPut( "last_modified", new LuanJavaFunction( 619 tbl.rawPut( "last_modified", new LuanJavaFunction(
620 File.class.getMethod( "lastModified" ), file 620 File.class.getMethod( "lastModified" ), file
621 ) ); 621 ) );
622 tbl.rawPut( "length", new LuanJavaFunction(
623 File.class.getMethod( "length" ), file
624 ) );
622 tbl.rawPut( "child", new LuanJavaFunction( 625 tbl.rawPut( "child", new LuanJavaFunction(
623 LuanFile.class.getMethod( "child", LuanState.class, String.class ), this 626 LuanFile.class.getMethod( "child", LuanState.class, String.class ), this
624 ) ); 627 ) );
625 tbl.rawPut( "children", new LuanJavaFunction( 628 tbl.rawPut( "children", new LuanJavaFunction(
626 LuanFile.class.getMethod( "children", LuanState.class ), this 629 LuanFile.class.getMethod( "children", LuanState.class ), this