summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-04 07:21:36 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-04 07:21:36 +0000
commit12697c0867485214d4239b7dcfe57b7537eb835c (patch)
tree7b19106a1283fcb3052b59b372a8f414822c12ba /internal.h
parent51423bd9ce1e7ec1404045a8f9fec4cd3466cfc2 (diff)
Revert "Revert "Replace NODE_STRTERM and NODE_HEREDOC with imemo_strterm""
Retry r60634 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index ad29434c7c..e21a2b6801 100644
--- a/internal.h
+++ b/internal.h
@@ -845,7 +845,8 @@ enum imemo_type {
imemo_ment = 6,
imemo_iseq = 7,
imemo_alloc = 8,
- imemo_ast = 9
+ imemo_ast = 9,
+ imemo_strterm = 10
};
#define IMEMO_MASK 0x0f
@@ -941,6 +942,8 @@ typedef struct rb_imemo_alloc_struct {
rb_imemo_alloc_t *rb_imemo_alloc_new(VALUE, VALUE, VALUE, VALUE);
+void rb_strterm_mark(VALUE obj);
+
/*! MEMO
*
* @see imemo_type