diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-04 18:29:20 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-04 18:29:20 +0000 |
| commit | 876a5f24c2fbdc27bf5e6ea6991feac2d9dbfa1b (patch) | |
| tree | b0046153d1d9e7c76b3ac47f99f55dd0d3ea8d0d /include | |
| parent | cd578e6e73c7ff02a75cd2e4f53fe22dbd551bd0 (diff) | |
| download | ruby-876a5f24c2fbdc27bf5e6ea6991feac2d9dbfa1b.tar.gz ruby-876a5f24c2fbdc27bf5e6ea6991feac2d9dbfa1b.tar.xz ruby-876a5f24c2fbdc27bf5e6ea6991feac2d9dbfa1b.zip | |
* load.c (rb_get_load_path): returns the load path without
touching.
* load.c (rb_feature_provided): new function to return the loading
path in addition to rb_provided().
* load.c (search_required): sets path if loading.
* variable.c (autoload_provided): load paths are expanded to check
if loading.
* variable.c (autoload_node): keeps autoload mark while loading.
[ruby-core:20235]
* variable.c (rb_const_get_0): loops while autoload mark is set.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
| -rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index a2d4fcb91..25ca518f8 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -267,6 +267,7 @@ void rb_load(VALUE, int); void rb_load_protect(VALUE, int, int*); NORETURN(void rb_jump_tag(int)); int rb_provided(const char*); +int rb_feature_provided(const char *, const char **); void rb_provide(const char*); VALUE rb_f_require(VALUE, VALUE); VALUE rb_require_safe(VALUE, int); |
