Ruby  3.1.4p223 (2023-03-30 revision HEAD)
variable.h
1 #ifndef RUBY_TOPLEVEL_VARIABLE_H /*-*-C-*-vi:se ft=c:*/
2 #define RUBY_TOPLEVEL_VARIABLE_H
11 /* per-object */
12 
13 struct gen_ivtbl {
14  uint32_t numiv;
15  VALUE ivptr[FLEX_ARY_LEN];
16 };
17 
18 int rb_ivar_generic_ivtbl_lookup(VALUE obj, struct gen_ivtbl **);
19 VALUE rb_ivar_generic_lookup_with_index(VALUE obj, ID id, uint32_t index);
20 
21 #endif /* RUBY_TOPLEVEL_VARIABLE_H */
uintptr_t ID
Type that represents a Ruby identifier such as a variable name.
Definition: value.h:52
uintptr_t VALUE
Type that represents a Ruby object.
Definition: value.h:40