Skip to content

Commit

Permalink
Merge pull request #191 from benvanik/patch-2
Browse files Browse the repository at this point in the history
Add missing declarations for the _named variants of memory alloc/free.
  • Loading branch information
wolfpld authored Mar 31, 2021
2 parents 8ddf26f + b7e1fec commit e35d021
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions TracyC.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ TRACY_API void ___tracy_emit_memory_alloc( const void* ptr, size_t size, int sec
TRACY_API void ___tracy_emit_memory_alloc_callstack( const void* ptr, size_t size, int depth, int secure );
TRACY_API void ___tracy_emit_memory_free( const void* ptr, int secure );
TRACY_API void ___tracy_emit_memory_free_callstack( const void* ptr, int depth, int secure );
TRACY_API void ___tracy_emit_memory_alloc_named( const void* ptr, size_t size, int secure, const char* name );
TRACY_API void ___tracy_emit_memory_alloc_callstack_named( const void* ptr, size_t size, int depth, int secure, const char* name );
TRACY_API void ___tracy_emit_memory_free_named( const void* ptr, int secure, const char* name );
TRACY_API void ___tracy_emit_memory_free_callstack_named( const void* ptr, int depth, int secure, const char* name );

TRACY_API void ___tracy_emit_message( const char* txt, size_t size, int callstack );
TRACY_API void ___tracy_emit_messageL( const char* txt, int callstack );
Expand Down

0 comments on commit e35d021

Please sign in to comment.