diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-09 09:30:25 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-09 09:30:25 +0000 |
commit | e32da15f48189cfba02a9be2e6572161d91b3122 (patch) | |
tree | 47c660015f96f23220975c71fd69e71f8a69b6ef /ruby.h | |
parent | 8673eacafa039f056927e0f91ce195afae9b9019 (diff) |
1.1b9_09 pre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -170,8 +170,8 @@ void rb_check_safe_str _((VALUE)); #define Check_SafeStr(v) rb_check_safe_str((VALUE)(v)) void rb_secure _((int)); -int num2int _((VALUE)); -#define NUM2INT(x) (FIXNUM_P(x)?FIX2INT(x):num2int(x)) +INT num2int _((VALUE)); +#define NUM2INT(x) (FIXNUM_P(x)?FIX2INT(x):num2int((VALUE)x)) double num2dbl _((VALUE)); #define NUM2DBL(x) num2dbl((VALUE)(x)) |