Add tracy_realloc() function.

This commit is contained in:
Bartosz Taudul 2020-10-22 22:24:32 +02:00
parent 4369224394
commit 01e5c289b7

View File

@ -28,6 +28,15 @@ static inline void tracy_free( void* ptr )
#endif
}
static inline void* tracy_realloc( void* ptr, size_t size )
{
#ifdef TRACY_ENABLE
return rprealloc( ptr, size );
#else
return realloc( ptr, size );
#endif
}
}
#endif