Alloc (C-API)¶
-
struct
a0_alloc_t¶ Defines a strategy for allocating memory buffers.
Public Members
-
void *
user_data¶ User data to be passed as context to other a0_alloc_t methods.
-
void *
-
A0_STATIC_INLINE a0_err_t a0_alloc (a0_alloc_t alloc, size_t size, a0_buf_t *out) Perform allocation.
-
A0_STATIC_INLINE a0_err_t a0_dealloc (a0_alloc_t alloc, a0_buf_t buf) Perform deallocation.