int a = luaL_checknumber(L, 1);. 8. int b = luaL_checknumber(L, 2);. 9. . 10. lua_pushnumber(L, a + b);.
確定! 回上一頁