Ruby 4.1.0dev (2026-08-15 revision 3349f4107d268658fdf8cc6b979fbb1c923e597f)
objspace.h
1#ifndef INTERNAL_OBJSPACE_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_OBJSPACE_H
12RUBY_SYMBOL_EXPORT_BEGIN
13
14/* from intern/class.h */
16RUBY_EXTERN VALUE rb_class_singleton_p(VALUE klass);
17RUBY_EXTERN unsigned char rb_class_variation_count(VALUE klass);
18
19/* from vm_sync.h */
20RUBY_EXTERN VALUE rb_vm_lock_with_barrier(VALUE (*func)(void *args), void *args);
21
22RUBY_SYMBOL_EXPORT_END
23
24#endif /* INTERNAL_OBJSPACE_H */
#define RUBY_EXTERN
Declaration of externally visible global variables.
Definition dllexport.h:45
VALUE rb_class_super_of(VALUE klass)
Internal header for Objspace.
Definition class.c:455
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40