Ruby: st_hash_type Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
st_hash_type Struct Reference

`#include <st.h>`

## Data Fields
int(* | compare )(st_data_t, st_data_t)
st_index_t(* | hash )(st_data_t)

## Detailed Description

Definition at line 61 of file st.h.

## Field Documentation

## ◆ compare

int(* st_hash_type::compare) (st_data_t, st_data_t)

Definition at line 62 of file st.h.

Referenced by rb_hash_assoc().

## ◆ hash

st_index_t(* st_hash_type::hash) (st_data_t)

Definition at line 63 of file st.h.

Referenced by rb_hash_add_new_element(), rb_hash_assoc(), rb_hash_bulk_insert(), rb_hash_compare_by_id_p(), rb_hash_rassoc(), and rb_ident_hash_new().

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

- include/ruby/st.h