Ruby: pm_constant_pool_bucket_t Struct Reference

Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)

Data Fields
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 97 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 105 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 99 of file pm_constant_pool.h.

Referenced by 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 102 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:

- prism/util/pm_constant_pool.h