aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-30 09:03:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-30 09:03:03 +0000
commit01b773a0931901948a5099a6f5e95dc10d0a1c03 (patch)
tree2a4b651b8a8772f75832a36733606b1a337b7585 /vm_core.h
parentcc88283badde1cac04463a990659aa33fb33ca79 (diff)
downloadruby-01b773a0931901948a5099a6f5e95dc10d0a1c03.tar.gz
* load.c (rb_load_path), vm_core.h (rb_vm_t): moved to VM.
* load.c (rb_get_load_path): returns absolute load path. * load.c (load_path_getter): $LOAD_PATH getter. * file.c (rb_find_file_ext, rb_find_file), ruby.c (push_include, ruby_init_loadpath): use the accessor. * vm.c (rb_vm_mark): mark load_path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 40eb9b3b01..19a52eeeff 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -303,6 +303,7 @@ typedef struct rb_vm_struct {
/* load */
VALUE top_self;
+ VALUE load_path;
VALUE loaded_features;
struct st_table *loading_table;