summaryrefslogtreecommitdiff
path: root/include/ruby/backward
diff options
context:
space:
mode:
author卜部昌平 <[email protected]>2020-05-04 15:35:26 +0900
committer卜部昌平 <[email protected]>2020-05-11 09:24:08 +0900
commitd7f4d732c199df24620a162372c71ee83ed21e62 ()
treee55586f3378b764611e0cc6e898ca0829a21d49c /include/ruby/backward
parentdca234a5dc9d5bb39c906d833c43305ce95508fb (diff)
sed -i s|ruby/3|ruby/impl|g
This shall fix compile errors.
Notes: Merged: https://.com/ruby/ruby/pull/3079
-rw-r--r--include/ruby/backward/2/assume.h6
-rw-r--r--include/ruby/backward/2/attributes.h34
-rw-r--r--include/ruby/backward/2/bool.h2
-rw-r--r--include/ruby/backward/2/extern.h2
-rw-r--r--include/ruby/backward/2/gcc_version_since.h2
-rw-r--r--include/ruby/backward/2/inttypes.h4
-rw-r--r--include/ruby/backward/2/limits.h2
-rw-r--r--include/ruby/backward/2/long_long.h6
-rw-r--r--include/ruby/backward/2/stdalign.h2
-rw-r--r--include/ruby/backward/cxxanyargs.hpp24
10 files changed, 42 insertions, 42 deletions
@@ -20,9 +20,9 @@
* extension libraries. They could be written in C++98.
* @brief Defines #ASSUME / #RB_LIKELY / #UNREACHABLE
*/
-#include "ruby/3/config.h"
-#include "ruby/3/assume.h"
-#include "ruby/3/has/builtin.h"
#undef ASSUME /* Kill config.h definition */
#undef UNREACHABLE /* Kill config.h definition */
@@ -28,23 +28,23 @@
* - A: Don't know. Don't blame me. Backward compatibility is the key here.
* I'm just preserving what they have been.
*/
-#include "ruby/3/config.h"
-#include "ruby/3/attr/alloc_size.h"
-#include "ruby/3/attr/cold.h"
-#include "ruby/3/attr/const.h"
-#include "ruby/3/attr/deprecated.h"
-#include "ruby/3/attr/error.h"
-#include "ruby/3/attr/forceinline.h"
-#include "ruby/3/attr/format.h"
-#include "ruby/3/attr/maybe_unused.h"
-#include "ruby/3/attr/noinline.h"
-#include "ruby/3/attr/nonnull.h"
-#include "ruby/3/attr/noreturn.h"
-#include "ruby/3/attr/pure.h"
-#include "ruby/3/attr/restrict.h"
-#include "ruby/3/attr/returns_nonnull.h"
-#include "ruby/3/attr/warning.h"
-#include "ruby/3/has/attribute.h"
/* function attributes */
#undef CONSTFUNC
@@ -20,7 +20,7 @@
* extension libraries. They could be written in C++98.
* @brief Defines old #TRUE / #FALSE
*/
-#include "ruby/3/stdbool.h"
#ifndef FALSE
# define FALSE false
@@ -20,7 +20,7 @@
* extension libraries. They could be written in C++98.
* @brief Defines old #EXTERN
*/
-#include "ruby/3/config.h" /* for STRINGIZE */
/**
* @brief Synonym of #RUBY_EXTERN.
@@ -20,7 +20,7 @@
* extension libraries. They could be written in C++98.
* @brief Defines old #GCC_VERSION_SINCE
*/
-#include "ruby/3/compiler_since.h"
#ifndef GCC_VERSION_SINCE
#define GCC_VERSION_SINCE(x, y, z) RUBY3_COMPILER_SINCE(GCC, (x), (y), (z))
@@ -20,13 +20,13 @@
* extension libraries. They could be written in C++98.
* @brief C99 shim for `<inttypes.h>`
*/
-#include "ruby/3/config.h" /* PRI_LL_PREFIX etc. are here */
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
-#include "ruby/3/value.h" /* PRI_VALUE_PREFIX is here. */
#ifndef PRI_INT_PREFIX
# define PRI_INT_PREFIX ""
@@ -23,7 +23,7 @@
* The macros in this header file are obsolescent. Does anyone really need our
* own definition of #CHAR_BIT today?
*/
-#include "ruby/3/config.h"
#ifdef HAVE_LIMITS_H
# include <limits.h>
@@ -25,9 +25,9 @@
* while ago (some time back in 2013). The macros are for backwards
* compatibility only.
*/
-#include "ruby/3/config.h"
-#include "ruby/3/has/warning.h"
-#include "ruby/3/warning_push.h"
#if RUBY3_HAS_WARNING("-Wc++11-long-long")
# define HAVE_TRUE_LONG_LONG 1
@@ -20,7 +20,7 @@
* extension libraries. They could be written in C++98.
* @brief Defines #RUBY_ALIGNAS / #RUBY_ALIGNOF
*/
-#include "ruby/3/stdalign.h"
#undef RUBY_ALIGNAS
#undef RUBY_ALIGNOF
@@ -10,18 +10,18 @@
/// meant to be a backwards compatibility shim. Please stick to
/// C++ 98 and never use newer features, like `constexpr`.
/// @brief Provides old s for C++ programs.
-#include "ruby/3/config.h"
-#include "ruby/3/intern/class.h"
-#include "ruby/3/intern/cont.h"
-#include "ruby/3/intern/hash.h"
-#include "ruby/3/intern/proc.h"
-#include "ruby/3/intern/thread.h"
-#include "ruby/3/intern/variable.h"
-#include "ruby/3/intern/vm.h"
-#include "ruby/3/iterator.h"
-#include "ruby/3/method.h"
-#include "ruby/3/value.h"
-#include "ruby/3/variable.h"
#include "ruby/backward/2/stdarg.h"
#include "ruby/st.h"