infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
infix_arena_t Struct Reference

#include <infix_internals.h>

Public Attributes

char * buffer
 The pointer to the large, pre-allocated memory block.
 
size_t capacity
 The total size of the buffer in bytes.
 
size_t current_offset
 The high-water mark; the offset of the next free byte.
 
bool error
 A sticky flag that is set if any allocation from this arena fails.
 

Member Data Documentation

◆ buffer

char* infix_arena_t::buffer

The pointer to the large, pre-allocated memory block.

◆ capacity

size_t infix_arena_t::capacity

The total size of the buffer in bytes.

◆ current_offset

size_t infix_arena_t::current_offset

The high-water mark; the offset of the next free byte.

◆ error

bool infix_arena_t::error

A sticky flag that is set if any allocation from this arena fails.


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