public static int GetFuncRef(this IntPtr L) { return(XLLuaRuntime.luaL_ref(L, (int)LuaInnerIndex.LUA_REGISTRYINDEX)); }