ruby-changes:13055
From: nobu <ko1@a...>
Date: Wed, 9 Sep 2009 11:22:54 +0900 (JST)
Subject: [ruby-changes:13055] Ruby:r24802 (trunk): * include/ruby/ruby.h (rb_data_type_struct): constified dsize.
nobu 2009-09-09 11:22:08 +0900 (Wed, 09 Sep 2009) New Revision: 24802 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24802 Log: * include/ruby/ruby.h (rb_data_type_struct): constified dsize. Modified files: trunk/cont.c Index: cont.c =================================================================== --- cont.c (revision 24801) +++ cont.c (revision 24802) @@ -128,7 +128,7 @@ } static size_t -cont_memsize(void *ptr) +cont_memsize(const void *ptr) { rb_context_t *cont = ptr; size_t size = 0; @@ -206,7 +206,7 @@ } static size_t -fiber_memsize(void *ptr) +fiber_memsize(const void *ptr) { rb_fiber_t *fib = ptr; size_t size = 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/