1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/ruby.h (rb_data_type_struct): constified dsize.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-09 02:22:08 +00:00
parent b46cd0e400
commit cd4fc5be39

4
cont.c
View file

@ -128,7 +128,7 @@ cont_free(void *ptr)
}
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 @@ fiber_free(void *ptr)
}
static size_t
fiber_memsize(void *ptr)
fiber_memsize(const void *ptr)
{
rb_fiber_t *fib = ptr;
size_t size = 0;