summaryrefslogtreecommitdiff
path: root/include/ruby/backward/cxxanyargs.hpp
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-09-06 16:33:30 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-09-06 16:33:30 +0900
commit7516c48b2744b563a6cb420c23c1ff8bdea72da6 (patch)
treefdc04f4f2d5c6281c09696b389e94a29a4ac161a /include/ruby/backward/cxxanyargs.hpp
parent04f570e266ba7f9d155ceea943043532a7e2f859 (diff)
fix Visual Studio compilation error
See also https://github.com/ruby/ruby/runs/213964487
Diffstat (limited to 'include/ruby/backward/cxxanyargs.hpp')
-rw-r--r--include/ruby/backward/cxxanyargs.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/backward/cxxanyargs.hpp b/include/ruby/backward/cxxanyargs.hpp
index 70191a91d0..1c36cda54f 100644
--- a/include/ruby/backward/cxxanyargs.hpp
+++ b/include/ruby/backward/cxxanyargs.hpp
@@ -84,7 +84,7 @@ rb_define_hooked_variable(const char *q, VALUE *w, type *e, void_type *r)
/// @name Exceptions and tag jumps
/// @{
-DEPRECATED_BY(::rb_block_call,)
+DEPRECATED_TYPE(("Use rb_block_call instead"),)
/// @brief Old way to implement iterators.
/// @param[in] q A function that can yield.
/// @param[in] w Passed to `q`.