summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-25 13:38:53 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-25 13:38:53 +0000
commit09ea07e02c96135ed58831ce4216db82e4233c43 (patch)
treeaf14c5853bae480e18e34f71a16a025e5d315668 /internal.h
parent8a67b59c317a83eb46674d9510faa52823fa5ced (diff)
Refactoring by adding `rb_imemo_alloc_new` to create imemo_alloc buffer
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 743e83187c..401dfa5c74 100644
--- a/internal.h
+++ b/internal.h
@@ -938,6 +938,8 @@ typedef struct rb_imemo_alloc_struct {
size_t cnt; /* buffer size in VALUE */
} rb_imemo_alloc_t;
+rb_imemo_alloc_t *rb_imemo_alloc_new(VALUE, VALUE, VALUE, VALUE);
+
/*! MEMO
*
* @see imemo_type