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

#include <infix_internals.h>

Collaboration diagram for code_buffer:
[legend]

Public Attributes

uint8_tcode
 The buffer holding the machine code.
 
size_t capacity
 The allocated capacity of the buffer.
 
size_t size
 The current number of bytes written to the buffer.
 
bool error
 A flag that is set if a memory allocation fails.
 
infix_arena_tarena
 The arena to use for allocations.
 

Member Data Documentation

◆ arena

infix_arena_t* code_buffer::arena

The arena to use for allocations.

◆ capacity

size_t code_buffer::capacity

The allocated capacity of the buffer.

◆ code

uint8_t* code_buffer::code

The buffer holding the machine code.

◆ error

bool code_buffer::error

A flag that is set if a memory allocation fails.

◆ size

size_t code_buffer::size

The current number of bytes written to the buffer.


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