Introduce MRB_GC_RED

Replaces the magic number `7` except in `src/gc.c`.
This commit is contained in:
dearblue
2021-04-24 10:31:21 +09:00
parent 39dc7b7901
commit 94c5c8f44c
7 changed files with 12 additions and 9 deletions
+2
View File
@@ -87,6 +87,8 @@ typedef struct mrb_gc {
MRB_API mrb_bool
mrb_object_dead_p(struct mrb_state *mrb, struct RBasic *object);
#define MRB_GC_RED 7
MRB_END_DECL
#endif /* MRUBY_GC_H */