summaryrefslogtreecommitdiffstats
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
commit6112c433b852aad6e9a6ed0839352c6d600b1b24 (patch)
tree483171c27db24cf45614a509768300b04a312ba8 /string.c
parent37ec3b72b7d40f5f4e1168e879176bbba72dbb78 (diff)
downloadruby-6112c433b852aad6e9a6ed0839352c6d600b1b24.tar.gz
ruby-6112c433b852aad6e9a6ed0839352c6d600b1b24.tar.xz
ruby-6112c433b852aad6e9a6ed0839352c6d600b1b24.zip
* include/ruby/intern.h (rb_str_buf_cat2, rb_str_cat2): optimization
for literals. git-svn-id: http://svn.ruby-lang.org/repos/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 e1bb65599..13c98ad33 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;