Ruby 4.1.0dev (2026-10-21 revision 536dc6f98b72e6999a84bb6373562c43cb1ddf8a)
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 126 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 134 of file serialize.c.

◆ entries

pm_serialize_entry_t* pm_serialize_stack_t::entries

The entries on the stack.

Definition at line 128 of file serialize.c.

◆ size

size_t pm_serialize_stack_t::size

The number of entries on the stack.

Definition at line 131 of file serialize.c.


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