Mercurial Hosting > luan
comparison src/luan/lib/BasicLib.java @ 3:7a2cdbc5767f
add LuaState
git-svn-id: https://luan-java.googlecode.com/svn/trunk@4 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 16 Nov 2012 05:23:12 +0000 |
parents | 4da26b11d12a |
children | 24fd6381caca |
comparison
equal
deleted
inserted
replaced
2:4da26b11d12a | 3:7a2cdbc5767f |
---|---|
21 | 21 |
22 public static void print(Object... args) { | 22 public static void print(Object... args) { |
23 for( int i=0; i<args.length; i++ ) { | 23 for( int i=0; i<args.length; i++ ) { |
24 if( i > 0 ) | 24 if( i > 0 ) |
25 System.out.print('\t'); | 25 System.out.print('\t'); |
26 System.out.print( Lua.toString(args[i]) ); | 26 System.out.print( Lua.checkString(args[i]) ); |
27 } | 27 } |
28 System.out.println(); | 28 System.out.println(); |
29 } | 29 } |
30 | 30 |
31 } | 31 } |