1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Change group hint from unsigned to signed.

This commit is contained in:
Bartosz Taudul 2024-08-03 19:40:11 +02:00
parent 70a468e160
commit beb42a3d29
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ TRACY_API void SetThreadName( const char* name )
SetThreadNameWithHint( name, 0 ); SetThreadNameWithHint( name, 0 );
} }
TRACY_API void SetThreadNameWithHint( const char* name, uint32_t groupHint ) TRACY_API void SetThreadNameWithHint( const char* name, int32_t groupHint )
{ {
#if defined _WIN32 #if defined _WIN32
# ifdef TRACY_UWP # ifdef TRACY_UWP

View File

@ -17,7 +17,7 @@ TRACY_API uint32_t GetThreadHandleImpl();
struct ThreadNameData struct ThreadNameData
{ {
uint32_t id; uint32_t id;
uint32_t groupHint; int32_t groupHint;
const char* name; const char* name;
ThreadNameData* next; ThreadNameData* next;
}; };
@ -33,7 +33,7 @@ static inline uint32_t GetThreadHandle()
#endif #endif
TRACY_API void SetThreadName( const char* name ); TRACY_API void SetThreadName( const char* name );
TRACY_API void SetThreadNameWithHint( const char* name, uint32_t groupHint ); TRACY_API void SetThreadNameWithHint( const char* name, int32_t groupHint );
TRACY_API const char* GetThreadName( uint32_t id ); TRACY_API const char* GetThreadName( uint32_t id );
TRACY_API const char* GetEnvVar( const char* name ); TRACY_API const char* GetEnvVar( const char* name );