public static void toluaL_unref_replace(IntPtr L, int reference) { lock (m_Lock) { LuaHook.HookUnRef(L, reference, tolua_Getref_Fun); toluaL_unref_proxy(L, reference); } }
public static void luaL_unref_replace(IntPtr luaState, int registryIndex, int reference) { lock (m_Lock) { LuaHook.HookUnRef(luaState, reference); LuaDLL.luaL_unref(luaState, registryIndex, reference); } }