From c0dba956d1bd798d2ce614dbc8573ab10bb44990 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 20 May 2014 08:28:33 +0000 Subject: id.def: predefine to_i * defs/id.def: predefine `to_i` as well as `to_int`. * numeric.c (id_to_i): use predefined `idTo_i`. * object.c (conv_method_names): add `to_i` ID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 1 + 1 file changed, 1 insertion(+) (limited to 'object.c') diff --git a/object.c b/object.c index 4f360a7906..582e2e2121 100644 --- a/object.c +++ b/object.c @@ -2559,6 +2559,7 @@ static const struct conv_method_tbl { M(io), M(a), M(s), + M(i), #undef M }; #define IMPLICIT_CONVERSIONS 7 -- cgit v1.2.3