diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-05 07:27:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-05 07:27:02 +0000 |
commit | 9bc469b9507fec1110ee539bbe713a5f1855f4d6 (patch) | |
tree | 76bef66d8fb575baf8017bfefad605a69bd223ae /include/ruby/intern.h | |
parent | a707ab4bc8a29241440f56696098efa2f7f3ff45 (diff) | |
download | ruby-9bc469b9507fec1110ee539bbe713a5f1855f4d6.tar.gz |
intern.h: deprecate rb_clear_cache
* include/ruby/intern.h (rb_clear_cache): mark as deprecated, not
only warnings at runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 591589ae16..f34fcef93b 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -378,7 +378,7 @@ typedef VALUE (*rb_alloc_func_t)(VALUE); void rb_define_alloc_func(VALUE, rb_alloc_func_t); void rb_undef_alloc_func(VALUE); rb_alloc_func_t rb_get_alloc_func(VALUE); -void rb_clear_cache(void); +DEPRECATED(void rb_clear_cache(void)); void rb_clear_constant_cache(void); void rb_clear_method_cache_by_class(VALUE); void rb_alias(VALUE, ID, ID); |