// steffenj: END Lua 5.1.1 API change (lua_dofile now in LuaLib as luaL_dofile) public static void lua_getglobal(LuaCore.lua_State luaState, string name) { LuaCore.lua_getglobal(luaState, name); //lua_pushstring(luaState, name); //LuaCore.lua_gettable(luaState, (int)LuaIndexes.Globals); }