//----------------------------------------------------------------// void MOAILuaState::PrintStackTrace ( FILE* file, int level ) { STLString stackTrace = this->GetStackTrace ( level ); // TODO: Fix this on Android #ifndef MOAI_OS_ANDROID ZLLog::PrintFile ( file, stackTrace.str ()); #endif }
//----------------------------------------------------------------// int USLuaSerializer::_exportToString ( lua_State* L ) { LUA_SETUP ( USLuaSerializer, "U" ) STLString retStr = self->SerializeToString (); lua_pushstring ( L, retStr.str() ); return 1; }
//----------------------------------------------------------------// void MOAILuaState::PrintStackTrace ( FILE* file, int level ) { STLString stackTrace = this->GetStackTrace ( level ); USLog::PrintFile ( file, stackTrace.str ()); }