Prism Ruby parser
Loading...
Searching...
No Matches
Data Fields
pm_arena_block Struct Reference

A single block of memory in the arena. More...

#include <pm_arena.h>

Collaboration diagram for pm_arena_block:
Collaboration graph
[legend]

Data Fields

struct pm_arena_blockprev
 The previous block in the chain (for freeing).
 
size_t capacity
 The total usable bytes in data[].
 
size_t used
 The number of bytes consumed so far.
 
char data [PM_FLEX_ARY_LEN]
 The block's data.
 

Detailed Description

A single block of memory in the arena.

Blocks are linked via prev pointers so they can be freed by walking the chain.


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