tracy/client/TracyAlloc.hpp

22 lines
264 B
C++
Raw Normal View History

2017-10-14 14:52:05 +00:00
#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