From 1046dde2b26fe372f95a2295d4583aaccb6c804e 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: http://svn.ruby-lang.org/repos/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 3dd86c911..d931cd9ca 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