void lua_pushvalue(lua_State *L, int idx) 將指定索引上值的副本壓入棧 for (int i = 1; i <= 3; ++i) lua_pushnumber(i);
確定! 回上一頁