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

Add RCLASS_ALLOCATOR Macro

This commit is contained in:
Matt Valentine-House 2021-01-26 16:29:09 +00:00 committed by Aaron Patterson
parent 6edd425674
commit 7341b01465
Notes: git 2021-02-02 01:43:31 +09:00
3 changed files with 7 additions and 6 deletions

View file

@ -94,6 +94,7 @@ typedef struct rb_classext_struct rb_classext_t;
#define RCLASS_INCLUDER(c) (RCLASS_EXT(c)->includer)
#define RCLASS_PARENT_SUBCLASSES(c) (RCLASS_EXT(c)->parent_subclasses)
#define RCLASS_MODULE_SUBCLASSES(c) (RCLASS_EXT(c)->module_subclasses)
#define RCLASS_ALLOCATOR(c) (RCLASS_EXT(c)->allocator)
#define RICLASS_IS_ORIGIN FL_USER5
#define RCLASS_CLONED FL_USER6