mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Add tracy_realloc() function.
This commit is contained in:
parent
4369224394
commit
01e5c289b7
@ -28,6 +28,15 @@ static inline void tracy_free( void* ptr )
|
|||||||
#endif
|
#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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user