lua_tonumber 不會更改 lua_State 的堆疊。您需要在兩個不同的index1上閱讀它: int ret1 = lua_tonumber(L, -2); int ret2 = lua_tonumber(L, ...
確定! 回上一頁