Ruby: pm_constant_t Struct Reference

Ruby 3.4.6p54 (2025-09-16 revision dbd83256b1cec76c69756ecb8758b9e1079833de)

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