Change RMODULE_ALLOCATED_BUT_NOT_INITIALIZED
RCLASS_CLONED no longer uses FL_USER1, so we can make RMODULE_ALLOCATED_BUT_NOT_INITIALIZED use FL_USER1.
This commit is contained in:
parent
ad3d4e87d7
commit
d7bb7e70cc
Notes:
git
2023-04-16 15:07:04 +00:00
2
class.c
2
class.c
@ -465,7 +465,7 @@ static bool ensure_origin(VALUE klass);
|
|||||||
/**
|
/**
|
||||||
* If this flag is set, that module is allocated but not initialized yet.
|
* If this flag is set, that module is allocated but not initialized yet.
|
||||||
*/
|
*/
|
||||||
enum {RMODULE_ALLOCATED_BUT_NOT_INITIALIZED = RUBY_FL_USER5};
|
enum {RMODULE_ALLOCATED_BUT_NOT_INITIALIZED = RUBY_FL_USER1};
|
||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
RMODULE_UNINITIALIZED(VALUE module)
|
RMODULE_UNINITIALIZED(VALUE module)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user