From 8cdac548c54ad3a1df70da47ad820f3afc96e2cb Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 13 Feb 2018 09:34:43 +0000 Subject: vm_insnhelper.c: rb_autoloading_value flag * vm_insnhelper.c (vm_get_ev_const): add flag argument of `rb_autoloading_value`. * constant.h (rb_autoloading_value): moved the declaration from vm_core.h for `rb_const_flag_t`. [ruby-core:85516] [Bug #14469] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- constant.h | 1 + 1 file changed, 1 insertion(+) (limited to 'constant.h') diff --git a/constant.h b/constant.h index 76b59fa047..fcccf07384 100644 --- a/constant.h +++ b/constant.h @@ -46,5 +46,6 @@ int rb_public_const_defined(VALUE klass, ID id); int rb_public_const_defined_at(VALUE klass, ID id); int rb_public_const_defined_from(VALUE klass, ID id); rb_const_entry_t *rb_const_lookup(VALUE klass, ID id); +int rb_autoloading_value(VALUE mod, ID id, VALUE *value, rb_const_flag_t *flag); #endif /* CONSTANT_H */ -- cgit v1.2.1