close
範例:
InOutCell g_inout;
std::stringstream &g_outss = g_inout.m_outstream;
std::stringstream &g_inss = g_inout.m_instream;
static int LuaGetNumber(lua_State* luaState)
{
double n;
g_outss >> n;
lua_pushnumber(luaState, n);
return 1;
}
全站熱搜
留言列表