Go to the source code of this file.
|
struct rb_id_table * | rb_id_table_create (size_t size) |
|
void | rb_id_table_free (struct rb_id_table *tbl) |
|
void | rb_id_table_clear (struct rb_id_table *tbl) |
|
size_t | rb_id_table_size (const struct rb_id_table *tbl) |
|
size_t | rb_id_table_memsize (const struct rb_id_table *tbl) |
|
int | rb_id_table_insert (struct rb_id_table *tbl, ID id, VALUE val) |
|
int | rb_id_table_lookup (struct rb_id_table *tbl, ID id, VALUE *valp) |
|
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) |
|
enum rb_id_table_iterator_result | rb_id_table_foreach_values_func_t (VALUE val, void *data) |
|
void | rb_id_table_foreach (struct rb_id_table *tbl, rb_id_table_foreach_func_t *func, void *data) |
|
void | rb_id_table_foreach_values (struct rb_id_table *tbl, rb_id_table_foreach_values_func_t *func, void *data) |
|
◆ rb_id_table_iterator_result
Enumerator |
---|
ID_TABLE_CONTINUE | |
ID_TABLE_STOP | |
ID_TABLE_DELETE | |
ID_TABLE_ITERATOR_RESULT_END | |
Definition at line 8 of file id_table.h.
◆ rb_id_table_clear()
void rb_id_table_clear |
( |
struct rb_id_table * |
tbl | ) |
|
◆ rb_id_table_create()
struct rb_id_table* rb_id_table_create |
( |
size_t |
size | ) |
|
◆ rb_id_table_delete()
int rb_id_table_delete |
( |
struct rb_id_table * |
tbl, |
|
|
ID |
id |
|
) |
| |
◆ rb_id_table_foreach()
Referenced by class_instance_method_list(), fc_i(), find_class_path(), include_modules_at(), rb_f_global_variables(), rb_local_constants(), rb_mod_const_at(), rb_mod_init_copy(), rb_obj_singleton_methods(), rb_prepend_module(), rb_singleton_class_clone_and_attach(), rb_undef_methods_from(), and rb_vm_check_redefinition_by_prepend().
◆ rb_id_table_foreach_func_t()
◆ rb_id_table_foreach_values()
◆ rb_id_table_foreach_values_func_t()
◆ rb_id_table_free()
void rb_id_table_free |
( |
struct rb_id_table * |
tbl | ) |
|
◆ rb_id_table_insert()
int rb_id_table_insert |
( |
struct rb_id_table * |
tbl, |
|
|
ID |
id, |
|
|
VALUE |
val |
|
) |
| |
◆ rb_id_table_lookup()
int rb_id_table_lookup |
( |
struct rb_id_table * |
tbl, |
|
|
ID |
id, |
|
|
VALUE * |
valp |
|
) |
| |
◆ rb_id_table_memsize()
size_t rb_id_table_memsize |
( |
const struct rb_id_table * |
tbl | ) |
|
◆ rb_id_table_size()
size_t rb_id_table_size |
( |
const struct rb_id_table * |
tbl | ) |
|