Ruby 4.1.0dev (2026-11-18 revision e5e6cd45db456b2a4d368f2a34598641319df630)
pm_constant_id_list_t Struct Reference

A list of constant IDs. More...

#include <constant_pool.h>

Data Fields

uint32_t size
 The number of constant ids in the list.
pm_constant_id_t * ids
 The constant ids in the list.

Detailed Description

A list of constant IDs.

Usually used to represent a set of locals.

Definition at line 51 of file constant_pool.h.

Field Documentation

◆ ids

pm_constant_id_t* pm_constant_id_list_t::ids

The constant ids in the list.

Definition at line 60 of file constant_pool.h.

◆ size

uint32_t pm_constant_id_list_t::size

The number of constant ids in the list.

Source offsets are 32 bits, so the source is less than 4 GiB, and a list built from it stays far below what this can count.

Definition at line 57 of file constant_pool.h.


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