diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-23 04:12:19 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-23 04:12:19 +0000 |
commit | 6adcf6a898cd8d6becfebd0ee1a881e9bc77c3be (patch) | |
tree | a171afbbca7dea986204d414e2680e159098e43a /internal.h | |
parent | e02eb253e7a31f4767eecd8d55a62e5a5608b74a (diff) | |
download | ruby-6adcf6a898cd8d6becfebd0ee1a881e9bc77c3be.tar.gz |
* include/ruby/ruby.h (struct RFloat): no longer. [Feature #9863]
* include/ruby/ruby.h (RFLOAT): ditto.
* internal.h (struct RFloat): moved here.
* internal.h (RFLOAT): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 04aa693741..db4961dea4 100644 --- a/internal.h +++ b/internal.h @@ -420,6 +420,13 @@ struct RSymbol { #define RSYMBOL(obj) (R_CAST(RSymbol)(obj)) +struct RFloat { + struct RBasic basic; + double float_value; +}; + +#define RFLOAT(obj) (R_CAST(RFloat)(obj)) + /* class.c */ void rb_class_subclass_add(VALUE super, VALUE klass); void rb_class_remove_from_super_subclasses(VALUE); |