ruby-changes:71984
From: Jemma <ko1@a...>
Date: Sat, 28 May 2022 05:45:58 +0900 (JST)
Subject: [ruby-changes:71984] 8a13a2e8d1 (master): RCLASS uses FLUSER bits 0 through 3
https://git.ruby-lang.org/ruby.git/commit/?id=8a13a2e8d1 From 8a13a2e8d1361bdab5d4bc1d75cf07b804a982c0 Mon Sep 17 00:00:00 2001 From: Jemma Issroff <jemmaissroff@g...> Date: Thu, 26 May 2022 15:36:41 -0400 Subject: RCLASS uses FLUSER bits 0 through 3 --- internal/class.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/class.h b/internal/class.h index be2f703fc8..70e671b2c2 100644 --- a/internal/class.h +++ b/internal/class.h @@ -122,10 +122,10 @@ typedef struct rb_classext_struct rb_classext_t; https://github.com/ruby/ruby/blob/trunk/internal/class.h#L122 #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); -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/