mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 14:54:34 +00:00
22 lines
264 B
C++
22 lines
264 B
C++
|
#ifndef __TRACYALLOC_HPP__
|
||
|
#define __TRACYALLOC_HPP__
|
||
|
|
||
|
#include "tracy_rpmalloc.hpp"
|
||
|
|
||
|
namespace tracy
|
||
|
{
|
||
|
|
||
|
static inline void* tracy_malloc( size_t size )
|
||
|
{
|
||
|
return rpmalloc( size );
|
||
|
}
|
||
|
|
||
|
static inline void tracy_free( void* ptr )
|
||
|
{
|
||
|
rpfree( ptr );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|