SC68 memory allocation handler module provides function to allocate and free memory buffer.
Go to the source code of this file.
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 | 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.
|
|
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.
|