diff options
51 files changed, 156 insertions, 152 deletions
@@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Array. */ -#ifndef INTERNAL_ARRAY_H -#define INTERNAL_ARRAY_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ #include "internal/static_assert.h" /* for STATIC_ASSERT */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Bignums. */ -#ifndef INTERNAL_BIGNUM_H -#define INTERNAL_BIGNUM_H #include "ruby/3/config.h" /* for HAVE_LIBGMP */ #include <stddef.h> /* for size_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -24,8 +26,6 @@ * @see https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_rotr64 * @see https://stackoverflow.com/a/776523 */ -#ifndef INTERNAL_BITS_H -#define INTERNAL_BITS_H #include "ruby/3/config.h" #include <limits.h> /* for CHAR_BITS */ #include <stdint.h> /* for uintptr_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Class. */ -#ifndef INTERNAL_CLASS_H -#define INTERNAL_CLASS_H #include "id_table.h" /* for struct rb_id_table */ #include "internal/gc.h" /* for RB_OBJ_WRITE */ #include "internal/serial.h" /* for rb_serial_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Comparable. */ -#ifndef INTERNAL_COMPAR_H -#define INTERNAL_COMPAR_H #include "internal/vm.h" /* for rb_method_basic_definition_p */ #define STRING_P(s) (RB_TYPE_P((s), T_STRING) && CLASS_OF(s) == rb_cString) @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for the compiler. */ -#ifndef INTERNAL_COMPILE_H -#define INTERNAL_COMPILE_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ #include "ruby/ruby.h" /* for rb_event_flag_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header absorbing C compipler differences. */ -#ifndef INTERNAL_COMPILERS_H -#define INTERNAL_COMPILERS_H #include "ruby/3/compiler_since.h" #include "ruby/3/has/attribute.h" #include "ruby/3/has/builtin.h" @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,9 +9,7 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Complex. */ -#ifndef INTERNAL_COMPLEX_H -#define INTERNAL_COMPLEX_H -#include "ruby/ruby.h" /* for struct RBasic */ struct RComplex { struct RBasic basic; @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Fiber. */ -#ifndef INTERNAL_CONT_H -#define INTERNAL_CONT_H #include "ruby/ruby.h" /* for VALUE */ struct rb_thread_struct; /* in vm_core.h */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Dir. */ -#ifndef INTERNAL_DIR_H -#define INTERNAL_DIR_H #include "ruby/ruby.h" /* for VALUE */ /* dir.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Encoding. */ -#ifndef INTERNAL_ENC_H -#define INTERNAL_ENC_H #include "ruby/encoding.h" /* for rb_encoding */ /* us_ascii.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Encoding. */ -#ifndef INTERNAL_ENCODING_H -#define INTERNAL_ENCODING_H #include "ruby/ruby.h" /* for ID */ #include "ruby/encoding.h" /* for rb_encoding */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Enumerable. */ -#ifndef INTERNAL_ENUM_H -#define INTERNAL_ENUM_H #include "ruby/ruby.h" /* for VALUE */ /* enum.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Enumerator. */ -#ifndef INTERNAL_ENUMERATOR_H -#define INTERNAL_ENUMERATOR_H #include "ruby/ruby.h" /* for VALUE */ #include "ruby/intern.h" /* for rb_enumerator_size_func */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Exception. */ -#ifndef INTERNAL_ERROR_H -#define INTERNAL_ERROR_H #include "ruby/3/config.h" #include <stdarg.h> /* for va_list */ #include "internal/string.h" /* for rb_fstring_cstr */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -9,8 +11,6 @@ * @note There also is eval_intern.h, which is evaluator's internal * header (related to this file, but not the same role). */ -#ifndef INTERNAL_EVAL_H -#define INTERNAL_EVAL_H #include "ruby/ruby.h" /* for ID */ #define id_signo ruby_static_id_signo @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for File. */ -#ifndef INTERNAL_FILE_H -#define INTERNAL_FILE_H #include "ruby/ruby.h" /* for VALUE */ #include "ruby/encoding.h" /* for rb_encodinng */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Fixnums. */ -#ifndef INTERNAL_FIXNUM_H -#define INTERNAL_FIXNUM_H #include "ruby/3/config.h" /* for HAVE_LONG_LONG */ #include <limits.h> /* for CHAR_BIT */ #include "internal/compilers.h" /* for __has_builtin */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for GC. */ -#ifndef INTERNAL_GC_H -#define INTERNAL_GC_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Hash. */ -#ifndef INTERNAL_HASH_H -#define INTERNAL_HASH_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ #include "ruby/3/stdbool.h" /* for bool */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief IMEMO: Internal memo object. */ -#ifndef INTERNAL_IMEMO_H -#define INTERNAL_IMEMO_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ #include "internal/array.h" /* for rb_ary_tmp_new_fill */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header aggregating init functions. */ -#ifndef INTERNAL_INITS_H -#define INTERNAL_INITS_H /* class.c */ void Init_class_hierarchy(void); @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for IO. */ -#ifndef INTERNAL_IO_H -#define INTERNAL_IO_H #include "ruby/ruby.h" /* for VALUE */ #include "ruby/io.h" /* for rb_io_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for require. */ -#ifndef INTERNAL_LOAD_H -#define INTERNAL_LOAD_H #include "ruby/ruby.h" /* for VALUE */ /* load.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for $LOAD_PATH. */ -#ifndef INTERNAL_LOADPATH_H -#define INTERNAL_LOADPATH_H /* loadpath.c */ extern const char ruby_exec_prefix[]; @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Math. */ -#ifndef INTERNAL_MATH_H -#define INTERNAL_MATH_H #include "ruby/ruby.h" /* for VALUE */ /* math.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header corresponding missing. */ -#ifndef INTERNAL_MISSING_H -#define INTERNAL_MISSING_H #include "ruby/3/config.h" /* for HAVE_SETPROCTITLE */ /* missing/setproctitle.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for MJIT. */ -#ifndef INTERNAL_MJIT_H -#define INTERNAL_MJIT_H #include "ruby/3/stdbool.h" /* for bool */ #include "ruby/ruby.h" /* for VALUE */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Numeric. */ -#ifndef INTERNAL_NUMERIC_H -#define INTERNAL_NUMERIC_H #include "internal/bignum.h" /* for BIGNUM_POSITIVE_P */ #include "internal/bits.h" /* for RUBY_BIT_ROTL */ #include "internal/fixnum.h" /* for FIXNUM_POSITIVE_P */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Object. */ -#ifndef INTERNAL_OBJECT_H -#define INTERNAL_OBJECT_H #include "ruby/ruby.h" /* for VALUE */ /* object.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for the parser. */ -#ifndef INTERNAL_PARSE_H -#define INTERNAL_PARSE_H #include "ruby/ruby.h" /* for VALUE */ struct rb_iseq_struct; /* in vm_core.h */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Proc. */ -#ifndef INTERNAL_PROC_H -#define INTERNAL_PROC_H #include "ruby/ruby.h" /* for rb_block_call_func_t */ #include "ruby/st.h" /* for st_index_t */ struct rb_block; /* in vm_core.h */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Process. */ -#ifndef INTERNAL_PROCESS_H -#define INTERNAL_PROCESS_H #include "ruby/3/config.h" /* for rb_pid_t */ #include <stddef.h> /* for size_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Random. */ -#ifndef INTERNAL_RANDOM_H -#define INTERNAL_RANDOM_H #include <stddef.h> /* for size_t */ /* random.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Range. */ -#ifndef INTERNAL_RANGE_H -#define INTERNAL_RANGE_H #include "internal/struct.h" /* for RSTRUCT */ /* range.c */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Rational. */ -#ifndef INTERNAL_RATIONAL_H -#define INTERNAL_RATIONAL_H #include "ruby/3/config.h" /* for HAVE_LIBGMP */ #include "ruby/ruby.h" /* for struct RBasic */ #include "internal/gc.h" /* for RB_OBJ_WRITE */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Regexp. */ -#ifndef INTERNAL_RE_H -#define INTERNAL_RE_H #include "ruby/3/stdbool.h" /* for bool */ #include "ruby/ruby.h" /* for VALUE */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for ASAN / MSAN / etc. */ -#ifndef INTERNAL_SANITIZERS_H -#define INTERNAL_SANITIZERS_H #include "ruby/3/config.h" #include "internal/compilers.h" /* for __has_feature */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for rb_serial_t. */ -#ifndef INTERNAL_SERIAL_H -#define INTERNAL_SERIAL_H #include "ruby/3/config.h" /* for HAVE_LONG_LONG */ #include "ruby/defines.h" /* for LONG_LONG */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for SignalException. */ -#ifndef INTERNAL_SIGNAL_H -#define INTERNAL_SIGNAL_H /* signal.c */ extern int ruby_enable_coredump; @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -11,3 +13,5 @@ #ifndef STATIC_ASSERT # define STATIC_ASSERT RUBY3_STATIC_ASSERT #endif @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for String. */ -#ifndef INTERNAL_STRING_H -#define INTERNAL_STRING_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ #include "internal/compilers.h" /* for __has_builtin */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Struct. */ -#ifndef INTERNAL_STRUCT_H -#define INTERNAL_STRUCT_H #include "ruby/3/stdbool.h" /* for bool */ #include "internal/gc.h" /* for RB_OBJ_WRITE */ #include "ruby/ruby.h" /* for struct RBasic */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Symbol. */ -#ifndef INTERNAL_SYMBOL_H -#define INTERNAL_SYMBOL_H #include "ruby/ruby.h" /* for VALUE */ #include "ruby/encoding.h" /* for rb_encoding */ #include "internal/compilers.h" /* for __has_builtin */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Thread. */ -#ifndef INTERNAL_THREAD_H -#define INTERNAL_THREAD_H #include "ruby/ruby.h" /* for VALUE */ #include "ruby/intern.h" /* for rb_blocking_function_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Time. */ -#ifndef INTERNAL_TIME_H -#define INTERNAL_TIME_H #include "ruby/3/config.h" /* for SIGNEDNESS_OF_TIME_T */ #include "internal/bits.h" /* for SIGNED_INTEGER_MAX */ #include "ruby/ruby.h" /* for VALUE */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for Encoding::Converter. */ -#ifndef INTERNAL_TRANSCODE_H -#define INTERNAL_TRANSCODE_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ #include "ruby/ruby.h" /* for VALUE */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -8,8 +10,6 @@ * @brief Internal header corresponding util.c. * @warning DO NOT ADD RANDOM GARBAGE HERE THIS FILE IS FOR util.c */ -#ifndef INTERNAL_UTIL_H /* -*- C -*- */ -#define INTERNAL_UTIL_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for variables. */ -#ifndef INTERNAL_VARIABLE_H -#define INTERNAL_VARIABLE_H #include "ruby/3/config.h" #include <stddef.h> /* for size_t */ #include "constant.h" /* for rb_const_entry_t */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header for RubyVM. */ -#ifndef INTERNAL_VM_H -#define INTERNAL_VM_H #include "ruby/3/stdbool.h" /* for bool */ #include "internal/serial.h" /* for rb_serial_t */ #include "internal/static_assert.h" /* for STATIC_ASSERT */ @@ -1,4 +1,6 @@ -/** \noop-*-C-*-vi:ft=c * @file * @author Ruby developers <[email protected]> * @copyright This file is a part of the programming language Ruby. @@ -7,8 +9,6 @@ * file COPYING are met. Consult the file for details. * @brief Internal header to suppres / mandate warnings. */ -#ifndef INTERNAL_WARNINGS_H -#define INTERNAL_WARNINGS_H #include "ruby/3/warning_push.h" #define COMPILER_WARNING_PUSH RUBY3_WARNING_PUSH() #define COMPILER_WARNING_POP RUBY3_WARNING_POP() |