1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add SendString() with length parameter.

This commit is contained in:
Bartosz Taudul
2020-07-21 02:19:22 +02:00
parent 346e5a426f
commit e4fbf60668
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -480,7 +480,8 @@ public:
void RequestShutdown() { m_shutdown.store( true, std::memory_order_relaxed ); m_shutdownManual.store( true, std::memory_order_relaxed ); }
bool HasShutdownFinished() const { return m_shutdownFinished.load( std::memory_order_relaxed ); }
void SendString( uint64_t ptr, const char* str, QueueType type );
void SendString( uint64_t str, const char* ptr, QueueType type ) { SendString( str, ptr, strlen( ptr ), type ); }
void SendString( uint64_t str, const char* ptr, size_t len, QueueType type );
// Allocated source location data layout: