mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00: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…
Reference in New Issue
Block a user