summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-07 03:10:46 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-07 03:10:46 +0000
commit9215d887997151743c6b606f195464bafdf3d628 (patch)
tree9f80ce1929f11a44bbdef7b7649315e7097b7ed2 /gc.c
parent700790ec3ba7278f290898355b43a9ee2574afe9 (diff)
parent7d110cc79c20df49f24936db409192a281046479 (diff)
add tag v1_8_6_267v1_8_6_267
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_6_267@17925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 7585f9fa89..be883583bb 100644
--- a/gc.c
+++ b/gc.c
@@ -373,6 +373,12 @@ add_heap()
}
#define RANY(o) ((RVALUE*)(o))
+int
+rb_during_gc()
+{
+ return during_gc;
+}
+
VALUE
rb_newobj()
{