summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-26 05:30:31 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-26 05:30:31 (GMT)
commitf6631c3096f30328178a762c6ee0b26136ef42b4 (patch)
tree772e407a0d66e9b1a9ad5ffdee94100d83b70814 /variable.c
parentde11e472b447df6d45cd2eaa577d0f2f1efd4064 (diff)
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
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 10b8850..0047338 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) {