From 79958f7c74f5ad554f5c39aeee633586ba9d2bfc Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 28 Sep 2005 15:58:32 +0000 Subject: * eval.c (ev_const_get), variable.c (rb_const_get_0): retry only when autoload succeeded. * variable.c (rb_autoload_load): now return true if autoload succeeded. fixed: [ruby-dev:27331] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- intern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern.h') diff --git a/intern.h b/intern.h index 9021d8f945..8042ba492b 100644 --- a/intern.h +++ b/intern.h @@ -449,7 +449,7 @@ VALUE rb_path2class _((const char*)); void rb_name_class _((VALUE, ID)); VALUE rb_class_name _((VALUE)); void rb_autoload _((VALUE, ID, const char*)); -void rb_autoload_load _((VALUE, ID)); +VALUE rb_autoload_load _((VALUE, ID)); VALUE rb_autoload_p _((VALUE, ID)); void rb_gc_mark_global_tbl _((void)); VALUE rb_f_trace_var _((int, VALUE*)); -- cgit v1.2.3