From f6631c3096f30328178a762c6ee0b26136ef42b4 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 26 Dec 2017 05:30:31 +0000 Subject: [PATCH] variable.c: public rb_autoload * variable.c (rb_autoload): restore the visibility for backward compatibility. [ruby-core:84454] [Bug #14236] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variable.c b/variable.c index 10b885070c..0047338cb5 100644 --- a/variable.c +++ b/variable.c @@ -1882,7 +1882,7 @@ static const rb_data_type_t autoload_data_i_type = { #define check_autoload_data(av) \ (struct autoload_data_i *)rb_check_typeddata((av), &autoload_data_i_type) -void +RUBY_FUNC_EXPORTED void rb_autoload(VALUE mod, ID id, const char *file) { if (!file || !*file) {