Files
Aerofoil/AerofoilPortable/GpAllocator_C.h

18 lines
289 B
C
Raw Normal View History

2021-04-28 01:46:07 -04:00
#pragma once
#include "IGpAllocator.h"
class GpAllocator_C final : public IGpAllocator
2021-05-07 20:11:58 -04:00
{
public:
2021-04-28 01:46:07 -04:00
void *Realloc(void *buf, size_t newSize) override;
static GpAllocator_C *GetInstance();
private:
void *Alloc(size_t size);
void Free(void *ptr);
static GpAllocator_C ms_instance;
};