diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-04-14 16:26:46 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-04-16 11:06:31 -0400 |
commit | d7bb7e70cc954925d896a4185d9eb28cee2c2b6f (patch) | |
tree | 55f8c2f8144f8b07f07001f12297e3909b60d7af /class.c | |
parent | ad3d4e87d7e20c7e7ff2836567a44bb29368f3ec (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7719
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |