Ruby 3.3.7p123 (2025-01-15 revision be31f993d7fa0219d85f7b3c694d454da4ecc10b)
pm_constant_id_list_t Struct Reference

A list of constant IDs. More...

#include <pm_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 29 of file pm_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 34 of file pm_constant_pool.h.

Referenced by pm_constant_id_list_append(), pm_constant_id_list_init(), and pm_constant_id_list_memsize().

◆ ids

pm_constant_id_t* pm_constant_id_list_t::ids

The constant ids in the list.

Definition at line 37 of file pm_constant_pool.h.

Referenced by pm_constant_id_list_append(), pm_constant_id_list_free(), pm_constant_id_list_includes(), and 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 31 of file pm_constant_pool.h.

Referenced by pm_constant_id_list_append(), pm_constant_id_list_includes(), and pm_constant_id_list_init().


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