1 #ifndef RBIMPL_RCLASS_H
2 #define RBIMPL_RCLASS_H
26 #include "ruby/internal/cast.h"
29 #define RMODULE_IS_REFINEMENT RMODULE_IS_REFINEMENT
38 #define RCLASS(obj) RBIMPL_CAST((struct RClass *)(obj))
41 #define RMODULE RCLASS
44 #define RCLASS_SUPER rb_class_get_superclass
55 enum ruby_rmodule_flags {
Tweaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
@ RUBY_FL_USER3
User-defined flag.
VALUE rb_class_get_superclass(VALUE klass)
Returns the superclass of a class.
uintptr_t VALUE
Type that represents a Ruby object.