diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-28 20:08:56 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-28 20:08:56 +0000 |
commit | 205e69064605f0c0954750334e366386c1e7e999 (patch) | |
tree | 827c06e5ee065b472e1a3a4683e55c6d7eb8283c /internal.h | |
parent | eb9f446ebf64dde94f69daa5cdbc2d84ce68eb4d (diff) | |
download | ruby-205e69064605f0c0954750334e366386c1e7e999.tar.gz |
include/ruby/ruby.h: hide Symbol internals
This is too new to be a compatibility problem.
* include/ruby/ruby.h: Hide Symbol internals.
(struct RSymbol): moved to internal.h
(RSYMBOL): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 071f3ed6af..c4a2d8d4b1 100644 --- a/internal.h +++ b/internal.h @@ -412,6 +412,14 @@ struct RRational { #define RRATIONAL(obj) (R_CAST(RRational)(obj)) +struct RSymbol { + struct RBasic basic; + VALUE fstr; + ID type; +}; + +#define RSYMBOL(obj) (R_CAST(RSymbol)(obj)) + /* class.c */ void rb_class_subclass_add(VALUE super, VALUE klass); void rb_class_remove_from_super_subclasses(VALUE); |