summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-20 22:49:56 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-20 22:49:56 +0000
commit9467d7a02430cbe76368148fe8097d7d029e6def (patch)
tree809bc0df44376cf7d9143b6ad480f45ec5b2f250 /gc.c
parent67526f30909c255d164d5c14d944eeda77d8d92a (diff)
* complex.c: an instance method image has been removed and
uses "imag" instead of "image". * complex.c: two instance method re and im are removed. * rational.c: follows the above changes. * include/ruby/ruby.h: ditto. * gc.c: ditto. * lib/cmath.rb: ditto. * lib/mathn.rb: ditto. * lib/complex.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 5c6b0851e4..5a1d8723a8 100644
--- a/gc.c
+++ b/gc.c
@@ -1539,7 +1539,7 @@ gc_mark_children(rb_objspace_t *objspace, VALUE ptr, int lev)
case T_COMPLEX:
gc_mark(objspace, obj->as.complex.real, lev);
- gc_mark(objspace, obj->as.complex.image, lev);
+ gc_mark(objspace, obj->as.complex.imag, lev);
break;
case T_STRUCT: