Ruby: pm_constant_t Struct Reference

Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)

Data Fields
pm_constant_t Struct Reference

A constant in the pool which effectively stores a string. More...

`#include <pm_constant_pool.h>`

## Data Fields
const uint8_t * | start
| A pointer to the start of the string.
size_t | length
| The length of the string.

## Detailed Description

A constant in the pool which effectively stores a string.

Definition at line 125 of file pm_constant_pool.h.

## Field Documentation

## ◆ length

size_t pm_constant_t::length

The length of the string.

Definition at line 130 of file pm_constant_pool.h.

Referenced by pm_constant_pool_find(), and pm_serialize_content().

## ◆ start

const uint8_t* pm_constant_t::start

A pointer to the start of the string.

Definition at line 127 of file pm_constant_pool.h.

Referenced by pm_constant_pool_find(), pm_constant_pool_free(), and pm_serialize_content().

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

- prism/util/pm_constant_pool.h