summaryrefslogtreecommitdiff
path: root/include/ruby/backward/cxxanyargs.hpp
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-04-08 13:28:13 +0900
committerGitHub <noreply@github.com>2020-04-08 13:28:13 +0900
commit9e6e39c3512f7a962c44dc3729c98a0f8be90341 (patch)
tree901a22676d54d78240e450b64a8cd06eb1703910 /include/ruby/backward/cxxanyargs.hpp
parent5ac4bf2cd87e1eb5779ca5ae7f96a1a22e8436d9 (diff)
Merge pull request #2991 from shyouhei/ruby.h
Split ruby.h
Notes
Notes: Merged-By: shyouhei <shyouhei@ruby-lang.org>
Diffstat (limited to 'include/ruby/backward/cxxanyargs.hpp')
-rw-r--r--include/ruby/backward/cxxanyargs.hpp21
1 files changed, 18 insertions, 3 deletions
diff --git a/include/ruby/backward/cxxanyargs.hpp b/include/ruby/backward/cxxanyargs.hpp
index 7eaaa632a4..8fda5fe906 100644
--- a/include/ruby/backward/cxxanyargs.hpp
+++ b/include/ruby/backward/cxxanyargs.hpp
@@ -1,7 +1,5 @@
-#ifndef RUBY_BACKWARD_CXXANYARGS_HPP // -*- C++ -*-
-#define RUBY_BACKWARD_CXXANYARGS_HPP
+/// \noop-*-C++-*-vi:ft=cpp
/// @file
-/// @brief Provides old prototypes for C++ programs.
/// @author \@shyouhei
/// @copyright This file is a part of the programming language Ruby.
/// Permission is hereby granted, to either redistribute and/or
@@ -10,6 +8,23 @@
/// @note DO NOT MODERNIZE THIS FILE! As the file name implies it is
/// meant to be a backwards compatibility shim. Please stick to
/// C++ 98 and never use newer features, like `constexpr`.
+/// @brief Provides old prototypes for C++ programs.
+#ifndef RUBY_BACKWARD_CXXANYARGS_HPP
+#define RUBY_BACKWARD_CXXANYARGS_HPP
+#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"
extern "C++" {