Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxxxbxxx <xavierb@gmail.com>2022-11-03 15:47:04 +0300
committerxxxbxxx <xavierb@gmail.com>2022-11-03 15:47:04 +0300
commita0cb8eb1d51d430df9175eaab9ea63e8239e2b94 (patch)
treecec492b17a83057441dcbc0431ca21db0736a177 /public/tracy/TracyC.h
parent4abb3b5e90a30953878624fbb95246015c17e4d2 (diff)
Added typed plots variants to the C API
Diffstat (limited to 'public/tracy/TracyC.h')
-rw-r--r--public/tracy/TracyC.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/public/tracy/TracyC.h b/public/tracy/TracyC.h
index 6268f9e9..9171abf1 100644
--- a/public/tracy/TracyC.h
+++ b/public/tracy/TracyC.h
@@ -47,6 +47,8 @@ typedef const void* TracyCZoneCtx;
#define TracyCFrameImage(x,y,z,w,a)
#define TracyCPlot(x,y)
+#define TracyCPlotF(x,y)
+#define TracyCPlotI(x,y)
#define TracyCMessage(x,y)
#define TracyCMessageL(x)
#define TracyCMessageC(x,y,z)
@@ -274,9 +276,13 @@ TRACY_API void ___tracy_emit_frame_image( const void* image, uint16_t w, uint16_
TRACY_API void ___tracy_emit_plot( const char* name, double val );
+TRACY_API void ___tracy_emit_plot_float( const char* name, float val );
+TRACY_API void ___tracy_emit_plot_int( const char* name, int64_t val );
TRACY_API void ___tracy_emit_message_appinfo( const char* txt, size_t size );
#define TracyCPlot( name, val ) ___tracy_emit_plot( name, val );
+#define TracyCPlotF( name, val ) ___tracy_emit_plot_float( name, val );
+#define TracyCPlotI( name, val ) ___tracy_emit_plot_int( name, val );
#define TracyCAppInfo( txt, size ) ___tracy_emit_message_appinfo( txt, size );