Ruby 3.4.3p32 (2025-04-14 revision d0b7e5b6a04bde21ca483d20a1546b28b401c2d4)
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: