aboutsummaryrefslogtreecommitdiffstats
path: root/inits.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-01 08:53:44 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-01 08:53:44 +0000
commitc39797e8724683e91618168bd993ac467b81eda8 (patch)
tree25bfba803716b7301a047bc579788bd8998cc29d /inits.c
parentdcd0346265bfd346133e75c701b97fcb31c0ae6d (diff)
downloadruby-c39797e8724683e91618168bd993ac467b81eda8.tar.gz
introduce USE_TRANSIENT_HEAP to enable/disable theap.
* include/ruby/ruby.h: intrdocue `USE_TRANSIENT_HEAP` macro to enable/disable transient heap. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'inits.c')
-rw-r--r--inits.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/inits.c b/inits.c
index 7eb543104f..4da033b1bb 100644
--- a/inits.c
+++ b/inits.c
@@ -16,7 +16,9 @@
void
rb_call_inits(void)
{
+#if USE_TRANSIENT_HEAP
CALL(TransientHeap);
+#endif
CALL(Method);
CALL(RandomSeedCore);
CALL(sym);