Ruby 4.1.0dev (2026-04-04 revision 3b6245536cf55da9e8bfcdb03c845fe9ef931d7f)
Data Fields
pm_constant_id_list_t Struct Reference

A list of constant IDs. More...

#include <constant_pool.h>

Data Fields

size_t size
 The number of constant ids in the list.
 
size_t capacity
 The number of constant ids that have been allocated in the list.
 
pm_constant_id_tids
 The constant ids in the list.
 

Detailed Description

A list of constant IDs.

Usually used to represent a set of locals.

Definition at line 30 of file constant_pool.h.

Field Documentation

◆ capacity

size_t pm_constant_id_list_t::capacity

The number of constant ids that have been allocated in the list.

Definition at line 35 of file constant_pool.h.

Referenced by pm_constant_id_list_init().

◆ ids

pm_constant_id_t* pm_constant_id_list_t::ids

The constant ids in the list.

Definition at line 38 of file constant_pool.h.

Referenced by pm_constant_id_list_init().

◆ size

size_t pm_constant_id_list_t::size

The number of constant ids in the list.

Definition at line 32 of file constant_pool.h.

Referenced by pm_constant_id_list_init().


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