diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:11:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:11:35 +0000 |
commit | b46cd0e400ff278897908479acc9163419341b07 (patch) | |
tree | daab782e1f5e1f849b34fd1c11bd825c860f4c1a /iseq.c | |
parent | 85cc4ff62a95500ee748f9d5d987a0003d43b4e5 (diff) | |
download | ruby-b46cd0e400ff278897908479acc9163419341b07.tar.gz |
* include/ruby/ruby.h (rb_data_type_struct): constified dsize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -116,10 +116,10 @@ iseq_mark(void *ptr) } static size_t -iseq_memsize(void *ptr) +iseq_memsize(const void *ptr) { size_t size = sizeof(rb_iseq_t); - rb_iseq_t *iseq; + const rb_iseq_t *iseq; if (ptr) { iseq = ptr; |