Esempio n. 1
0
//----------------------------------------------------------------//
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
}
Esempio n. 2
0
//----------------------------------------------------------------//
int USLuaSerializer::_exportToString ( lua_State* L ) {
	LUA_SETUP ( USLuaSerializer, "U" )
	
	STLString retStr = self->SerializeToString ();
	
	lua_pushstring ( L, retStr.str() );

	return 1;
}
Esempio n. 3
0
//----------------------------------------------------------------//
void MOAILuaState::PrintStackTrace ( FILE* file, int level ) {

	STLString stackTrace = this->GetStackTrace ( level );
	USLog::PrintFile ( file, stackTrace.str ());
}