summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 14:25:04 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 14:25:04 +0000
commite0d24f31edddb51468cd34e0bb7891c7d5095af0 (patch)
tree59830259a838364deea4d17c33adb4f26827368b /ext/objspace
parentfc6402829157928e66019ebca577d51fecf8d179 (diff)
* 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
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/objspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index 0d4acfb..d200e17 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -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)) {