Ruby 4.1.0dev (2026-08-15 revision d17a0d008310e36d1e16f9614c7ca01fe38cf3d6)
variable.h (d17a0d008310e36d1e16f9614c7ca01fe38cf3d6)
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