Ruby 3.5.0dev (2025-08-17 revision ad047459c195d63190b2d6edee826573a74ed91e)
variable.h (ad047459c195d63190b2d6edee826573a74ed91e)
1#ifndef RUBY_TOPLEVEL_VARIABLE_H /*-*-C-*-vi:se ft=c:*/
2#define RUBY_TOPLEVEL_VARIABLE_H
11/* per-object */
12
13#include "shape.h"
14
15void rb_copy_complex_ivars(VALUE dest, VALUE obj, shape_id_t src_shape_id, st_table *fields_table);
16VALUE rb_obj_fields(VALUE obj, ID field_name);
17
18static inline VALUE
19rb_obj_fields_no_ractor_check(VALUE obj)
20{
21 return rb_obj_fields(obj, 0);
22}
23
24void rb_free_rb_global_tbl(void);
25void rb_free_generic_fields_tbl_(void);
26
27#endif /* RUBY_TOPLEVEL_VARIABLE_H */
Definition st.h:79
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