summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-09 03:02:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-09 03:02:22 +0000
commite6a260ecdbe57d14ae01e6c03977775af574b132 (patch)
tree09e71e76839e96e2887100ebcd47e95c990748ff /internal.h
parent6054e6d65e1da1362971ee2f7eaa11ea018a0663 (diff)
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
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
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[];