mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
1.1b9_14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
089d61b424
commit
e429f1c584
16 changed files with 152 additions and 47 deletions
8
object.c
8
object.c
|
@ -743,14 +743,6 @@ rb_Integer(val)
|
|||
return f_integer(Qnil, val);
|
||||
}
|
||||
|
||||
int
|
||||
rb_obj2int(obj)
|
||||
VALUE obj;
|
||||
{
|
||||
VALUE i = f_integer(Qnil, obj);
|
||||
return NUM2INT(i);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
to_flo(val)
|
||||
VALUE val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue