From b7e1fec37f168ca0d7b3ad243b7d48312a66b7eb Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Wed, 31 Mar 2021 14:30:31 -0700 Subject: [PATCH] Add missing declarations for the _named variants of memory alloc/free. --- TracyC.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TracyC.h b/TracyC.h index 396d6ebee1..3e0c3f69a3 100644 --- a/TracyC.h +++ b/TracyC.h @@ -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 );