diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-30 07:24:11 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-30 07:24:11 +0000 |
commit | fcb582817a890aaa6e5a88f547f991c099cc6fc3 (patch) | |
tree | 8200aa130e51f925cb5904dc344e5fbb853ad911 /marshal.c | |
parent | 153de91b876aa7faadd13e896e90389b0eee4c82 (diff) | |
download | ruby-fcb582817a890aaa6e5a88f547f991c099cc6fc3.tar.gz ruby-fcb582817a890aaa6e5a88f547f991c099cc6fc3.tar.xz ruby-fcb582817a890aaa6e5a88f547f991c099cc6fc3.zip |
* marshal.c (w_object): marshal_dump should not take any
argument.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r-- | marshal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -483,7 +483,7 @@ w_object(obj, arg, limit) if (rb_respond_to(obj, s_mdump)) { VALUE v; - v = rb_funcall(obj, s_mdump, 1, INT2NUM(limit)); + v = rb_funcall(obj, s_mdump, 0, 0); w_class(TYPE_USRMARSHAL, obj, arg); w_object(v, arg, limit); if (ivtbl) w_ivar(ivtbl, &c_arg); |