OPmemory.h

Globals

  • OPint OPallocations
  • OPint OPdeallocations
  • OPallocator OPDEFAULT_ALLOCATOR

Functions

  • void* OPalloc ( OPuint bytes )
Platform independent means to dynamically allocate memory.
  • void* OPallocZero ( OPuint bytes )
Platform independent means to dynamically allocate memory and zero it out.
  • void* OPrealloc ( void* ptr, OPuint bytes )
Platform independent means to dynamically reallocate memory.
  • void OPfree ( void* ptr )
Platform independent means do deallocate dynamically
allocated memory. If a null pointer is passed no action
is taken.
  • void* OPsysAlloc ( OPuint bytes )
  • void OPsysFree ( void* ptr )