From 85e32dd2212bc6e5bb2b48c5b6c94e048e84afeb Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 11 Jan 2002 09:18:54 +0000 Subject: * re.c (match_select): should propagate taintness. * hash.c (rb_hash_set_default): Hash#default= should return the new value. * string.c (rb_str_to_i): accepts optional base argument. [new] * numeric.c (rb_fix2str): should not handle negative fixnum values int32 via calling sprintf() directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'object.c') diff --git a/object.c b/object.c index 87f241f977..fc2bd23fef 100644 --- a/object.c +++ b/object.c @@ -6,7 +6,7 @@ $Date$ created at: Thu Jul 15 12:01:24 JST 1993 - Copyright (C) 1993-2001 Yukihiro Matsumoto + Copyright (C) 1993-2002 Yukihiro Matsumoto Copyright (C) 2000 Network Applied Communication Laboratory, Inc. Copyright (C) 2000 Information-technology Promotion Agency, Japan @@ -831,19 +831,12 @@ rb_obj_private_methods(obj) return rb_class_private_instance_methods(1, argv, CLASS_OF(obj)); } -struct arg_to { - VALUE val; - const char *s; - ID m; -}; - static VALUE convert_type(val, tname, method, raise) VALUE val; const char *tname, *method; int raise; { - struct arg_to arg1, arg2; ID m; m = rb_intern(method); -- cgit v1.2.3