summaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-11 18:31:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-11 18:31:06 +0000
commit1046dde2b26fe372f95a2295d4583aaccb6c804e (patch)
tree39a9dfd7d038f6a66ab7e8633afa332b9892498b /string.c
parent32f3ba6d8fd31aed3ce3d203450cf4041cc01c45 (diff)
downloadruby-1046dde2b26fe372f95a2295d4583aaccb6c804e.tar.gz
ruby-1046dde2b26fe372f95a2295d4583aaccb6c804e.tar.xz
ruby-1046dde2b26fe372f95a2295d4583aaccb6c804e.zip
* 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
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 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