summaryrefslogtreecommitdiff
path: root/symbol.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-06 13:36:45 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-06 13:36:45 (GMT)
commit0ca714fa1aa3fbe4fb60ae1e5b730e544dabc27b (patch)
treee67a09f72bf71bc5dbb677e455fbdd039e0a8996 /symbol.h
parent8474ebad8a4abb4c4b5ae7ecc5f5c7648763d2d3 (diff)
symbol.h: move struct RSymbol
* symbol.h (struct RSymbol): move from internal.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbol.h')
-rw-r--r--symbol.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/symbol.h b/symbol.h
index 36db8ef..58e03c0 100644
--- a/symbol.h
+++ b/symbol.h
@@ -14,6 +14,12 @@
#include "id.h"
+struct RSymbol {
+ struct RBasic basic;
+ VALUE fstr;
+ ID type;
+};
+
#define RSYMBOL(obj) (R_CAST(RSymbol)(obj))
static inline int