Expand description
Memory management callbacks for FFI operators
Provides arena-based memory allocation for FFI operators with fallback to system allocator.
Functionsยง
- clear_
current_ arena - Clear the current arena for this thread
- host_
alloc - Allocate memory from the current arena or system allocator
- host_
free - Free memory (no-op for arena memory, system free otherwise)
- host_
realloc - Reallocate memory (allocates new for arena, uses system realloc otherwise)
- set_
current_ arena - Set the current arena for this thread