aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index c539b59ec0..3a71af2926 100644
--- a/gc.c
+++ b/gc.c
@@ -1525,6 +1525,12 @@ garbage_collect(void)
return Qtrue;
}
+int
+rb_garbage_collect(void)
+{
+ return garbage_collect();
+}
+
void
rb_gc_mark_machine_stack(rb_thread_t *th)
{