7 #include "IMemoryProvider.h"
16 virtual void*
Allocate(
size_t size,
const char* filename,
int line,
const char*
function);
17 virtual void Free(
void* pointer);
virtual void Free(void *pointer)
Frees memory previously allocated.
virtual size_t getMaxAllocationSize()
Returns the largest possible single allocation that can be made.
Interface for a class that allocates and frees memory used by cAudio.
virtual void * Allocate(size_t size, const char *filename, int line, const char *function)
Allocates memory and returns a pointer to it.
Memory provider that wraps the standard memalloc and free.