mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* variable.c (rb_generic_ivar_memsize): typo fixed. a patch from
Kazuhiro NISHIYAMA. [ruby-dev:38700] * ext/objspace/objspace.c (memsize_of): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fc64028291
commit
e0d24f31ed
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
Mon Jun 22 23:24:22 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* variable.c (rb_generic_ivar_memsize): typo fixed. a patch from
|
||||
Kazuhiro NISHIYAMA. [ruby-dev:38700]
|
||||
|
||||
* ext/objspace/objspace.c (memsize_of): ditto.
|
||||
|
||||
Mon Jun 22 21:21:59 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* io.c: remove __CHECKER__ test.
|
||||
|
|
|
@ -34,7 +34,7 @@ size_t rb_ary_memsize(VALUE);
|
|||
size_t st_memsize(st_table *);
|
||||
size_t rb_io_memsize(rb_io_t *);
|
||||
size_t onig_memsize(regex_t *);
|
||||
size_t rb_geneic_ivar_memsize(VALUE);
|
||||
size_t rb_generic_ivar_memsize(VALUE);
|
||||
size_t rb_objspace_data_type_memsize(VALUE obj);
|
||||
|
||||
void rb_objspace_each_objects(
|
||||
|
@ -51,7 +51,7 @@ memsize_of(VALUE obj)
|
|||
}
|
||||
|
||||
if (FL_TEST(obj, FL_EXIVAR)) {
|
||||
size += rb_geneic_ivar_memsize(obj);
|
||||
size += rb_generic_ivar_memsize(obj);
|
||||
}
|
||||
|
||||
switch (BUILTIN_TYPE(obj)) {
|
||||
|
|
|
@ -920,7 +920,7 @@ rb_free_generic_ivar(VALUE obj)
|
|||
}
|
||||
|
||||
size_t
|
||||
rb_geneic_ivar_memsize(VALUE obj)
|
||||
rb_generic_ivar_memsize(VALUE obj)
|
||||
{
|
||||
st_data_t tbl;
|
||||
if (st_delete(generic_iv_tbl, &obj, &tbl))
|
||||
|
|
Loading…
Reference in a new issue