Potlaceni varovani prekladace

This commit is contained in:
Pavel Brychta 2022-10-01 14:52:33 +02:00
parent b15ce02b2a
commit 14492ac2d0

View File

@ -129,9 +129,9 @@ void trace_forceupdate(void);
#define TRACE(severity, ...) trace_print(severity, __VA_ARGS__) #define TRACE(severity, ...) trace_print(severity, __VA_ARGS__)
#define TRACEFUNC(severity, ...) trace_printfunc(severity, __func__, __FILE__, TOSTRING(__LINE__), __VA_ARGS__) #define TRACEFUNC(severity, ...) trace_printfunc(severity, __func__, __FILE__, TOSTRING(__LINE__), __VA_ARGS__)
#define TRACEDUMP(severity, prefix, address, size) trace_dump(severity, prefix, address, size) #define TRACEDUMP(severity, prefix, address, size) trace_dump(severity, prefix, address, size)
#define TRACE_INIT trace_init() #define TRACE_INIT(a) trace_init()
#define TRACE_ADDWEB(srv) trace_addweb(srv) #define TRACE_ADDWEB(srv) trace_addweb(srv)
#define TRACE_POLL trace_poll() #define TRACE_POLL(a) trace_poll()
#define TRACE_FORCEUPDATE(a) trace_forceupdate() #define TRACE_FORCEUPDATE(a) trace_forceupdate()
#else // DONT_USE_TRACE #else // DONT_USE_TRACE
@ -139,9 +139,9 @@ void trace_forceupdate(void);
#define TRACE(...) ((void)0) // from assert.h "NOP" - http://stackoverflow.com/questions/9187628/c-empty-function-macros #define TRACE(...) ((void)0) // from assert.h "NOP" - http://stackoverflow.com/questions/9187628/c-empty-function-macros
#define TRACEFUNC(...) ((void)0) #define TRACEFUNC(...) ((void)0)
#define TRACEDUMP(...) ((void)0) #define TRACEDUMP(...) ((void)0)
#define TRACE_INIT ((void)0) #define TRACE_INIT(a) ((void)0)
#define TRACE_ADDWEB(a) ((void)0) #define TRACE_ADDWEB(a) ((void)0)
#define TRACE_POLL ((void)0) #define TRACE_POLL(a) ((void)0)
#define TRACE_FORCEUPDATE(a) ((void)0) #define TRACE_FORCEUPDATE(a) ((void)0)
#endif // DONT_USE_TRACE #endif // DONT_USE_TRACE