Assets/XLua/Src/LuaDLL.cs
@@ -191,6 +191,9 @@ } [DllImport(LUADLL,CallingConvention=CallingConvention.Cdecl)] public static extern int pcall_prepare(IntPtr L, int error_func_ref, int func_ref); [DllImport(LUADLL,CallingConvention=CallingConvention.Cdecl)] public static extern void luaL_unref(IntPtr L, int registryIndex, int reference); public static void lua_unref(IntPtr L, int reference)