summaryrefslogtreecommitdiffstats
path: root/env.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-17 16:08:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-17 16:08:08 +0000
commit2d99edcc7dd532c9a360f35b16e5f5eb5eb4bdc1 (patch)
treec2a330f2738ea2ce499b13bb1fd7028e65b86e59 /env.h
parent840d16b1a3491b800f08041d3a2c5b29634b4b25 (diff)
downloadruby-2d99edcc7dd532c9a360f35b16e5f5eb5eb4bdc1.tar.gz
ruby-2d99edcc7dd532c9a360f35b16e5f5eb5eb4bdc1.tar.xz
ruby-2d99edcc7dd532c9a360f35b16e5f5eb5eb4bdc1.zip
* variable.c (rb_const_get_0): skip ruby_wrapper in const search
to give it lower priority (just above Object). need not to change rb_const_defined_0() since it's only a precedence matter; they are defined anyway. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'env.h')
-rw-r--r--env.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/env.h b/env.h
index 68346172d..c6b079d30 100644
--- a/env.h
+++ b/env.h
@@ -85,4 +85,6 @@ struct BLOCK {
#define BLOCK_LAMBDA 2
#define BLOCK_FROM_METHOD 4
+RUBY_EXTERN VALUE ruby_wrapper;
+
#endif /* ENV_H */