summaryrefslogtreecommitdiff
path: root/gc.h
diff options
context:
space:
mode:
author0x005c <52650857+0x005c@users.noreply.github.com>2020-01-08 20:40:08 +0900
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-01-23 00:11:03 +1300
commit461db352c22c0ffb5c0db295238f97f44168e6cc (patch)
tree9aca5ef263c3373c57ca4232dc82ddde05947303 /gc.h
parentc90fc55a1f4630aae862e2d409c933edea3a5d5d (diff)
Rename RUBY_MARK_NO_PIN_UNLESS_NULL to RUBY_MARK_MOVABLE_UNLESS_NULL
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2823
Diffstat (limited to 'gc.h')
-rw-r--r--gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.h b/gc.h
index 750d87819b..6568079c54 100644
--- a/gc.h
+++ b/gc.h
@@ -59,7 +59,7 @@ rb_gc_debug_body(const char *mode, const char *msg, int st, void *ptr)
#define RUBY_GC_INFO if(0)printf
#endif
-#define RUBY_MARK_NO_PIN_UNLESS_NULL(ptr) do { \
+#define RUBY_MARK_MOVABLE_UNLESS_NULL(ptr) do { \
VALUE markobj = (ptr); \
if (RTEST(markobj)) {rb_gc_mark_movable(markobj);} \
} while (0)