Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)
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: