Ruby 4.1.0dev (2026-11-10 revision 09658e85dc51184db6df11e142dc3eeabfdbdcd0)
Data Fields
pm_serialize_stack_t Struct Reference

The explicit stack used to walk the tree, so that serializing deeply nested trees does not depend on the size of the C stack. More...

Data Fields

pm_serialize_entry_t * entries
 The entries on the stack.
 
size_t size
 The number of entries on the stack.
 
size_t capacity
 The number of entries that fit in the allocated memory.
 

Detailed Description

The explicit stack used to walk the tree, so that serializing deeply nested trees does not depend on the size of the C stack.

Definition at line 125 of file serialize.c.

Field Documentation

◆ capacity

size_t pm_serialize_stack_t::capacity

The number of entries that fit in the allocated memory.

Definition at line 133 of file serialize.c.

◆ entries

pm_serialize_entry_t* pm_serialize_stack_t::entries

The entries on the stack.

Definition at line 127 of file serialize.c.

◆ size

size_t pm_serialize_stack_t::size

The number of entries on the stack.

Definition at line 130 of file serialize.c.


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