summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 3d901be..549304a 100644
--- a/gc.c
+++ b/gc.c
@@ -1425,6 +1425,15 @@ rb_gc_start()
}
void
+ruby_set_stack_size(size)
+ size_t *size;
+{
+#ifndef STACK_LEVEL_MAX
+ STACK_LEVEL_MAX = size;
+#endif
+}
+
+void
Init_stack(addr)
VALUE *addr;
{