Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 437 Bytes
#ifndef MEMORY_H
#define MEMORY_H
#include <new>
#include "Heap.h"
namespace CGE
{
void* allocate(size_t inSize);
void* allocate(size_t inSize, Heap& inHeap);
void* reallocate(void* inMemory, size_t inSize, Heap& inHeap);
void release(void* inMemory);
size_t addReference(void* inMemory);
size_t removeReference(void* inMemory);
}
void* operator new(size_t inSize);
void operator delete(void* inData);
#endif
Jump to Line
Something went wrong with that request. Please try again.