Ruby 4.1.0dev (2026-05-17 revision 716be73e1cde5a6456d348987d37da74bbee2c36)
variable.h (716be73e1cde5a6456d348987d37da74bbee2c36)
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