From cc7ff9d2f9b8f2562d119b4a00d78c69f40cf6af Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 11 Nov 2008 18:31:06 +0000 Subject: * include/ruby/intern.h (rb_{external,locale}_str_new_cstr): optimized versions for literal strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20224 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 3dd86c9119..d931cd9ca4 100644 --- a/string.c +++ b/string.c @@ -28,6 +28,8 @@ #undef rb_str_new_cstr #undef rb_tainted_str_new_cstr #undef rb_usascii_str_new_cstr +#undef rb_external_str_new_cstr +#undef rb_locale_str_new_cstr #undef rb_str_new2 #undef rb_str_new3 #undef rb_str_new4 -- cgit v1.2.3