mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
* include/ruby/ruby.h (DBL2NUM): renamed from DOUBLE2NUM.
a patch from Tadashi Saito <shiba at mail2.accsnet.ne.jp> in [ruby-dev:36102]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80abde2c89
commit
31b6ea65bb
15 changed files with 113 additions and 107 deletions
|
@ -568,7 +568,7 @@ struct RFloat {
|
|||
double float_value;
|
||||
};
|
||||
#define RFLOAT_VALUE(v) (RFLOAT(v)->float_value)
|
||||
#define DOUBLE2NUM(dbl) rb_float_new(dbl)
|
||||
#define DBL2NUM(dbl) rb_float_new(dbl)
|
||||
|
||||
#define ELTS_SHARED FL_USER2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue