summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/string.c b/string.c
index 403d595527..2bebf06c03 100644
--- a/string.c
+++ b/string.c
@@ -251,6 +251,13 @@ rb_str_buf_new2(ptr)
}
VALUE
+rb_str_tmp_new(len)
+ long len;
+{
+ return str_new(0, 0, len);
+}
+
+VALUE
rb_str_to_str(str)
VALUE str;
{