lua_tonumber does not alter the lua_State 's stack. You need to read it at two different index 1 : int ret1 = lua_tonumber(L, -2); int ret2 ...
確定! 回上一頁