ruby-changes:29392
From: nobu <ko1@a...>
Date: Thu, 20 Jun 2013 01:01:45 +0900 (JST)
Subject: [ruby-changes:29392] nobu:r41444 (trunk): gc.c: gc_stress is a VALUE
nobu 2013-06-20 01:01:16 +0900 (Thu, 20 Jun 2013) New Revision: 41444 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41444 Log: gc.c: gc_stress is a VALUE * gc.c (ruby_initial_gc_stress_ptr): now gc_stress is a VALUE. Modified files: trunk/gc.c Index: gc.c =================================================================== --- gc.c (revision 41443) +++ gc.c (revision 41444) @@ -393,7 +393,7 @@ typedef struct rb_objspace { https://github.com/ruby/ruby/blob/trunk/gc.c#L393 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/