|
PebbleOS v4.47.0-160-g9e782207f
|
#include <stddef.h>Data Structures | |
| struct | pbl_scratch_stats |
| Usage of the scratch heap. More... | |
Functions | |
| void * | pbl_scratch_malloc (size_t size) |
| Allocate from the scratch heap. | |
| void * | pbl_scratch_zalloc (size_t size) |
| Allocate zeroed memory from the scratch heap. | |
| void * | pbl_scratch_zalloc_check (size_t size) |
| Allocate zeroed memory from the scratch heap, asserting on failure. | |
| void | pbl_scratch_free (void *ptr) |
| Free memory allocated from the scratch heap. | |
| void | pbl_scratch_get_stats (struct pbl_scratch_stats *stats) |
| Get the usage of the scratch heap. | |