Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
Go to the documentation of this file. 1 #ifndef RUBY_ID_TABLE_H
2 #define RUBY_ID_TABLE_H 1
void rb_id_table_foreach_values(struct rb_id_table *tbl, rb_id_table_foreach_values_func_t *func, void *data)
enum rb_id_table_iterator_result rb_id_table_update_callback_func_t(ID *id, VALUE *val, void *data, int existing)
int rb_id_table_insert(struct rb_id_table *tbl, ID id, VALUE val)
void rb_id_table_foreach_with_replace(struct rb_id_table *tbl, rb_id_table_foreach_func_t *func, rb_id_table_update_callback_func_t *replace, void *data)
size_t rb_id_table_memsize(const struct rb_id_table *tbl)
rb_id_table_iterator_result
@ ID_TABLE_ITERATOR_RESULT_END
int rb_id_table_delete(struct rb_id_table *tbl, ID id)
enum rb_id_table_iterator_result rb_id_table_foreach_func_t(ID id, VALUE val, void *data)
int rb_id_table_lookup(struct rb_id_table *tbl, ID id, VALUE *valp)
void rb_id_table_clear(struct rb_id_table *tbl)
struct rb_id_table * rb_id_table_create(size_t size)
void rb_id_table_foreach(struct rb_id_table *tbl, rb_id_table_foreach_func_t *func, void *data)
void rb_id_table_free(struct rb_id_table *tbl)
size_t rb_id_table_size(const struct rb_id_table *tbl)
enum rb_id_table_iterator_result rb_id_table_foreach_values_func_t(VALUE val, void *data)