You.i Engine
YiError.h File Reference
#include <cassert>
#include "logging/YiLoggerHelper.h"

Go to the source code of this file.

Macros

#define YI_ERROR_NONE   0
 
#define YI_ERROR_NOTSUPPORT_BITDEPTH   -10
 
#define YI_ERROR_NOTSUPPORT_SCREENACCESS   -20
 
#define YI_ERROR_NOTSUPPORT_INPUTACCESS   -30
 
#define YI_ERROR_DISPLAY_BUFFER_CREATION   -40
 
#define YI_ASSERT(condition, tag, msg, ...)   YI_REMOVE_CONSTANT_CONDITION(YI_UNUSED(sizeof(condition)); YI_UNUSED(tag);)
 Platform-independent assertion macro. More...