Isle
Loading...
Searching...
No Matches
mxdebug.h
Go to the documentation of this file.
1
#ifndef MXDEBUG_H
2
#define MXDEBUG_H
3
4
#include "
compat.h
"
5
6
#ifdef _DEBUG
7
8
// In debug mode, replace the macro with the function call.
14
#define MxTrace _MxTrace
15
23
void
_MxTrace(
const
char
* format, ...);
24
31
int
DebugHeapState();
32
33
#else
34
35
// If not debug, MxTrace is a no-op.
36
37
#ifdef COMPAT_MODE
38
39
// Use variadic args for macro (C99)
45
#define MxTrace(...)
46
47
#else
48
49
// MSVC 4.20 does not have variadic args for macros
55
#define MxTrace(args)
56
57
#endif
// COMPAT_MODE
58
59
#endif
// _DEBUG
60
61
#endif
// MXDEBUG_H
compat.h
LEGO1
omni
include
mxdebug.h
Generated on Sun Oct 5 2025 23:06:51 for Isle by
1.9.5