Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)
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: