1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/ruby.h: rename RFloat#double_value -> float_value.

* numeric.c, parse.y: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-11-20 11:35:12 +00:00
parent 9ea27a0b53
commit 01dacec2b4
4 changed files with 10 additions and 4 deletions

View file

@ -451,9 +451,9 @@ struct RClass {
struct RFloat {
struct RBasic basic;
double double_value;
double float_value;
};
#define RFLOAT_VALUE(v) (RFLOAT(v)->double_value)
#define RFLOAT_VALUE(v) (RFLOAT(v)->float_value)
#define DOUBLE2NUM(dbl) rb_float_new(dbl)
#define ELTS_SHARED FL_USER2