mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +00:00
Make Callstack() static inline.
This commit is contained in:
parent
ca2cac9b99
commit
827900969f
@ -31,7 +31,7 @@ struct CallstackEntry
|
|||||||
void InitCallstack();
|
void InitCallstack();
|
||||||
CallstackEntry DecodeCallstackPtr( uint64_t ptr );
|
CallstackEntry DecodeCallstackPtr( uint64_t ptr );
|
||||||
|
|
||||||
tracy_force_inline const char* Callstack()
|
static tracy_force_inline const char* Callstack()
|
||||||
{
|
{
|
||||||
enum { StackDepth = 24 };
|
enum { StackDepth = 24 };
|
||||||
static_assert( StackDepth <= 63, "Stack depth can't be greater than 63." );
|
static_assert( StackDepth <= 63, "Stack depth can't be greater than 63." );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user