 |
Blender V5.0
|
Go to the documentation of this file.
15# pragma warning(disable : 4786)
22#if defined(WITH_GHOST_DEBUG)
23# define GHOST_PRINT(x) \
28# define GHOST_PRINTF(x, ...) \
30 printf(x, __VA_ARGS__); \
36# define GHOST_PRINT(x) \
43# define GHOST_PRINTF(x, ...) \
46 printf(x, __VA_ARGS__); \
54# ifdef WITH_ASSERT_ABORT
56# define GHOST_ASSERT(x, info) \
59 fprintf(stderr, "GHOST_ASSERT failed: "); \
60 fprintf(stderr, info); \
61 fprintf(stderr, "\n"); \
68# define GHOST_ASSERT(x, info) \
71 GHOST_PRINT("GHOST_ASSERT failed: "); \
79# define GHOST_ASSERT(x, info) ((void)0)