7 #include "cAudioDefines.h" 22 virtual void*
Allocate(
size_t size,
const char* filename,
int line,
const char*
function) = 0;
27 virtual void Free(
void* pointer) = 0;
virtual void * Allocate(size_t size, const char *filename, int line, const char *function)=0
Allocates memory and returns a pointer to it.
virtual size_t getMaxAllocationSize()=0
Returns the largest possible single allocation that can be made.
Interface for a class that allocates and frees memory used by cAudio.
virtual void Free(void *pointer)=0
Frees memory previously allocated.
Main namespace for the entire cAudio library.