Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
loomc_allocator_t Struct Reference

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.

Detailed Description

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.


The documentation for this struct was generated from the following file: