public static void lua_unref(LuaCore.lua_State luaState, int reference) { LuaCore.luaL_unref(luaState, (int)LuaIndexes.Registry, reference); }