Initial draft of luajava package support.

This commit is contained in:
James Roseborough
2007-06-19 05:17:07 +00:00
parent 99077764ac
commit 1d7793f8e6
5 changed files with 160 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ public class GlobalState {
public static LValue getGlobalsTable() {
LTable table = new LTable();
Builtin.addBuiltins( table );
LuaJava.addBuiltins( table );
table.m_hash.put(new LString("_G"), table);
return table;
}