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:
parent
b46cd0e400
commit
cd4fc5be39
1 changed files with 2 additions and 2 deletions
4
cont.c
4
cont.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue