mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add debug print macros.
This commit is contained in:
parent
4d668741eb
commit
afcebb6e6a
11
client/TracyDebug.hpp
Normal file
11
client/TracyDebug.hpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#ifndef __TRACYPRINT_HPP__
|
||||||
|
#define __TRACYPRINT_HPP__
|
||||||
|
|
||||||
|
#ifdef TRACY_VERBOSE
|
||||||
|
# include <stdio.h>
|
||||||
|
# define TracyDebug(...) fprintf( stderr, __VA_ARGS__ );
|
||||||
|
#else
|
||||||
|
# define TracyDebug(...)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
Loading…
x
Reference in New Issue
Block a user