1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

RCLASS uses FLUSER bits 0 through 3

This commit is contained in:
Jemma Issroff 2022-05-26 15:36:41 -04:00 committed by Aaron Patterson
parent ac405dc214
commit 8a13a2e8d1
Notes: git 2022-05-28 05:46:05 +09:00

View file

@ -122,10 +122,10 @@ typedef struct rb_classext_struct rb_classext_t;
#define RCLASS_SUPERCLASS_DEPTH(c) (RCLASS_EXT(c)->superclass_depth)
#define RCLASS_SUPERCLASSES(c) (RCLASS_EXT(c)->superclasses)
#define RICLASS_IS_ORIGIN FL_USER5
#define RCLASS_CLONED FL_USER6
#define RCLASS_SUPERCLASSES_INCLUDE_SELF FL_USER7
#define RICLASS_ORIGIN_SHARED_MTBL FL_USER8
#define RICLASS_IS_ORIGIN FL_USER0
#define RCLASS_CLONED FL_USER1
#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);