You.i Engine
YiPredef.h File Reference
#include <framework/YiPredefPlatform.h>
#include <utility/YiPreprocessorMacros.h>
#include <cstdint>
#include "deprecated/YiPredefDeprecated.h"

Go to the source code of this file.

Classes

struct  YI_POINT
 
struct  YI_POINT2D
 
struct  YI_RECT
 
struct  YI_RECT_REL
 
struct  YI_FLOAT_RECT
 
struct  YI_FLOAT_RECT_REL
 

Macros

#define YI_DRAW_SKIP
 
#define YI_ENV_32   1
 
#define YI_FULLY_SUPPORTS_CPP14_CONSTEXPR   1
 
#define YI_IS_LITTLE_ENDIAN   1
 
#define YI_SYNCHRONIZATION_OBJECT_INIT_VALUE
 
#define strcat(dst, src)   YI_ERROR("strcat: Does not check for buffer overflows when concatenating to destination (CWE-120). Consider using YI_STRNCAT, strcat_s, or strlcat (warning, YI_STRNCAT is easily misused).")
 
#define strcpy(dst, src)   YI_ERROR("strcpy: Does not check for buffer overflows when copying to destination (CWE-120). Consider using YI_STRNCPY, strcpy_s, or strlcpy (warning, YI_STRNCAT is easily misused).")
 
#define gets(str)   YI_ERROR("gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.")
 
#define wcscpy(dst, src)   YI_ERROR("wcscpy: Does not check for buffer overflows when copying to destination (CWE-120). Consider using a function version that stops copying at the end of the buffer.")
 
#define wcscat(dst, src)   YI_ERROR("wcscat: Does not check for buffer overflows when concatenating to destination (CWE-120).")
 
#define YI_WTEXT(quote)   (const wchar_t *)L##quote
 
#define YI_TEXT(quote)   (const char *)quote
 
#define YI_TEXT16(quote)   (const char16_t *)L##quote
 
#define YI_TEXT32(quote)   (const char32_t *)L##quote
 
#define YI_INLINE
 
#define YI_EXTERNINLINE
 
#define YI_SEEK_SET   0
 
#define YI_SEEK_END   1
 
#define YI_SEEK_CUR   2
 
#define YI_MAX_PATH   260
 
#define YI_MAX_BUFFER   1024
 
#define YI_MIN(a, b)   (((a) < (b)) ? (a) : (b))
 
#define YI_MAX(a, b)   (((a) < (b)) ? (b) : (a))
 
#define YI_FLOAT_EQUAL(a, b)   ((a) >= ((b)-FLT_EPSILON) && (a) <= ((b) + FLT_EPSILON))
 
#define YI_UNUSED(param)   (void)(param)
 
#define YI_UNUSED_ATTRIBUTE   __attribute__((unused))
 
#define YI_FORCE_INLINE   inline
 
#define YI_FUNCTION_SPECIALIZATION_FULLY_SUPPORTED
 
#define YI_DISALLOW_COPY_AND_ASSIGN(TypeName)
 Delete the copy constructor and assignment operator (and consequently the move constructor as well) More...
 
#define YI_DEFAULT_MOVE_AND_COPY(TypeName)
 Explicitly define the copy constructor and move constructor, as well as assignment operators for each. More...
 
#define YI_DEFAULT_MOVE_NO_COPY(TypeName)
 Explicitly define the default move constructor and assignment operator, but disallow copying. More...
 
#define YI_DEFAULT_MOVE(TypeName)
 Explicitly define the default move constructor and assignment operator. More...
 
#define YI_DEFAULT_COPY(TypeName)
 Explicitly define the default copy constructor and assignment operator. More...
 
#define YI_REMOVE_CONSTANT_CONDITION(x)
 This is a C++ trick for avoiding constant condition warnings, particularly in Microsoft compilers. More...
 
#define YI_LITTLE_ENDIAN_16(a)   (a)
 
#define YI_LITTLE_ENDIAN_24(a)   (a)
 
#define YI_LITTLE_ENDIAN_32(a)   (a)
 
#define YI_LITTLE_ENDIAN_64(a)   (a)
 

Functions

template<typename T , typename... Args>
int sprintf (T &&, Args &&...)
 

Macro Definition Documentation

◆ YI_DRAW_SKIP

#define YI_DRAW_SKIP