Home | Download | Musics | Developers | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Dynamic memory buffers |
Files | |
file | alloc68.h |
dynamic memory header. | |
Typedefs | |
typedef void *(* | sc68_alloc_t )(unsigned int) |
Alloc function (malloc). | |
typedef void(* | sc68_free_t )(void *) |
Free function (free). | |
Functions | |
void * | SC68alloc (unsigned int n) |
Allocate dynamic memory. | |
void * | SC68calloc (unsigned int n) |
Allocate and clean dynamic memory. | |
void | SC68free (void *data) |
Free dynamic memory. | |
sc68_alloc_t | SC68set_alloc (sc68_alloc_t alloc) |
Set/get dynamic memory allocation handler. | |
sc68_free_t | SC68set_free (sc68_free_t free) |
Set/get dynamic memory free handler. |
|
Allocate dynamic memory. The SC68alloc() function calls user defined dynamic memory allocation handler.
|
|
Allocate and clean dynamic memory. The SC68calloc() function calls user defined dynamic memory allocation handler and fills memory buffer with 0.
|
|
Free dynamic memory. The SC68free() function calls user defined dynamic memory free handler.
|
|
Set/get dynamic memory allocation handler.
|
|
Set/get dynamic memory free handler.
|