|
Loom C API
Public Loom compiler C API
|
Host allocator used for persistent Loom object storage. More...
#include <base.h>
Data Fields | |
| void * | self |
| Callback-owned state pointer. | |
| loomc_allocator_ctl_fn_t | ctl |
| Callback implementing allocation commands. | |
Host allocator used for persistent Loom object storage.
APIs that take an allocator require ctl to be non-NULL. Callers that want the process heap must pass loomc_allocator_system() explicitly.