summaryrefslogtreecommitdiff
path: root/internal/class.h
diff options
context:
space:
mode:
-rw-r--r--internal/class.h39
1 files changed, 39 insertions, 0 deletions
@@ -19,6 +19,7 @@
#include "shape.h"
#include "ruby_assert.h"
#include "vm_core.h"
#include "method.h" /* for rb_cref_t */
#ifdef RCLASS_SUPER
@@ -111,6 +112,44 @@ struct RClass_and_rb_classext_t {
#define RCLASS_SUPERCLASSES_INCLUDE_SELF FL_USER2
#define RICLASS_ORIGIN_SHARED_MTBL FL_USER3
/* class.c */
void rb_class_subclass_add(VALUE super, VALUE klass);
void rb_class_remove_from_super_subclasses(VALUE);