diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-18 16:46:47 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-18 16:46:47 +0000 |
commit | 5f2d8e4ecaba40497b7bc97fda312f84774a3f6d (patch) | |
tree | a58fae9fd67b354a6cbef074ba0d5ee1c2bbbcab /string.c | |
parent | 5cf6cefc0426ce38d832fdae2ab15943b281d528 (diff) | |
download | ruby-5f2d8e4ecaba40497b7bc97fda312f84774a3f6d.tar.gz |
merges r20224 from trunk into ruby_1_9_1
* 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/branches/ruby_1_9_1@20261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |