![]() |
PUMA Library Reference Manual
|
#include <Puma/Heap.h>
Inheritance diagram for Puma::Heap:Heap implementation using standard malloc and free.
Public Member Functions | |
| Heap () | |
| Constructor. | |
| ~Heap () | |
| Destructor. | |
| void * | malloc (size_t n) |
| Allocate n bytes of memory. | |
| void | free (void *p) |
| Free the given memory. | |
|
inline |
Constructor.
|
inline |
Destructor.
|
inline |
Free the given memory.
| p | A pointer to the memory to free. |
|
inline |
Allocate n bytes of memory.
| n | The number of bytes to allocate. |