Account(lua_State *L) { m_balance = luaL_checknumber(L, 1); } // 检查指定参数是否为number,并且返回这个number int deposit (lua_State *L) { m_balance += ...
確定! 回上一頁