From 01b773a0931901948a5099a6f5e95dc10d0a1c03 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 30 Apr 2008 09:03:03 +0000 Subject: * 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 --- vm_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_core.h') 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; -- cgit v1.2.3