Ruby 3.4.6p54 (2025-09-16 revision dbd83256b1cec76c69756ecb8758b9e1079833de)
pm_constant_pool_bucket_t Struct Reference

A bucket in the hash map. More...

#include <pm_constant_pool.h>

Data Fields

unsigned int id: 30
 The incremental ID used for indexing back into the pool.
pm_constant_pool_bucket_type_t type: 2
 The type of the bucket, which determines how to free it.
uint32_t hash
 The hash of the bucket.

Detailed Description

A bucket in the hash map.

Definition at line 113 of file pm_constant_pool.h.

Field Documentation

◆ hash

uint32_t pm_constant_pool_bucket_t::hash

The hash of the bucket.

Definition at line 121 of file pm_constant_pool.h.

◆ id

unsigned int pm_constant_pool_bucket_t::id

The incremental ID used for indexing back into the pool.

Definition at line 115 of file pm_constant_pool.h.

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

◆ type

pm_constant_pool_bucket_type_t pm_constant_pool_bucket_t::type

The type of the bucket, which determines how to free it.

Definition at line 118 of file pm_constant_pool.h.

Referenced by pm_constant_pool_free(), and pm_serialize_content().


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