Ruby: variable.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

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#if !SHAPE_IN_BASIC_FLAGS
15 uint16_t shape_id;
16#endif
17 uint32_t numiv;
18 VALUE ivptr[FLEX_ARY_LEN];
19};
20
21int rb_ivar_generic_ivtbl_lookup(VALUE obj, struct gen_ivtbl **);
22
23#include "shape.h"
24#if !SHAPE_IN_BASIC_FLAGS
25shape_id_t rb_generic_shape_id(VALUE obj);
26#endif
27
28
29#endif /* RUBY_TOPLEVEL_VARIABLE_H */
gen_ivtbl
Definition variable.h:13
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40