#include <stdlib.h>
Go to the source code of this file.
Typedefs | |
typedef void *(* | ipod_memory_alloc_func )(size_t size, void *userData) |
Callback to allocate memory. | |
typedef void *(* | ipod_memory_realloc_func )(void *p, size_t size, void *userData) |
Callback to reallocate memory. | |
typedef void(* | ipod_memory_free_func )(void *p, void *userData) |
Callback to free memory. | |
Functions | |
void | ipod_memory_set_funcs (ipod_memory_alloc_func alloc_func, ipod_memory_realloc_func realloc_func, ipod_memory_free_func free_func, void *userData) |
Set the memory callback functions. | |
void * | ipod_memory_alloc (size_t size) |
Allocate memory. | |
void * | ipod_memory_realloc (void *p, size_t size) |
Reallocate memory. | |
void | ipod_memory_free (void *p) |
Free memory. | |
void | ipod_memory_report (void) |
Print out some internal statistics. |
|
Callback to allocate memory.
|
|
Callback to free memory.
|
|
Callback to reallocate memory.
|
|
Allocate memory.
|
|
Free memory.
|
|
Reallocate memory.
|
|
Set the memory callback functions.
|