aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h8
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);