зеркало из https://github.com/github/ruby.git
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:
Родитель
ad3d4e87d7
Коммит
d7bb7e70cc
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.
|
||||
*/
|
||||
enum {RMODULE_ALLOCATED_BUT_NOT_INITIALIZED = RUBY_FL_USER5};
|
||||
enum {RMODULE_ALLOCATED_BUT_NOT_INITIALIZED = RUBY_FL_USER1};
|
||||
|
||||
static inline bool
|
||||
RMODULE_UNINITIALIZED(VALUE module)
|
||||
|
|
Загрузка…
Ссылка в новой задаче