int r = luaL_ref(L, LUA_REGISTRYINDEX); pops a value from the stack, stores it into the registry with a fresh integer key, and returns that key.
確定! 回上一頁