summaryrefslogtreecommitdiff
path: root/include/ruby/3/cast.h
diff options
context:
space:
mode:
-rw-r--r--include/ruby/3/cast.h11
1 files changed, 6 insertions, 5 deletions
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
* @file
* @author Ruby developers <[email protected]>
* @copyright This file is a part of the programming language Ruby.
@@ -24,10 +26,7 @@
* warnings. Ruby internals are pure C so they should not bother.
*/
-#if defined(RUBY3_CAST)
-# /* Take that. */
-
-#elif ! defined(__cplusplus)
# define RUBY3_CAST(expr) (expr)
#elif RUBY3_COMPILER_SINCE(GCC, 4, 6, 0)
@@ -47,3 +46,5 @@
# define RUBY3_CAST(expr) (expr)
#endif
/** @endcond */