summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-21 17:51:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-21 17:51:49 +0000
commitc62db0676bbb8051dac4f462240962e044db6cd4 (patch)
tree483171c27db24cf45614a509768300b04a312ba8 /string.c
parent2ef807cc3442c0b18d8955e15d8a3ace140d453c (diff)
* include/ruby/intern.h (rb_str_buf_cat2, rb_str_cat2): optimization
for literals. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/string.c b/string.c
index e1bb65599e..13c98ad332 100644
--- a/string.c
+++ b/string.c
@@ -28,6 +28,8 @@
#undef rb_str_new2
#undef rb_tainted_str_new2
#undef rb_usascii_str_new2
+#undef rb_str_buf_cat2
+#undef rb_str_cat2
VALUE rb_cString;
VALUE rb_cSymbol;