diff options
39 files changed, 118 insertions, 119 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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cArray. */ -#ifndef RUBY3_INTERN_ARRAY_H -#define RUBY3_INTERN_ARRAY_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to so-called rb_cBignum. */ -#ifndef RUBY3_INTERN_BIGNUM_H -#define RUBY3_INTERN_BIGNUM_H #include "ruby/3/config.h" #ifdef STDC_HEADERS @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cClass/::rb_cModule. */ -#ifndef RUBY3_INTERN_CLASS_H -#define RUBY3_INTERN_CLASS_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" #include "ruby/backward/2/stdarg.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_mComparable. */ -#ifndef RUBY3_INTERN_COMPAR_H -#define RUBY3_INTERN_COMPAR_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cComplex. */ -#ifndef RUBY3_INTERN_COMPLEX_H -#define RUBY3_INTERN_COMPLEX_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" #include "ruby/3/arithmetic/long.h" /* INT2FIX is here. */ @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to rb_cFiber. */ -#ifndef RUBY3_INTERN_CONT_H -#define RUBY3_INTERN_CONT_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" #include "ruby/3/iterator.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cDir. */ -#ifndef RUBY3_INTERN_DIR_H -#define RUBY3_INTERN_DIR_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_mEnumerable. */ -#ifndef RUBY3_INTERN_ENUM_H -#define RUBY3_INTERN_ENUM_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cEnumerator. */ -#ifndef RUBY3_INTERN_ENUMERATOR_H -#define RUBY3_INTERN_ENUMERATOR_H #include "ruby/3/dllexport.h" #include "ruby/3/intern/eval.h" /* rb_frame_this_func */ #include "ruby/3/iterator.h" /* rb_block_given_p */ @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_eException. */ -#ifndef RUBY3_INTERN_ERROR_H -#define RUBY3_INTERN_ERROR_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" #include "ruby/3/fl_type.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Pre-1.9 era evaluator APIs (now considered miscellaneous). */ -#ifndef RUBY3_INTERN_EVAL_H -#define RUBY3_INTERN_EVAL_H #include "ruby/3/attr/noreturn.h" #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cFile. */ -#ifndef RUBY3_INTERN_FILE_H -#define RUBY3_INTERN_FILE_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_mGC. */ -#ifndef RUBY3_INTERN_GC_H -#define RUBY3_INTERN_GC_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" #include "ruby/backward/2/attributes.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cHash. */ -#ifndef RUBY3_INTERN_HASH_H -#define RUBY3_INTERN_HASH_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" #include "ruby/st.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cIO. */ -#ifndef RUBY3_INTERN_IO_H -#define RUBY3_INTERN_IO_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_f_require(). */ -#ifndef RUBY3_INTERN_LOAD_H -#define RUBY3_INTERN_LOAD_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to rb_mMarshal. */ -#ifndef RUBY3_INTERN_MARSHAL_H -#define RUBY3_INTERN_MARSHAL_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cNumeric. */ -#ifndef RUBY3_INTERN_NUMERIC_H -#define RUBY3_INTERN_NUMERIC_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" #include "ruby/backward/2/attributes.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cObject. */ -#ifndef RUBY3_INTERN_OBJECT_H -#define RUBY3_INTERN_OBJECT_H #include "ruby/3/attr/pure.h" #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cSymbol. */ -#ifndef RUBY3_INTERN_PARSE_H -#define RUBY3_INTERN_PARSE_H #include "ruby/3/attr/const.h" #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cProc. */ -#ifndef RUBY3_INTERN_PROC_H -#define RUBY3_INTERN_PROC_H #include "ruby/3/dllexport.h" #include "ruby/3/iterator.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_mProcess. */ -#ifndef RUBY3_INTERN_PROCESS_H -#define RUBY3_INTERN_PROCESS_H #include "ruby/3/attr/noreturn.h" #include "ruby/3/config.h" /* rb_pid_t is defined here. */ #include "ruby/3/dllexport.h" @@ -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. @@ -22,8 +24,6 @@ * generator", ACM Trans. on Modeling and Computer Simulation, 8 * (1): pp 3-30, 1998. https://doi.org/10.1145/272991.272995 */ -#ifndef RUBY3_INTERN_RANDOM_H -#define RUBY3_INTERN_RANDOM_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cRange. */ -#ifndef RUBY3_INTERN_RANGE_H -#define RUBY3_INTERN_RANGE_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cRational. */ -#ifndef RUBY3_INTERN_RATIONAL_H -#define RUBY3_INTERN_RATIONAL_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" #include "ruby/3/arithmetic/long.h" /* INT2FIX is here. */ @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cRegexp. */ -#ifndef RUBY3_INTERN_RE_H -#define RUBY3_INTERN_RE_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Process-global APIs. */ -#ifndef RUBY3_INTERN_RUBY_H -#define RUBY3_INTERN_RUBY_H #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -20,8 +22,6 @@ * @note Functions and structs defined in this header file are not * necessarily ruby-specific. They don't need ::VALUE etc. */ -#ifndef RUBY3_INTERN_SELECT_H -#define RUBY3_INTERN_SELECT_H #include "ruby/3/config.h" #ifdef HAVE_SYS_TYPES_H @@ -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. @@ -53,8 +55,6 @@ * * So `rb_fd_set` doesn't reject file descriptors bigger than `FD_SETSIZE`. */ -#ifndef RUBY3_INTERN_SELECT_LARGESIZE_H -#define RUBY3_INTERN_SELECT_LARGESIZE_H #include "ruby/3/attr/nonnull.h" #include "ruby/3/attr/pure.h" #include "ruby/3/dllexport.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs to provide ::rb_fd_select(). */ -#ifndef RUBY3_INTERN_SELECT_POSIX_H -#define RUBY3_INTERN_SELECT_POSIX_H #include "ruby/3/config.h" #ifdef HAVE_SYS_SELECT_H @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs to provide ::rb_fd_select(). */ -#ifndef RUBY3_INTERN_SELECT_WIN32_H -#define RUBY3_INTERN_SELECT_WIN32_H #include "ruby/3/dosish.h" /* for rb_w32_select */ #include "ruby/3/attr/nonnull.h" #include "ruby/3/attr/pure.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Signal handling APIs. */ -#ifndef RUBY3_INTERN_SIGNAL_H -#define RUBY3_INTERN_SIGNAL_H #include "ruby/3/config.h" /* POSIX_SIGNAL / RETSIGTYPE */ #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Our own private printf(3). */ -#ifndef RUBY3_INTERN_SPRINTF_H -#define RUBY3_INTERN_SPRINTF_H #include "ruby/3/attr/format.h" #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cString. */ -#ifndef RUBY3_INTERN_STRING_H -#define RUBY3_INTERN_STRING_H #include "ruby/3/config.h" #ifdef STDC_HEADERS @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cStruct. */ -#ifndef RUBY3_INTERN_STRUCT_H -#define RUBY3_INTERN_STRUCT_H #include "ruby/3/dllexport.h" #include "ruby/3/intern/vm.h" /* rb_alloc_func_t */ #include "ruby/3/value.h" @@ -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. @@ -18,10 +20,7 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cThread. */ -#ifndef RUBY3_INTERN_THREAD_H -#define RUBY3_INTERN_THREAD_H #include "ruby/3/config.h" - #include "ruby/3/cast.h" #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -16,10 +18,8 @@ * Do not expect for instance `__VA_ARGS__` is always available. * We assume C99 for ruby itself but we don't assume languages of * extension libraries. They could be written in C++98. - * @brief Public APIs related to ::rb_cStruct. */ -#ifndef RUBY3_INTERN_TIME_H -#define RUBY3_INTERN_TIME_H #include "ruby/3/config.h" #ifdef HAVE_TIME_H @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to names inside of a Ruby program. */ -#ifndef RUBY3_INTERN_VARIABLE_H -#define RUBY3_INTERN_VARIABLE_H #include "ruby/3/attr/noreturn.h" #include "ruby/3/dllexport.h" #include "ruby/3/value.h" @@ -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. @@ -18,8 +20,6 @@ * extension libraries. They could be written in C++98. * @brief Public APIs related to ::rb_cRubyVM. */ -#ifndef RUBY3_INTERN_VM_H -#define RUBY3_INTERN_VM_H #include "ruby/3/attr/noreturn.h" #include "ruby/3/dllexport.h" #include "ruby/3/value.h" |