diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 16:01:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 16:01:16 +0000 |
commit | 67edbe19eee5b0391d05900b3b1ef741ec6ea19f (patch) | |
tree | eed42bf609a9572d6cbba0fc99b5283d91ef870a /gc.c | |
parent | 19a50877e676884a369d002ef94caee57f2f55df (diff) | |
download | ruby-67edbe19eee5b0391d05900b3b1ef741ec6ea19f.tar.gz |
gc.c: gc_stress is a VALUE
* gc.c (ruby_initial_gc_stress_ptr): now gc_stress is a VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -393,7 +393,7 @@ typedef struct rb_objspace { VALUE *ruby_initial_gc_stress_ptr = &ruby_initial_gc_stress; #else static rb_objspace_t rb_objspace = {{GC_MALLOC_LIMIT}}; -int *ruby_initial_gc_stress_ptr = &rb_objspace.gc_stress; +VALUE *ruby_initial_gc_stress_ptr = &rb_objspace.gc_stress; #endif #define malloc_limit objspace->malloc_params.limit #define malloc_increase objspace->malloc_params.increase |