summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-16 00:20:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-16 00:20:31 +0000
commit0127e67a38f0103dffdaedef5d785920861f25e8 (patch)
tree2fc7030b51f956700741175f7ed5030e6d827d08 /io.c
parent3a78bb3062f83fab58d16d035dfa2030eb21bccf (diff)
downloadruby-0127e67a38f0103dffdaedef5d785920861f25e8.tar.gz
ruby-0127e67a38f0103dffdaedef5d785920861f25e8.tar.xz
ruby-0127e67a38f0103dffdaedef5d785920861f25e8.zip
* include/ruby/ruby.h (rb_intern_const): tiny optimization.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.c b/io.c
index 08578cf03..1b3f8c762 100644
--- a/io.c
+++ b/io.c
@@ -7613,6 +7613,7 @@ void
Init_IO(void)
{
#undef rb_intern
+#define rb_intern(str) rb_intern_const(str)
VALUE rb_cARGF;
#ifdef __CYGWIN__