mirror of
https://github.com/wolfpld/tracy
synced 2026-02-09 11:42:44 +00:00
add set thread to c api
This commit is contained in:
@@ -237,3 +237,13 @@ TRACY_API const char* GetThreadName( uint64_t id )
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
TRACY_API void ___tracy_set_thread_name( const char* name ) { tracy::SetThreadName( name ); }
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user