Ruby 4.1.0dev (2026-09-07 revision 81495e113f3cba5b95e5a25392473c8240b91935)
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:456
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40