diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-07-12 19:14:42 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-07-12 19:34:46 +0300 |
commit | 60d2384a6a573f8a40afa16f3a582e846971dbf6 (patch) | |
tree | 477155795c6d6fb5194895d0bbe8e63c13a190b5 /TracyC.h | |
parent | cd018e88a4a8960494cf1c86a08c2edc1c13528c (diff) |
Allow sending application information messages.
Diffstat (limited to 'TracyC.h')
-rw-r--r-- | TracyC.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,7 @@ typedef const void* TracyCZoneCtx; #define TracyCMessageL(x) #define TracyCMessageC(x,y,z) #define TracyCMessageLC(x,y) +#define TracyCAppInfo(x,y) #else @@ -120,12 +121,14 @@ void ___tracy_emit_message( const char* txt, size_t size ); void ___tracy_emit_messageL( const char* txt ); void ___tracy_emit_messageC( const char* txt, size_t size, uint32_t color ); void ___tracy_emit_messageLC( const char* txt, uint32_t color ); +void ___tracy_emit_message_appinfo( const char* txt, size_t size ); #define TracyCPlot( name, val ) ___tracy_emit_plot( name, val ); #define TracyCMessage( txt, size ) ___tracy_emit_message( txt, size ); #define TracyCMessageL( txt ) ___tracy_emit_messageL( txt ); #define TracyCMessageC( txt, size, color ) ___tracy_emit_messageC( txt, size, color ); #define TracyCMessageLC( txt, color ) ___tracy_emit_messageLC( txt, color ); +#define TracyCAppInfo( txt, color ) ___tracy_emit_message_appinfo( txt, color ); #ifdef TRACY_HAS_CALLSTACK |