|
Malloc | |
a function that works like malloc() in C |
|
Calloc | |
a function that works like calloc() in C |
|
Realloc | |
a function that works like realloc() in C |
|
Retain | |
a function that retains an immutable copy of memory |
|
Free | |
a function that relinguish ownership to a copy of memory. |
|
Delete | |
same as Free, except that it also calls the passed-in destructor, which will be called should the copy of memory is de-allocated as a result of the reliquishment. When the destructor is called, ptr and destructParam will be passed to the destructor as the first and the second arguments |
|
allocParam | |
argument that is passed to all memory management functions. It could be left NULL. |
|
freeAllocParam | |
destructor of allocParam. It could be left NULL. |