|
r8brain-free-src
High-quality pro audio sample rate converter library
|
The default base class for objects that allocate blocks of memory. More...
#include <r8bbase.h>
Static Public Member Functions | |
| static void * | allocmem (const size_t Size) |
| static void | freemem (void *const p) |
| static void * | reallocmem (void *const p, const size_t Size) |
Additional Inherited Members | |
Public Member Functions inherited from r8b::CStdClassAllocator | |
| void | operator delete (void *const p) |
| void | operator delete[] (void *const p) |
| void * | operator new (const size_t n) |
| void * | operator new (const size_t, void *const p) |
| void * | operator new[] (const size_t n) |
The default base class for objects that allocate blocks of memory.
Memory buffer allocator that uses "stdlib" standard memory functions.
|
static |
Function allocates memory block.
| Size | The size of the block, in bytes. |
|
static |
Function frees a previously allocated memory block.
| p | Pointer to the allocated block, can be NULL. |
|
static |
Function reallocates a previously allocated memory block.
| p | Pointer to the allocated block, can be NULL. |
| Size | The new size of the block, in bytes. |