Move DEBUG_ENABLED flag

This commit is contained in:
James Roseborough
2010-04-25 06:28:31 +00:00
parent de9c967ac5
commit 5d23d37255
2 changed files with 8 additions and 4 deletions

View File

@@ -43,7 +43,6 @@ public class JsePlatform {
_G.load(new TableLib());
_G.load(new StringLib());
_G.load(new CoroutineLib());
_G.load(new DebugLib());
_G.load(new JseMathLib());
_G.load(new JseIoLib());
_G.load(new JseOsLib());
@@ -51,4 +50,10 @@ public class JsePlatform {
LuaThread.setGlobals(_G);
return _G;
}
public static LuaTable debugGlobals() {
LuaTable _G = standardGlobals();
_G.load(new DebugLib());
return _G;
}
}