![]() |
Contiki-NG
|
Header file for the dynamic heap memory allocator. More...
Go to the source code of this file.
Macros | |
| #define | HEAPMEM_ZONE_DEFINE(varname, bufsize) |
| Define a zone with its own static memory buffer. | |
Functions | |
| void * | heapmem_zone_alloc (heapmem_zone_t *zone, size_t size) |
| Allocate a chunk of memory in the specified zone. | |
| bool | heapmem_zone_free (heapmem_zone_t *zone, void *ptr) |
| Deallocate a chunk of memory in the specified zone. | |
| void * | heapmem_zone_realloc (heapmem_zone_t *zone, void *ptr, size_t size) |
| Reallocate a chunk of memory in the specified zone. | |
| void * | heapmem_zone_calloc (heapmem_zone_t *zone, size_t nmemb, size_t size) |
| Allocate memory for a zero-initialized array in the specified zone. | |
| void | heapmem_zone_stats (heapmem_zone_t *zone, heapmem_stats_t *stats) |
| Obtain internal statistics for a heapmem zone. | |
| void | heapmem_zone_print_debug_info (heapmem_zone_t *zone, bool print_chunks) |
| Print debugging information for a heapmem zone. | |
Header file for the dynamic heap memory allocator.
Definition in file heapmem.h.