summaryrefslogtreecommitdiff
path: root/include/ruby/backward.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/backward.h')
-rw-r--r--include/ruby/backward.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/backward.h b/include/ruby/backward.h
index 8723d5d93d..f804c2c36e 100644
--- a/include/ruby/backward.h
+++ b/include/ruby/backward.h
@@ -13,6 +13,9 @@
#define RBIMPL_ATTR_DEPRECATED_SINCE(ver) RBIMPL_ATTR_DEPRECATED(("since " #ver))
#define RBIMPL_ATTR_DEPRECATED_INTERNAL(ver) RBIMPL_ATTR_DEPRECATED(("since "#ver", also internal"))
+#define RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() RBIMPL_ATTR_DEPRECATED(("only for internal use"))
+
+RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() void rb_clear_constant_cache(void);
/* from version.c */
#if defined(RUBY_SHOW_COPYRIGHT_TO_DIE) && !!(RUBY_SHOW_COPYRIGHT_TO_DIE+0)