Ruby 3.3.2p78 (2024-05-30 revision e5a195edf62fe1bf7146a191da13fa1c4fecbd71)
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: