int ref = luaL_ref(L,LUA_REGISTRYINDEX); printf("stack size:%d\n",lua_gettop(L));. // 从注册表中读取该函数并调用 lua_rawgeti(L,LUA_REGISTRYINDEX,ref);
確定! 回上一頁