/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Foundation/Platform/OSX/Log_OSX.cpp
30 строк
505 B
Jan Krassnigg
Further refactor of platform specific code (#1415)
23 окт 2024, 21:36
Не верифицирован
23 окт 2024, 21:36
8b313ab
Код
Авторство
О чём код?
#include <Foundation/FoundationPCH.h> #if EZ_ENABLED(EZ_PLATFORM_OSX) # include <Foundation/Logging/Log.h> void ezLog::Print(const char* szText) { printf("%s", szText); if (s_CustomPrintFunction) { s_CustomPrintFunction(szText); } fflush(stdout); fflush(stderr); } void ezLog::OsMessageBox(const ezFormatString& text) { ezStringBuilder tmp; ezStringBuilder display = text.GetText(tmp); display.Trim(" \n\r\t"); ezLog::Print(display); EZ_ASSERT_NOT_IMPLEMENTED; } #endif