ruby-changes:50046
From: nobu <ko1@a...>
Date: Sat, 3 Feb 2018 01:02:09 +0900 (JST)
Subject: [ruby-changes:50046] nobu:r62164 (trunk): backward.h: rb_mod_const_missing is internal function
nobu 2018-02-03 01:02:03 +0900 (Sat, 03 Feb 2018) New Revision: 62164 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62164 Log: backward.h: rb_mod_const_missing is internal function Modified files: trunk/include/ruby/backward.h trunk/include/ruby/intern.h trunk/internal.h Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 62163) +++ include/ruby/intern.h (revision 62164) @@ -932,7 +932,9 @@ VALUE rb_const_get_at(VALUE, ID); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L932 VALUE rb_const_get_from(VALUE, ID); void rb_const_set(VALUE, ID, VALUE); VALUE rb_const_remove(VALUE, ID); +#if 0 /* EXPERIMENTAL: remove if no problem */ NORETURN(VALUE rb_mod_const_missing(VALUE,VALUE)); +#endif VALUE rb_cvar_defined(VALUE, ID); void rb_cvar_set(VALUE, ID, VALUE); VALUE rb_cvar_get(VALUE, ID); Index: include/ruby/backward.h =================================================================== --- include/ruby/backward.h (revision 62163) +++ include/ruby/backward.h (revision 62164) @@ -48,6 +48,7 @@ DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_s https://github.com/ruby/ruby/blob/trunk/include/ruby/backward.h#L48 /* variable.c */ DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); +ERRORFUNC(("internal function"), VALUE rb_mod_const_missing(VALUE, VALUE)); /* vm.c */ DEPRECATED(int rb_frame_method_id_and_class(ID *idp, VALUE *klassp)); Index: internal.h =================================================================== --- internal.h (revision 62163) +++ internal.h (revision 62164) @@ -1837,6 +1837,7 @@ VALUE rb_attr_delete(VALUE, ID); https://github.com/ruby/ruby/blob/trunk/internal.h#L1837 VALUE rb_ivar_lookup(VALUE obj, ID id, VALUE undef); void rb_autoload_str(VALUE mod, ID id, VALUE file); void rb_deprecate_constant(VALUE mod, const char *name); +NORETURN(VALUE rb_mod_const_missing(VALUE,VALUE)); /* version.c */ extern const char ruby_engine[]; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/