From e6a260ecdbe57d14ae01e6c03977775af574b132 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 9 Sep 2016 03:02:22 +0000 Subject: variable.c: rb_deprecate_constant * variable.c (rb_deprecate_constant): new function to deprecate a constant by the name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index f9bc693e0f..bf3880e695 100644 --- a/internal.h +++ b/internal.h @@ -1498,6 +1498,7 @@ VALUE rb_search_class_path(VALUE); VALUE rb_attr_delete(VALUE, ID); 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); /* version.c */ extern const char ruby_engine[]; -- cgit v1.2.3