From c62db0676bbb8051dac4f462240962e044db6cd4 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 21 Jul 2008 17:51:49 +0000 Subject: * 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 --- string.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'string.c') 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; -- cgit v1.2.3