diff options
Diffstat (limited to 'include/ruby/backward/cxxanyargs.hpp')
-rw-r--r-- | include/ruby/backward/cxxanyargs.hpp | 21 |
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++" { |