summaryrefslogtreecommitdiff
path: root/ext/objspace/objspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/objspace/objspace.c')
-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 0d4acfb53b6..d200e1736ca 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)) {