Ruby 4.1.0dev (2026-09-07 revision 11ce3778c6eacc10897729314e5ab3bed7830971)
variable.h (11ce3778c6eacc10897729314e5ab3bed7830971)
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
15VALUE rb_obj_fields(VALUE obj, ID field_name);
16
17static inline VALUE
18rb_obj_fields_no_ractor_check(VALUE obj)
19{
20 return rb_obj_fields(obj, 0);
21}
22
23void rb_free_rb_global_tbl(void);
24void rb_free_generic_fields_tbl_(void);
25
26#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