aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-02 16:02:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-02 16:02:03 +0000
commit00c1f177df5a52158233a97ac724462678574525 (patch)
tree3ef70c381d5db1031d2f644109329ff53ab82a21 /include
parent0b4fa5d3527fc9d19827eb043abd9a6924b57d34 (diff)
downloadruby-00c1f177df5a52158233a97ac724462678574525.tar.gz
backward.h: rb_mod_const_missing is internal function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/backward.h1
-rw-r--r--include/ruby/intern.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/backward.h b/include/ruby/backward.h
index 76bd162cb2..f2159ea3db 100644
--- a/include/ruby/backward.h
+++ b/include/ruby/backward.h
@@ -48,6 +48,7 @@ DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr);
/* 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));
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index a711b86115..ae00b9ba89 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -932,7 +932,9 @@ VALUE rb_const_get_at(VALUE, ID);
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);