/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Foundation/Platform/Android/FormatString_Platform.h
15 строк
689 B
Jan Krassnigg
Further refactor of platform specific code (#1415)
23 окт 2024, 21:36
Не верифицирован
23 окт 2024, 21:36
8b313ab
Код
Авторство
О чём код?
/// \brief Many Linux APIs will fill out error on failure. This converts the error into an error code and a human-readable error message. /// Pass in the linux `errno` symbol. Be careful when printing multiple values, a function could clear `errno` as a side-effect so it is best to store it in a temp variable before printing a complex error message. /// You may have to include #include <errno.h> use this. /// \sa https://man7.org/linux/man-pages/man3/errno.3.html struct ezArgErrno { inline explicit ezArgErrno(ezInt32 iErrno) : m_iErrno(iErrno) { } ezInt32 m_iErrno; }; EZ_FOUNDATION_DLL ezStringView BuildString(char* szTmp, ezUInt32 uiLength, const ezArgErrno& arg);