32#ifndef ARENA_TLSCRATCH_H
33#define ARENA_TLSCRATCH_H
Core public API for the Arena memory allocator.
Thread-local scratch arena interface for fast temporary allocations.
void destroy_thread_scratch_arena(void)
Destroy the thread-local scratch arena for the calling thread.
t_arena * get_thread_scratch_arena(void)
Get the thread-local scratch arena, resetting it before use.
t_arena * get_thread_scratch_arena_ref(void)
Access the raw thread-local arena pointer without initialization.
void set_thread_scratch_arena_size(size_t size)
Configure the initial size for the thread-local scratch arena.
The main memory arena structure used for fast allocation.