mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
20000105
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a1d1b15167
commit
de71615260
69 changed files with 1873 additions and 1103 deletions
6
object.c
6
object.c
|
@ -6,7 +6,7 @@
|
|||
$Date$
|
||||
created at: Thu Jul 15 12:01:24 JST 1993
|
||||
|
||||
Copyright (C) 1993-1999 Yukihiro Matsumoto
|
||||
Copyright (C) 1993-2000 Yukihiro Matsumoto
|
||||
|
||||
************************************************/
|
||||
|
||||
|
@ -801,7 +801,7 @@ rb_Integer(val)
|
|||
return val;
|
||||
|
||||
case T_STRING:
|
||||
return rb_str2inum(RSTRING(val)->ptr, 0);
|
||||
return rb_str2inum(val, 0);
|
||||
|
||||
case T_NIL:
|
||||
return INT2FIX(0);
|
||||
|
@ -827,8 +827,6 @@ rb_f_integer(obj, arg)
|
|||
return rb_Integer(arg);
|
||||
}
|
||||
|
||||
double rb_big2dbl _((VALUE));
|
||||
|
||||
VALUE
|
||||
rb_Float(val)
|
||||
VALUE val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue