diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-21 03:45:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-21 03:45:37 +0000 |
commit | 9009b471da52a3bdd1ca7194e84e24317e591879 (patch) | |
tree | 2293f84c38a16c15575564594b385505c8d15682 /gc.c | |
parent | ea850e3030dac8e054ba854ba8c4eea2a3c46f7d (diff) | |
download | ruby-9009b471da52a3bdd1ca7194e84e24317e591879.tar.gz |
* gc.c (rb_gc_enable, rb_gc_disable): should return Qtrue/Qfalse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -789,7 +789,7 @@ rb_gc_enable(void) int old = dont_gc; dont_gc = FALSE; - return old; + return old ? Qtrue : Qfalse; } /* @@ -811,7 +811,7 @@ rb_gc_disable(void) int old = dont_gc; dont_gc = TRUE; - return old; + return old ? Qtrue : Qfalse; } VALUE rb_mGC; |