From 122f96c362c0391045d9b10d81d3681cb2455da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Mon, 4 May 2020 16:27:48 +0900 Subject: [PATCH] sed -i s/ruby3/rbimpl/g --- gc.c | 28 ++++----- include/ruby/assert.h | 2 +- include/ruby/backward/2/assume.h | 2 +- include/ruby/backward/2/attributes.h | 2 +- include/ruby/backward/2/bool.h | 2 +- include/ruby/backward/2/extern.h | 2 +- include/ruby/backward/2/gcc_version_since.h | 2 +- include/ruby/backward/2/inttypes.h | 2 +- include/ruby/backward/2/limits.h | 2 +- include/ruby/backward/2/long_long.h | 2 +- include/ruby/backward/2/r_cast.h | 2 +- include/ruby/backward/2/rmodule.h | 2 +- include/ruby/backward/2/stdalign.h | 2 +- include/ruby/backward/2/stdarg.h | 2 +- include/ruby/impl/anyargs.h | 2 +- include/ruby/impl/arithmetic.h | 2 +- include/ruby/impl/arithmetic/char.h | 2 +- include/ruby/impl/arithmetic/double.h | 2 +- include/ruby/impl/arithmetic/fixnum.h | 2 +- include/ruby/impl/arithmetic/gid_t.h | 2 +- include/ruby/impl/arithmetic/int.h | 2 +- include/ruby/impl/arithmetic/intptr_t.h | 2 +- include/ruby/impl/arithmetic/long.h | 14 ++--- include/ruby/impl/arithmetic/long_long.h | 2 +- include/ruby/impl/arithmetic/mode_t.h | 2 +- include/ruby/impl/arithmetic/off_t.h | 2 +- include/ruby/impl/arithmetic/pid_t.h | 2 +- include/ruby/impl/arithmetic/short.h | 2 +- include/ruby/impl/arithmetic/size_t.h | 2 +- include/ruby/impl/arithmetic/st_data_t.h | 2 +- include/ruby/impl/arithmetic/uid_t.h | 2 +- include/ruby/impl/assume.h | 2 +- include/ruby/impl/attr/alloc_size.h | 2 +- include/ruby/impl/attr/artificial.h | 2 +- include/ruby/impl/attr/cold.h | 2 +- include/ruby/impl/attr/const.h | 2 +- include/ruby/impl/attr/constexpr.h | 2 +- include/ruby/impl/attr/deprecated.h | 2 +- include/ruby/impl/attr/diagnose_if.h | 2 +- include/ruby/impl/attr/enum_extensibility.h | 2 +- include/ruby/impl/attr/error.h | 2 +- include/ruby/impl/attr/flag_enum.h | 2 +- include/ruby/impl/attr/forceinline.h | 2 +- include/ruby/impl/attr/format.h | 2 +- include/ruby/impl/attr/maybe_unused.h | 2 +- include/ruby/impl/attr/noalias.h | 2 +- include/ruby/impl/attr/nodiscard.h | 2 +- include/ruby/impl/attr/noexcept.h | 2 +- include/ruby/impl/attr/noinline.h | 2 +- include/ruby/impl/attr/nonnull.h | 2 +- include/ruby/impl/attr/noreturn.h | 2 +- include/ruby/impl/attr/pure.h | 2 +- include/ruby/impl/attr/restrict.h | 2 +- include/ruby/impl/attr/returns_nonnull.h | 2 +- include/ruby/impl/attr/warning.h | 2 +- include/ruby/impl/attr/weakref.h | 2 +- include/ruby/impl/cast.h | 2 +- include/ruby/impl/compiler_is.h | 2 +- include/ruby/impl/compiler_is/apple.h | 2 +- include/ruby/impl/compiler_is/clang.h | 2 +- include/ruby/impl/compiler_is/gcc.h | 2 +- include/ruby/impl/compiler_is/intel.h | 2 +- include/ruby/impl/compiler_is/msvc.h | 2 +- include/ruby/impl/compiler_is/sunpro.h | 2 +- include/ruby/impl/compiler_since.h | 2 +- include/ruby/impl/config.h | 2 +- include/ruby/impl/constant_p.h | 2 +- include/ruby/impl/core.h | 2 +- include/ruby/impl/core/rarray.h | 8 +-- include/ruby/impl/core/rbasic.h | 2 +- include/ruby/impl/core/rbignum.h | 2 +- include/ruby/impl/core/rclass.h | 2 +- include/ruby/impl/core/rdata.h | 2 +- include/ruby/impl/core/rfile.h | 2 +- include/ruby/impl/core/rhash.h | 2 +- include/ruby/impl/core/rmatch.h | 2 +- include/ruby/impl/core/robject.h | 2 +- include/ruby/impl/core/rregexp.h | 2 +- include/ruby/impl/core/rstring.h | 16 ++--- include/ruby/impl/core/rstruct.h | 2 +- include/ruby/impl/core/rtypeddata.h | 8 +-- include/ruby/impl/ctype.h | 2 +- include/ruby/impl/dllexport.h | 2 +- include/ruby/impl/dosish.h | 2 +- include/ruby/impl/error.h | 2 +- include/ruby/impl/eval.h | 2 +- include/ruby/impl/event.h | 2 +- include/ruby/impl/fl_type.h | 14 ++--- include/ruby/impl/gc.h | 2 +- include/ruby/impl/glob.h | 2 +- include/ruby/impl/globals.h | 2 +- include/ruby/impl/has/attribute.h | 2 +- include/ruby/impl/has/builtin.h | 2 +- include/ruby/impl/has/c_attribute.h | 2 +- include/ruby/impl/has/cpp_attribute.h | 2 +- include/ruby/impl/has/declspec_attribute.h | 2 +- include/ruby/impl/has/extension.h | 2 +- include/ruby/impl/has/feature.h | 2 +- include/ruby/impl/has/warning.h | 2 +- include/ruby/impl/intern/array.h | 2 +- include/ruby/impl/intern/bignum.h | 2 +- include/ruby/impl/intern/class.h | 2 +- include/ruby/impl/intern/compar.h | 2 +- include/ruby/impl/intern/complex.h | 2 +- include/ruby/impl/intern/cont.h | 2 +- include/ruby/impl/intern/dir.h | 2 +- include/ruby/impl/intern/enum.h | 2 +- include/ruby/impl/intern/enumerator.h | 2 +- include/ruby/impl/intern/error.h | 2 +- include/ruby/impl/intern/eval.h | 2 +- include/ruby/impl/intern/file.h | 2 +- include/ruby/impl/intern/gc.h | 2 +- include/ruby/impl/intern/hash.h | 2 +- include/ruby/impl/intern/io.h | 2 +- include/ruby/impl/intern/load.h | 2 +- include/ruby/impl/intern/marshal.h | 2 +- include/ruby/impl/intern/numeric.h | 2 +- include/ruby/impl/intern/object.h | 2 +- include/ruby/impl/intern/parse.h | 2 +- include/ruby/impl/intern/proc.h | 2 +- include/ruby/impl/intern/process.h | 2 +- include/ruby/impl/intern/random.h | 2 +- include/ruby/impl/intern/range.h | 2 +- include/ruby/impl/intern/rational.h | 2 +- include/ruby/impl/intern/re.h | 2 +- include/ruby/impl/intern/ruby.h | 2 +- include/ruby/impl/intern/select.h | 2 +- include/ruby/impl/intern/select/largesize.h | 2 +- include/ruby/impl/intern/select/posix.h | 2 +- include/ruby/impl/intern/select/win32.h | 2 +- include/ruby/impl/intern/signal.h | 2 +- include/ruby/impl/intern/sprintf.h | 2 +- include/ruby/impl/intern/string.h | 70 ++++++++++----------- include/ruby/impl/intern/struct.h | 2 +- include/ruby/impl/intern/thread.h | 2 +- include/ruby/impl/intern/time.h | 2 +- include/ruby/impl/intern/variable.h | 2 +- include/ruby/impl/intern/vm.h | 2 +- include/ruby/impl/interpreter.h | 2 +- include/ruby/impl/iterator.h | 2 +- include/ruby/impl/memory.h | 30 ++++----- include/ruby/impl/method.h | 2 +- include/ruby/impl/module.h | 2 +- include/ruby/impl/newobj.h | 2 +- include/ruby/impl/rgengc.h | 2 +- include/ruby/impl/scan_args.h | 2 +- include/ruby/impl/special_consts.h | 4 +- include/ruby/impl/static_assert.h | 2 +- include/ruby/impl/stdalign.h | 2 +- include/ruby/impl/stdbool.h | 2 +- include/ruby/impl/symbol.h | 14 ++--- include/ruby/impl/token_paste.h | 2 +- include/ruby/impl/value.h | 2 +- include/ruby/impl/value_type.h | 12 ++-- include/ruby/impl/variable.h | 2 +- include/ruby/impl/warning_push.h | 2 +- include/ruby/impl/xmalloc.h | 2 +- 157 files changed, 255 insertions(+), 255 deletions(-) diff --git a/gc.c b/gc.c index 3b2a2d8d9e..063f7935c8 100644 --- a/gc.c +++ b/gc.c @@ -109,7 +109,7 @@ #define rb_jmp_buf rb_jmpbuf_t #undef rb_data_object_wrap -static inline struct ruby3_size_mul_overflow_tag +static inline struct rbimpl_size_mul_overflow_tag size_add_overflow(size_t x, size_t y) { size_t z; @@ -131,24 +131,24 @@ size_add_overflow(size_t x, size_t y) p = z < y; #endif - return (struct ruby3_size_mul_overflow_tag) { p, z, }; + return (struct rbimpl_size_mul_overflow_tag) { p, z, }; } -static inline struct ruby3_size_mul_overflow_tag +static inline struct rbimpl_size_mul_overflow_tag size_mul_add_overflow(size_t x, size_t y, size_t z) /* x * y + z */ { - struct ruby3_size_mul_overflow_tag t = ruby3_size_mul_overflow(x, y); - struct ruby3_size_mul_overflow_tag u = size_add_overflow(t.right, z); - return (struct ruby3_size_mul_overflow_tag) { t.left || u.left, u.right }; + struct rbimpl_size_mul_overflow_tag t = rbimpl_size_mul_overflow(x, y); + struct rbimpl_size_mul_overflow_tag u = size_add_overflow(t.right, z); + return (struct rbimpl_size_mul_overflow_tag) { t.left || u.left, u.right }; } -static inline struct ruby3_size_mul_overflow_tag +static inline struct rbimpl_size_mul_overflow_tag size_mul_add_mul_overflow(size_t x, size_t y, size_t z, size_t w) /* x * y + z * w */ { - struct ruby3_size_mul_overflow_tag t = ruby3_size_mul_overflow(x, y); - struct ruby3_size_mul_overflow_tag u = ruby3_size_mul_overflow(z, w); - struct ruby3_size_mul_overflow_tag v = size_add_overflow(t.right, u.right); - return (struct ruby3_size_mul_overflow_tag) { t.left || u.left || v.left, v.right }; + struct rbimpl_size_mul_overflow_tag t = rbimpl_size_mul_overflow(x, y); + struct rbimpl_size_mul_overflow_tag u = rbimpl_size_mul_overflow(z, w); + struct rbimpl_size_mul_overflow_tag v = size_add_overflow(t.right, u.right); + return (struct rbimpl_size_mul_overflow_tag) { t.left || u.left || v.left, v.right }; } PRINTF_ARGS(NORETURN(static void gc_raise(VALUE, const char*, ...)), 2, 3); @@ -156,7 +156,7 @@ PRINTF_ARGS(NORETURN(static void gc_raise(VALUE, const char*, ...)), 2, 3); static inline size_t size_mul_or_raise(size_t x, size_t y, VALUE exc) { - struct ruby3_size_mul_overflow_tag t = ruby3_size_mul_overflow(x, y); + struct rbimpl_size_mul_overflow_tag t = rbimpl_size_mul_overflow(x, y); if (LIKELY(!t.left)) { return t.right; } @@ -182,7 +182,7 @@ rb_size_mul_or_raise(size_t x, size_t y, VALUE exc) static inline size_t size_mul_add_or_raise(size_t x, size_t y, size_t z, VALUE exc) { - struct ruby3_size_mul_overflow_tag t = size_mul_add_overflow(x, y, z); + struct rbimpl_size_mul_overflow_tag t = size_mul_add_overflow(x, y, z); if (LIKELY(!t.left)) { return t.right; } @@ -209,7 +209,7 @@ rb_size_mul_add_or_raise(size_t x, size_t y, size_t z, VALUE exc) static inline size_t size_mul_add_mul_or_raise(size_t x, size_t y, size_t z, size_t w, VALUE exc) { - struct ruby3_size_mul_overflow_tag t = size_mul_add_mul_overflow(x, y, z, w); + struct rbimpl_size_mul_overflow_tag t = size_mul_add_mul_overflow(x, y, z, w); if (LIKELY(!t.left)) { return t.right; } diff --git a/include/ruby/assert.h b/include/ruby/assert.h index 3c578c46cc..69e160cc39 100644 --- a/include/ruby/assert.h +++ b/include/ruby/assert.h @@ -8,7 +8,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/assume.h b/include/ruby/backward/2/assume.h index d6fbcd7dff..e512ff2430 100644 --- a/include/ruby/backward/2/assume.h +++ b/include/ruby/backward/2/assume.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/attributes.h b/include/ruby/backward/2/attributes.h index 4fd0b99948..fb59d91beb 100644 --- a/include/ruby/backward/2/attributes.h +++ b/include/ruby/backward/2/attributes.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/bool.h b/include/ruby/backward/2/bool.h index c488998dec..08c01fc4f3 100644 --- a/include/ruby/backward/2/bool.h +++ b/include/ruby/backward/2/bool.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/extern.h b/include/ruby/backward/2/extern.h index 8b4987edd3..d7c3e36df5 100644 --- a/include/ruby/backward/2/extern.h +++ b/include/ruby/backward/2/extern.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/gcc_version_since.h b/include/ruby/backward/2/gcc_version_since.h index a0111bc413..bc376bed10 100644 --- a/include/ruby/backward/2/gcc_version_since.h +++ b/include/ruby/backward/2/gcc_version_since.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/inttypes.h b/include/ruby/backward/2/inttypes.h index 91cf9ac9aa..732c8a17c5 100644 --- a/include/ruby/backward/2/inttypes.h +++ b/include/ruby/backward/2/inttypes.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/limits.h b/include/ruby/backward/2/limits.h index 72b41bfc6e..f92db8b0d0 100644 --- a/include/ruby/backward/2/limits.h +++ b/include/ruby/backward/2/limits.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/long_long.h b/include/ruby/backward/2/long_long.h index 938eef62a1..e2dcf9542e 100644 --- a/include/ruby/backward/2/long_long.h +++ b/include/ruby/backward/2/long_long.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/r_cast.h b/include/ruby/backward/2/r_cast.h index a3031fcb39..d3f728eb5c 100644 --- a/include/ruby/backward/2/r_cast.h +++ b/include/ruby/backward/2/r_cast.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/rmodule.h b/include/ruby/backward/2/rmodule.h index dc75248d9e..81ce91395f 100644 --- a/include/ruby/backward/2/rmodule.h +++ b/include/ruby/backward/2/rmodule.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/stdalign.h b/include/ruby/backward/2/stdalign.h index 6d8ce6c77a..26c9b1b904 100644 --- a/include/ruby/backward/2/stdalign.h +++ b/include/ruby/backward/2/stdalign.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/backward/2/stdarg.h b/include/ruby/backward/2/stdarg.h index f94c017804..c2a9ca1e2f 100644 --- a/include/ruby/backward/2/stdarg.h +++ b/include/ruby/backward/2/stdarg.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/anyargs.h b/include/ruby/impl/anyargs.h index e1a8ade1cb..78c979eac0 100644 --- a/include/ruby/impl/anyargs.h +++ b/include/ruby/impl/anyargs.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic.h b/include/ruby/impl/arithmetic.h index 2c00cf2484..f93fa581cd 100644 --- a/include/ruby/impl/arithmetic.h +++ b/include/ruby/impl/arithmetic.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/char.h b/include/ruby/impl/arithmetic/char.h index aa7c417b44..138ba63f58 100644 --- a/include/ruby/impl/arithmetic/char.h +++ b/include/ruby/impl/arithmetic/char.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/double.h b/include/ruby/impl/arithmetic/double.h index 5fc318305b..2c3426ae6b 100644 --- a/include/ruby/impl/arithmetic/double.h +++ b/include/ruby/impl/arithmetic/double.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/fixnum.h b/include/ruby/impl/arithmetic/fixnum.h index 5856fb1925..68544b760b 100644 --- a/include/ruby/impl/arithmetic/fixnum.h +++ b/include/ruby/impl/arithmetic/fixnum.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/gid_t.h b/include/ruby/impl/arithmetic/gid_t.h index 8b83e39aa4..2d4a230a1f 100644 --- a/include/ruby/impl/arithmetic/gid_t.h +++ b/include/ruby/impl/arithmetic/gid_t.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/int.h b/include/ruby/impl/arithmetic/int.h index d253fc54ba..374d10540b 100644 --- a/include/ruby/impl/arithmetic/int.h +++ b/include/ruby/impl/arithmetic/int.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/intptr_t.h b/include/ruby/impl/arithmetic/intptr_t.h index 30a4620b4f..2bbbf652db 100644 --- a/include/ruby/impl/arithmetic/intptr_t.h +++ b/include/ruby/impl/arithmetic/intptr_t.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/long.h b/include/ruby/impl/arithmetic/long.h index ee5cb6da90..d429974eaf 100644 --- a/include/ruby/impl/arithmetic/long.h +++ b/include/ruby/impl/arithmetic/long.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -113,7 +113,7 @@ rb_long2int_inline(long n) RBIMPL_ATTR_CONST_ON_NDEBUG() RBIMPL_ATTR_CONSTEXPR_ON_NDEBUG(CXX14) static inline long -ruby3_fix2long_by_idiv(VALUE x) +rbimpl_fix2long_by_idiv(VALUE x) { RBIMPL_ASSERT_OR_ASSUME(RB_FIXNUM_P(x)); @@ -131,7 +131,7 @@ ruby3_fix2long_by_idiv(VALUE x) RBIMPL_ATTR_CONST_ON_NDEBUG() RBIMPL_ATTR_CONSTEXPR_ON_NDEBUG(CXX14) static inline long -ruby3_fix2long_by_shift(VALUE x) +rbimpl_fix2long_by_shift(VALUE x) { RBIMPL_ASSERT_OR_ASSUME(RB_FIXNUM_P(x)); @@ -148,7 +148,7 @@ ruby3_fix2long_by_shift(VALUE x) RBIMPL_ATTR_CONST() RBIMPL_ATTR_CONSTEXPR(CXX11) static inline bool -ruby3_right_shift_is_arithmetic_p(void) +rbimpl_right_shift_is_arithmetic_p(void) { return (-1 >> 1) == -1; } @@ -158,11 +158,11 @@ RBIMPL_ATTR_CONSTEXPR_ON_NDEBUG(CXX14) static inline long rb_fix2long(VALUE x) { - if /* constexpr */ (ruby3_right_shift_is_arithmetic_p()) { - return ruby3_fix2long_by_shift(x); + if /* constexpr */ (rbimpl_right_shift_is_arithmetic_p()) { + return rbimpl_fix2long_by_shift(x); } else { - return ruby3_fix2long_by_idiv(x); + return rbimpl_fix2long_by_idiv(x); } } diff --git a/include/ruby/impl/arithmetic/long_long.h b/include/ruby/impl/arithmetic/long_long.h index b9a1ee3737..3469421f0e 100644 --- a/include/ruby/impl/arithmetic/long_long.h +++ b/include/ruby/impl/arithmetic/long_long.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/mode_t.h b/include/ruby/impl/arithmetic/mode_t.h index afe06fcd16..81ae129924 100644 --- a/include/ruby/impl/arithmetic/mode_t.h +++ b/include/ruby/impl/arithmetic/mode_t.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/off_t.h b/include/ruby/impl/arithmetic/off_t.h index ed9816269a..2abada5441 100644 --- a/include/ruby/impl/arithmetic/off_t.h +++ b/include/ruby/impl/arithmetic/off_t.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/pid_t.h b/include/ruby/impl/arithmetic/pid_t.h index c25067e0bc..7af279a698 100644 --- a/include/ruby/impl/arithmetic/pid_t.h +++ b/include/ruby/impl/arithmetic/pid_t.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/short.h b/include/ruby/impl/arithmetic/short.h index 46d7baa046..d952e5ba99 100644 --- a/include/ruby/impl/arithmetic/short.h +++ b/include/ruby/impl/arithmetic/short.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/size_t.h b/include/ruby/impl/arithmetic/size_t.h index 12d9a151d4..661e18ed41 100644 --- a/include/ruby/impl/arithmetic/size_t.h +++ b/include/ruby/impl/arithmetic/size_t.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/st_data_t.h b/include/ruby/impl/arithmetic/st_data_t.h index d0c3917c5e..148816c265 100644 --- a/include/ruby/impl/arithmetic/st_data_t.h +++ b/include/ruby/impl/arithmetic/st_data_t.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/arithmetic/uid_t.h b/include/ruby/impl/arithmetic/uid_t.h index 1a08139c1a..8ea42f5c92 100644 --- a/include/ruby/impl/arithmetic/uid_t.h +++ b/include/ruby/impl/arithmetic/uid_t.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/assume.h b/include/ruby/impl/assume.h index f7d6f2809b..fa4a89514a 100644 --- a/include/ruby/impl/assume.h +++ b/include/ruby/impl/assume.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/alloc_size.h b/include/ruby/impl/attr/alloc_size.h index e48a8db5d2..9dd79f15fc 100644 --- a/include/ruby/impl/attr/alloc_size.h +++ b/include/ruby/impl/attr/alloc_size.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/artificial.h b/include/ruby/impl/attr/artificial.h index a20c6e5d94..7c9dc3e175 100644 --- a/include/ruby/impl/attr/artificial.h +++ b/include/ruby/impl/attr/artificial.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/cold.h b/include/ruby/impl/attr/cold.h index 925f0efce0..85877b6136 100644 --- a/include/ruby/impl/attr/cold.h +++ b/include/ruby/impl/attr/cold.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/const.h b/include/ruby/impl/attr/const.h index c2d70bef7e..85892ea464 100644 --- a/include/ruby/impl/attr/const.h +++ b/include/ruby/impl/attr/const.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/constexpr.h b/include/ruby/impl/attr/constexpr.h index 206ec900e1..4b6cc81e3b 100644 --- a/include/ruby/impl/attr/constexpr.h +++ b/include/ruby/impl/attr/constexpr.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/deprecated.h b/include/ruby/impl/attr/deprecated.h index 5c8b58af84..c603d58a1f 100644 --- a/include/ruby/impl/attr/deprecated.h +++ b/include/ruby/impl/attr/deprecated.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/diagnose_if.h b/include/ruby/impl/attr/diagnose_if.h index 6b30a641c6..ba6e8626e3 100644 --- a/include/ruby/impl/attr/diagnose_if.h +++ b/include/ruby/impl/attr/diagnose_if.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/enum_extensibility.h b/include/ruby/impl/attr/enum_extensibility.h index 65e461bfb0..d5d25e03d7 100644 --- a/include/ruby/impl/attr/enum_extensibility.h +++ b/include/ruby/impl/attr/enum_extensibility.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/error.h b/include/ruby/impl/attr/error.h index df62738b3c..b46b306fb9 100644 --- a/include/ruby/impl/attr/error.h +++ b/include/ruby/impl/attr/error.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/flag_enum.h b/include/ruby/impl/attr/flag_enum.h index a31a4f012d..e769708d93 100644 --- a/include/ruby/impl/attr/flag_enum.h +++ b/include/ruby/impl/attr/flag_enum.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/forceinline.h b/include/ruby/impl/attr/forceinline.h index 1b9e54eca9..8d60a63437 100644 --- a/include/ruby/impl/attr/forceinline.h +++ b/include/ruby/impl/attr/forceinline.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/format.h b/include/ruby/impl/attr/format.h index e111371395..368c9f8797 100644 --- a/include/ruby/impl/attr/format.h +++ b/include/ruby/impl/attr/format.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/maybe_unused.h b/include/ruby/impl/attr/maybe_unused.h index c0b73d6f68..d554603db5 100644 --- a/include/ruby/impl/attr/maybe_unused.h +++ b/include/ruby/impl/attr/maybe_unused.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/noalias.h b/include/ruby/impl/attr/noalias.h index 9df5c926c8..8243995c1e 100644 --- a/include/ruby/impl/attr/noalias.h +++ b/include/ruby/impl/attr/noalias.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/nodiscard.h b/include/ruby/impl/attr/nodiscard.h index 3bc9b805c8..ee3a1347df 100644 --- a/include/ruby/impl/attr/nodiscard.h +++ b/include/ruby/impl/attr/nodiscard.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/noexcept.h b/include/ruby/impl/attr/noexcept.h index 3d25886f35..ac0ec4c10d 100644 --- a/include/ruby/impl/attr/noexcept.h +++ b/include/ruby/impl/attr/noexcept.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/noinline.h b/include/ruby/impl/attr/noinline.h index c59be3a980..c2cc007969 100644 --- a/include/ruby/impl/attr/noinline.h +++ b/include/ruby/impl/attr/noinline.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/nonnull.h b/include/ruby/impl/attr/nonnull.h index fb6916f1bc..a1d0320e1d 100644 --- a/include/ruby/impl/attr/nonnull.h +++ b/include/ruby/impl/attr/nonnull.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/noreturn.h b/include/ruby/impl/attr/noreturn.h index 5033dd1656..66a9b42947 100644 --- a/include/ruby/impl/attr/noreturn.h +++ b/include/ruby/impl/attr/noreturn.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/pure.h b/include/ruby/impl/attr/pure.h index 6d43f3fdcd..a5bb51b76f 100644 --- a/include/ruby/impl/attr/pure.h +++ b/include/ruby/impl/attr/pure.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/restrict.h b/include/ruby/impl/attr/restrict.h index fab2d3c7a4..313e8020bd 100644 --- a/include/ruby/impl/attr/restrict.h +++ b/include/ruby/impl/attr/restrict.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/returns_nonnull.h b/include/ruby/impl/attr/returns_nonnull.h index 28f94effc3..f656d70c8c 100644 --- a/include/ruby/impl/attr/returns_nonnull.h +++ b/include/ruby/impl/attr/returns_nonnull.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/warning.h b/include/ruby/impl/attr/warning.h index 497b48c41e..e7585e0417 100644 --- a/include/ruby/impl/attr/warning.h +++ b/include/ruby/impl/attr/warning.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/attr/weakref.h b/include/ruby/impl/attr/weakref.h index 8593196685..769ce017e0 100644 --- a/include/ruby/impl/attr/weakref.h +++ b/include/ruby/impl/attr/weakref.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/cast.h b/include/ruby/impl/cast.h index 8e77534d77..4524d63f17 100644 --- a/include/ruby/impl/cast.h +++ b/include/ruby/impl/cast.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/compiler_is.h b/include/ruby/impl/compiler_is.h index da74a36783..3f34bc1a15 100644 --- a/include/ruby/impl/compiler_is.h +++ b/include/ruby/impl/compiler_is.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/compiler_is/apple.h b/include/ruby/impl/compiler_is/apple.h index a9412feb5f..5a5f558254 100644 --- a/include/ruby/impl/compiler_is/apple.h +++ b/include/ruby/impl/compiler_is/apple.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/compiler_is/clang.h b/include/ruby/impl/compiler_is/clang.h index 43db01bf22..40646750cb 100644 --- a/include/ruby/impl/compiler_is/clang.h +++ b/include/ruby/impl/compiler_is/clang.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/compiler_is/gcc.h b/include/ruby/impl/compiler_is/gcc.h index 39e57b5761..06f0b2b9f6 100644 --- a/include/ruby/impl/compiler_is/gcc.h +++ b/include/ruby/impl/compiler_is/gcc.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/compiler_is/intel.h b/include/ruby/impl/compiler_is/intel.h index 61b82d42e8..ada120485e 100644 --- a/include/ruby/impl/compiler_is/intel.h +++ b/include/ruby/impl/compiler_is/intel.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/compiler_is/msvc.h b/include/ruby/impl/compiler_is/msvc.h index 6d380b5937..f66050e9c4 100644 --- a/include/ruby/impl/compiler_is/msvc.h +++ b/include/ruby/impl/compiler_is/msvc.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/compiler_is/sunpro.h b/include/ruby/impl/compiler_is/sunpro.h index c5fd22b43b..2eb7b892f2 100644 --- a/include/ruby/impl/compiler_is/sunpro.h +++ b/include/ruby/impl/compiler_is/sunpro.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/compiler_since.h b/include/ruby/impl/compiler_since.h index 858b52639b..bdc6cac526 100644 --- a/include/ruby/impl/compiler_since.h +++ b/include/ruby/impl/compiler_since.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/config.h b/include/ruby/impl/config.h index df259d0137..e6c4d12488 100644 --- a/include/ruby/impl/config.h +++ b/include/ruby/impl/config.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/constant_p.h b/include/ruby/impl/constant_p.h index 5644021065..bfc8d05580 100644 --- a/include/ruby/impl/constant_p.h +++ b/include/ruby/impl/constant_p.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core.h b/include/ruby/impl/core.h index acf2b9a22c..a9c8c080db 100644 --- a/include/ruby/impl/core.h +++ b/include/ruby/impl/core.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rarray.h b/include/ruby/impl/core/rarray.h index 8906cd29d9..04f8f0dd49 100644 --- a/include/ruby/impl/core/rarray.h +++ b/include/ruby/impl/core/rarray.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -224,10 +224,10 @@ rb_array_ptr_use_end(VALUE a, #define RBIMPL_RARRAY_STMT(flag, ary, var, expr) do { \ RBIMPL_ASSERT_TYPE((ary), RUBY_T_ARRAY); \ - const VALUE ruby3_ary = (ary); \ - VALUE *var = rb_array_ptr_use_start(ruby3_ary, (flag)); \ + const VALUE rbimpl_ary = (ary); \ + VALUE *var = rb_array_ptr_use_start(rbimpl_ary, (flag)); \ expr; \ - rb_array_ptr_use_end(ruby3_ary, (flag)); \ + rb_array_ptr_use_end(rbimpl_ary, (flag)); \ } while (0) #define RARRAY_PTR_USE_START(a) rb_array_ptr_use_start(a, 0) diff --git a/include/ruby/impl/core/rbasic.h b/include/ruby/impl/core/rbasic.h index 7c04d64398..751b30c24c 100644 --- a/include/ruby/impl/core/rbasic.h +++ b/include/ruby/impl/core/rbasic.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rbignum.h b/include/ruby/impl/core/rbignum.h index 4922ef1c17..9a77456ba3 100644 --- a/include/ruby/impl/core/rbignum.h +++ b/include/ruby/impl/core/rbignum.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rclass.h b/include/ruby/impl/core/rclass.h index 6926ac4780..c9864e2436 100644 --- a/include/ruby/impl/core/rclass.h +++ b/include/ruby/impl/core/rclass.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rdata.h b/include/ruby/impl/core/rdata.h index 5ae492d728..4a0b09498c 100644 --- a/include/ruby/impl/core/rdata.h +++ b/include/ruby/impl/core/rdata.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rfile.h b/include/ruby/impl/core/rfile.h index eb3ca7cf52..4f3ff3f8af 100644 --- a/include/ruby/impl/core/rfile.h +++ b/include/ruby/impl/core/rfile.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rhash.h b/include/ruby/impl/core/rhash.h index d0ef1a56f0..a4be7a3a11 100644 --- a/include/ruby/impl/core/rhash.h +++ b/include/ruby/impl/core/rhash.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rmatch.h b/include/ruby/impl/core/rmatch.h index dea929c38b..9474b82e4c 100644 --- a/include/ruby/impl/core/rmatch.h +++ b/include/ruby/impl/core/rmatch.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/robject.h b/include/ruby/impl/core/robject.h index df0ab31a54..5a65bc1d0a 100644 --- a/include/ruby/impl/core/robject.h +++ b/include/ruby/impl/core/robject.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rregexp.h b/include/ruby/impl/core/rregexp.h index 74ef52d7ae..eff7bcc6e9 100644 --- a/include/ruby/impl/core/rregexp.h +++ b/include/ruby/impl/core/rregexp.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rstring.h b/include/ruby/impl/core/rstring.h index ab89bcd3e3..683635c5ac 100644 --- a/include/ruby/impl/core/rstring.h +++ b/include/ruby/impl/core/rstring.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -120,7 +120,7 @@ RBIMPL_WARNING_IGNORED(413) RBIMPL_ATTR_PURE_ON_NDEBUG() RBIMPL_ATTR_ARTIFICIAL() static inline struct RString -ruby3_rstring_getmem(VALUE str) +rbimpl_rstring_getmem(VALUE str) { RBIMPL_ASSERT_TYPE(str, RUBY_T_STRING); @@ -143,14 +143,14 @@ RBIMPL_ATTR_ARTIFICIAL() static inline long RSTRING_LEN(VALUE str) { - return ruby3_rstring_getmem(str).as.heap.len; + return rbimpl_rstring_getmem(str).as.heap.len; } RBIMPL_ATTR_ARTIFICIAL() static inline char * RSTRING_PTR(VALUE str) { - char *ptr = ruby3_rstring_getmem(str).as.heap.ptr; + char *ptr = rbimpl_rstring_getmem(str).as.heap.ptr; if (RB_UNLIKELY(! ptr)) { /* :BEWARE: @shyouhei thinks that currently, there are rooms for this @@ -178,7 +178,7 @@ RBIMPL_ATTR_ARTIFICIAL() static inline char * RSTRING_END(VALUE str) { - struct RString buf = ruby3_rstring_getmem(str); + struct RString buf = rbimpl_rstring_getmem(str); if (RB_UNLIKELY(! buf.as.heap.ptr)) { /* Ditto. */ @@ -203,9 +203,9 @@ RSTRING_LENINT(VALUE str) #ifdef HAVE_STMT_AND_DECL_IN_EXPR # define RSTRING_GETMEM(str, ptrvar, lenvar) \ __extension__ ({ \ - struct RString ruby3_str = ruby3_rstring_getmem(str); \ - (ptrvar) = ruby3_str.as.heap.ptr; \ - (lenvar) = ruby3_str.as.heap.len; \ + struct RString rbimpl_str = rbimpl_rstring_getmem(str); \ + (ptrvar) = rbimpl_str.as.heap.ptr; \ + (lenvar) = rbimpl_str.as.heap.len; \ }) #else # define RSTRING_GETMEM(str, ptrvar, lenvar) \ diff --git a/include/ruby/impl/core/rstruct.h b/include/ruby/impl/core/rstruct.h index c63bab7861..9f873adad2 100644 --- a/include/ruby/impl/core/rstruct.h +++ b/include/ruby/impl/core/rstruct.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/core/rtypeddata.h b/include/ruby/impl/core/rtypeddata.h index 0532baad68..49e55dcf91 100644 --- a/include/ruby/impl/core/rtypeddata.h +++ b/include/ruby/impl/core/rtypeddata.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -57,7 +57,7 @@ /** @endcond */ /* bits for rb_data_type_struct::flags */ -enum ruby3_typeddata_flags { +enum rbimpl_typeddata_flags { RUBY_TYPED_FREE_IMMEDIATELY = 1, RUBY_TYPED_WB_PROTECTED = RUBY_FL_WB_PROTECTED, /* THIS FLAG DEPENDS ON Ruby version */ RUBY_TYPED_PROMOTED1 = RUBY_FL_PROMOTED1 /* THIS FLAG DEPENDS ON Ruby version */ @@ -131,7 +131,7 @@ RBIMPL_SYMBOL_EXPORT_END() RBIMPL_ATTR_PURE() RBIMPL_ATTR_ARTIFICIAL() static inline bool -ruby3_rtypeddata_p(VALUE obj) +rbimpl_rtypeddata_p(VALUE obj) { return RTYPEDDATA(obj)->typed_flag == 1; } @@ -148,7 +148,7 @@ RTYPEDDATA_P(VALUE obj) } #endif - return ruby3_rtypeddata_p(obj); + return rbimpl_rtypeddata_p(obj); } RBIMPL_ATTR_PURE_ON_NDEBUG() diff --git a/include/ruby/impl/ctype.h b/include/ruby/impl/ctype.h index a01abff1f6..7a8f032c58 100644 --- a/include/ruby/impl/ctype.h +++ b/include/ruby/impl/ctype.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/dllexport.h b/include/ruby/impl/dllexport.h index 9125b9d5ee..ae1589d811 100644 --- a/include/ruby/impl/dllexport.h +++ b/include/ruby/impl/dllexport.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/dosish.h b/include/ruby/impl/dosish.h index 9a58db09f0..eb71e36505 100644 --- a/include/ruby/impl/dosish.h +++ b/include/ruby/impl/dosish.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/error.h b/include/ruby/impl/error.h index 2e4c0bc7dd..a7458f8e1b 100644 --- a/include/ruby/impl/error.h +++ b/include/ruby/impl/error.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/eval.h b/include/ruby/impl/eval.h index 2b98700e66..ea59b4c6fd 100644 --- a/include/ruby/impl/eval.h +++ b/include/ruby/impl/eval.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/event.h b/include/ruby/impl/event.h index b20bac7a02..7af74261b0 100644 --- a/include/ruby/impl/event.h +++ b/include/ruby/impl/event.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/fl_type.h b/include/ruby/impl/fl_type.h index ce21f2817d..cca1bad391 100644 --- a/include/ruby/impl/fl_type.h +++ b/include/ruby/impl/fl_type.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -283,7 +283,7 @@ RB_FL_ALL(VALUE obj, VALUE flags) RBIMPL_ATTR_NOALIAS() RBIMPL_ATTR_ARTIFICIAL() static inline void -ruby3_fl_set_raw_raw(struct RBasic *obj, VALUE flags) +rbimpl_fl_set_raw_raw(struct RBasic *obj, VALUE flags) { obj->flags |= flags; } @@ -293,7 +293,7 @@ static inline void RB_FL_SET_RAW(VALUE obj, VALUE flags) { RBIMPL_ASSERT_OR_ASSUME(RB_FL_ABLE(obj)); - ruby3_fl_set_raw_raw(RBASIC(obj), flags); + rbimpl_fl_set_raw_raw(RBASIC(obj), flags); } RBIMPL_ATTR_ARTIFICIAL() @@ -308,7 +308,7 @@ RB_FL_SET(VALUE obj, VALUE flags) RBIMPL_ATTR_NOALIAS() RBIMPL_ATTR_ARTIFICIAL() static inline void -ruby3_fl_unset_raw_raw(struct RBasic *obj, VALUE flags) +rbimpl_fl_unset_raw_raw(struct RBasic *obj, VALUE flags) { obj->flags &= ~flags; } @@ -318,7 +318,7 @@ static inline void RB_FL_UNSET_RAW(VALUE obj, VALUE flags) { RBIMPL_ASSERT_OR_ASSUME(RB_FL_ABLE(obj)); - ruby3_fl_unset_raw_raw(RBASIC(obj), flags); + rbimpl_fl_unset_raw_raw(RBASIC(obj), flags); } RBIMPL_ATTR_ARTIFICIAL() @@ -333,7 +333,7 @@ RB_FL_UNSET(VALUE obj, VALUE flags) RBIMPL_ATTR_NOALIAS() RBIMPL_ATTR_ARTIFICIAL() static inline void -ruby3_fl_reverse_raw_raw(struct RBasic *obj, VALUE flags) +rbimpl_fl_reverse_raw_raw(struct RBasic *obj, VALUE flags) { obj->flags ^= flags; } @@ -343,7 +343,7 @@ static inline void RB_FL_REVERSE_RAW(VALUE obj, VALUE flags) { RBIMPL_ASSERT_OR_ASSUME(RB_FL_ABLE(obj)); - ruby3_fl_reverse_raw_raw(RBASIC(obj), flags); + rbimpl_fl_reverse_raw_raw(RBASIC(obj), flags); } RBIMPL_ATTR_ARTIFICIAL() diff --git a/include/ruby/impl/gc.h b/include/ruby/impl/gc.h index 8e4b54fa4f..029bbe4fc2 100644 --- a/include/ruby/impl/gc.h +++ b/include/ruby/impl/gc.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/glob.h b/include/ruby/impl/glob.h index 2f53268ac9..2764b94d02 100644 --- a/include/ruby/impl/glob.h +++ b/include/ruby/impl/glob.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/globals.h b/include/ruby/impl/globals.h index 9efd43cd59..cfffd0504d 100644 --- a/include/ruby/impl/globals.h +++ b/include/ruby/impl/globals.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/has/attribute.h b/include/ruby/impl/has/attribute.h index f4185b4b93..af51b93298 100644 --- a/include/ruby/impl/has/attribute.h +++ b/include/ruby/impl/has/attribute.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/has/builtin.h b/include/ruby/impl/has/builtin.h index 5ec7e23559..46f587c2cf 100644 --- a/include/ruby/impl/has/builtin.h +++ b/include/ruby/impl/has/builtin.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/has/c_attribute.h b/include/ruby/impl/has/c_attribute.h index 874d83467d..b7eb94d22a 100644 --- a/include/ruby/impl/has/c_attribute.h +++ b/include/ruby/impl/has/c_attribute.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/has/cpp_attribute.h b/include/ruby/impl/has/cpp_attribute.h index 69ea5fbc55..12847a11d6 100644 --- a/include/ruby/impl/has/cpp_attribute.h +++ b/include/ruby/impl/has/cpp_attribute.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/has/declspec_attribute.h b/include/ruby/impl/has/declspec_attribute.h index 5f1d388245..ba6ad98fce 100644 --- a/include/ruby/impl/has/declspec_attribute.h +++ b/include/ruby/impl/has/declspec_attribute.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/has/extension.h b/include/ruby/impl/has/extension.h index d1cbc9b1d6..02a48bc74c 100644 --- a/include/ruby/impl/has/extension.h +++ b/include/ruby/impl/has/extension.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/has/feature.h b/include/ruby/impl/has/feature.h index bc0c5b22ad..b827590c00 100644 --- a/include/ruby/impl/has/feature.h +++ b/include/ruby/impl/has/feature.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/has/warning.h b/include/ruby/impl/has/warning.h index 4200ce877d..03975ecc2f 100644 --- a/include/ruby/impl/has/warning.h +++ b/include/ruby/impl/has/warning.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/array.h b/include/ruby/impl/intern/array.h index e95bde56ff..bfa12191c4 100644 --- a/include/ruby/impl/intern/array.h +++ b/include/ruby/impl/intern/array.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/bignum.h b/include/ruby/impl/intern/bignum.h index 0117fa3d45..5af4c0ae42 100644 --- a/include/ruby/impl/intern/bignum.h +++ b/include/ruby/impl/intern/bignum.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/class.h b/include/ruby/impl/intern/class.h index d7243b2988..7a1cadd5b4 100644 --- a/include/ruby/impl/intern/class.h +++ b/include/ruby/impl/intern/class.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/compar.h b/include/ruby/impl/intern/compar.h index 1a45df411c..c762dc1e24 100644 --- a/include/ruby/impl/intern/compar.h +++ b/include/ruby/impl/intern/compar.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/complex.h b/include/ruby/impl/intern/complex.h index 0244e03715..c3841cfdb6 100644 --- a/include/ruby/impl/intern/complex.h +++ b/include/ruby/impl/intern/complex.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/cont.h b/include/ruby/impl/intern/cont.h index d68f7abe47..16c3cf8be1 100644 --- a/include/ruby/impl/intern/cont.h +++ b/include/ruby/impl/intern/cont.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/dir.h b/include/ruby/impl/intern/dir.h index 2b773d0974..6fcf274a28 100644 --- a/include/ruby/impl/intern/dir.h +++ b/include/ruby/impl/intern/dir.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/enum.h b/include/ruby/impl/intern/enum.h index 7a0c15d6e7..ef6fffe444 100644 --- a/include/ruby/impl/intern/enum.h +++ b/include/ruby/impl/intern/enum.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/enumerator.h b/include/ruby/impl/intern/enumerator.h index 133e5574bd..8f64b58de2 100644 --- a/include/ruby/impl/intern/enumerator.h +++ b/include/ruby/impl/intern/enumerator.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/error.h b/include/ruby/impl/intern/error.h index a319ceb248..0cc5e1c858 100644 --- a/include/ruby/impl/intern/error.h +++ b/include/ruby/impl/intern/error.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/eval.h b/include/ruby/impl/intern/eval.h index a2fff009c3..75374df6be 100644 --- a/include/ruby/impl/intern/eval.h +++ b/include/ruby/impl/intern/eval.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/file.h b/include/ruby/impl/intern/file.h index 8d3c2ab166..ed8e50cba6 100644 --- a/include/ruby/impl/intern/file.h +++ b/include/ruby/impl/intern/file.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/gc.h b/include/ruby/impl/intern/gc.h index 2d036c56cf..a75785cc49 100644 --- a/include/ruby/impl/intern/gc.h +++ b/include/ruby/impl/intern/gc.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/hash.h b/include/ruby/impl/intern/hash.h index aa82e0bbf5..3f0a930131 100644 --- a/include/ruby/impl/intern/hash.h +++ b/include/ruby/impl/intern/hash.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/io.h b/include/ruby/impl/intern/io.h index 2e8657d780..6b0133dddf 100644 --- a/include/ruby/impl/intern/io.h +++ b/include/ruby/impl/intern/io.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/load.h b/include/ruby/impl/intern/load.h index 83a2bee5bf..d165237bfc 100644 --- a/include/ruby/impl/intern/load.h +++ b/include/ruby/impl/intern/load.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/marshal.h b/include/ruby/impl/intern/marshal.h index 5f59a44d5a..88473ba4e3 100644 --- a/include/ruby/impl/intern/marshal.h +++ b/include/ruby/impl/intern/marshal.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/numeric.h b/include/ruby/impl/intern/numeric.h index c26191d40a..fa4b1daa74 100644 --- a/include/ruby/impl/intern/numeric.h +++ b/include/ruby/impl/intern/numeric.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/object.h b/include/ruby/impl/intern/object.h index 0436801644..808836fbda 100644 --- a/include/ruby/impl/intern/object.h +++ b/include/ruby/impl/intern/object.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/parse.h b/include/ruby/impl/intern/parse.h index dbdb3f21a9..cc6424f539 100644 --- a/include/ruby/impl/intern/parse.h +++ b/include/ruby/impl/intern/parse.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/proc.h b/include/ruby/impl/intern/proc.h index de3154e505..7ee864d9a3 100644 --- a/include/ruby/impl/intern/proc.h +++ b/include/ruby/impl/intern/proc.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/process.h b/include/ruby/impl/intern/process.h index 2c9b95426d..bbbea1f86a 100644 --- a/include/ruby/impl/intern/process.h +++ b/include/ruby/impl/intern/process.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/random.h b/include/ruby/impl/intern/random.h index 6c655ef1d0..2f054cd688 100644 --- a/include/ruby/impl/intern/random.h +++ b/include/ruby/impl/intern/random.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/range.h b/include/ruby/impl/intern/range.h index 06b5231e42..0841baa0d5 100644 --- a/include/ruby/impl/intern/range.h +++ b/include/ruby/impl/intern/range.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/rational.h b/include/ruby/impl/intern/rational.h index 1388814aa3..d56a6ec752 100644 --- a/include/ruby/impl/intern/rational.h +++ b/include/ruby/impl/intern/rational.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/re.h b/include/ruby/impl/intern/re.h index 7de6e24a60..4392cef1a2 100644 --- a/include/ruby/impl/intern/re.h +++ b/include/ruby/impl/intern/re.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/ruby.h b/include/ruby/impl/intern/ruby.h index 864b6f3f9e..bbfda510d5 100644 --- a/include/ruby/impl/intern/ruby.h +++ b/include/ruby/impl/intern/ruby.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/select.h b/include/ruby/impl/intern/select.h index 51272af219..09244dcce5 100644 --- a/include/ruby/impl/intern/select.h +++ b/include/ruby/impl/intern/select.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/select/largesize.h b/include/ruby/impl/intern/select/largesize.h index ce3b79510e..c5f321f1dc 100644 --- a/include/ruby/impl/intern/select/largesize.h +++ b/include/ruby/impl/intern/select/largesize.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/select/posix.h b/include/ruby/impl/intern/select/posix.h index 1c2738a336..a2ac51df92 100644 --- a/include/ruby/impl/intern/select/posix.h +++ b/include/ruby/impl/intern/select/posix.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/select/win32.h b/include/ruby/impl/intern/select/win32.h index f45a733f59..0a1da61e63 100644 --- a/include/ruby/impl/intern/select/win32.h +++ b/include/ruby/impl/intern/select/win32.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/signal.h b/include/ruby/impl/intern/signal.h index 54350f5207..43ce470c2e 100644 --- a/include/ruby/impl/intern/signal.h +++ b/include/ruby/impl/intern/signal.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/sprintf.h b/include/ruby/impl/intern/sprintf.h index 49542f28d8..c2b1818cdf 100644 --- a/include/ruby/impl/intern/sprintf.h +++ b/include/ruby/impl/intern/sprintf.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/string.h b/include/ruby/impl/intern/string.h index ebfbe71eae..ba4107c79f 100644 --- a/include/ruby/impl/intern/string.h +++ b/include/ruby/impl/intern/string.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -133,13 +133,13 @@ VALUE rb_str_succ(VALUE); RBIMPL_ATTR_NONNULL(()) static inline long -ruby3_strlen(const char *str) +rbimpl_strlen(const char *str) { return RBIMPL_CAST((long)strlen(str)); } static inline VALUE -ruby3_str_new(const char *str, long len) +rbimpl_str_new(const char *str, long len) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_str_new(str, len); @@ -153,19 +153,19 @@ ruby3_str_new(const char *str, long len) } static inline VALUE -ruby3_str_new_cstr(const char *str) +rbimpl_str_new_cstr(const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_str_new_cstr(str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); return rb_str_new_static(str, len); } } static inline VALUE -ruby3_usascii_str_new(const char *str, long len) +rbimpl_usascii_str_new(const char *str, long len) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_usascii_str_new(str, len); @@ -179,7 +179,7 @@ ruby3_usascii_str_new(const char *str, long len) } static inline VALUE -ruby3_utf8_str_new(const char *str, long len) +rbimpl_utf8_str_new(const char *str, long len) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_utf8_str_new(str, len); @@ -193,114 +193,114 @@ ruby3_utf8_str_new(const char *str, long len) } static inline VALUE -ruby3_tainted_str_new_cstr(const char *str) +rbimpl_tainted_str_new_cstr(const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_tainted_str_new_cstr(str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); return rb_tainted_str_new(str, len); } } static inline VALUE -ruby3_usascii_str_new_cstr(const char *str) +rbimpl_usascii_str_new_cstr(const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_usascii_str_new_cstr(str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); return rb_usascii_str_new_static(str, len); } } static inline VALUE -ruby3_utf8_str_new_cstr(const char *str) +rbimpl_utf8_str_new_cstr(const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_utf8_str_new_cstr(str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); return rb_utf8_str_new_static(str, len); } } static inline VALUE -ruby3_external_str_new_cstr(const char *str) +rbimpl_external_str_new_cstr(const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_external_str_new_cstr(str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); return rb_external_str_new(str, len); } } static inline VALUE -ruby3_locale_str_new_cstr(const char *str) +rbimpl_locale_str_new_cstr(const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_locale_str_new_cstr(str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); return rb_locale_str_new(str, len); } } static inline VALUE -ruby3_str_buf_new_cstr(const char *str) +rbimpl_str_buf_new_cstr(const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_str_buf_new_cstr(str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); VALUE buf = rb_str_buf_new(len); return rb_str_buf_cat(buf, str, len); } } static inline VALUE -ruby3_str_cat_cstr(VALUE buf, const char *str) +rbimpl_str_cat_cstr(VALUE buf, const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_str_cat_cstr(buf, str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); return rb_str_cat(buf, str, len); } } static inline VALUE -ruby3_exc_new_cstr(VALUE exc, const char *str) +rbimpl_exc_new_cstr(VALUE exc, const char *str) { if /* constexpr */ (! RBIMPL_CONSTANT_P(str)) { return rb_exc_new_cstr(exc, str); } else { - long len = ruby3_strlen(str); + long len = rbimpl_strlen(str); return rb_exc_new(exc, str, len); } } -#define rb_str_new ruby3_str_new -#define rb_str_new_cstr ruby3_str_new_cstr -#define rb_usascii_str_new ruby3_usascii_str_new -#define rb_utf8_str_new ruby3_utf8_str_new -#define rb_tainted_str_new_cstr ruby3_tainted_str_new_cstr -#define rb_usascii_str_new_cstr ruby3_usascii_str_new_cstr -#define rb_utf8_str_new_cstr ruby3_utf8_str_new_cstr -#define rb_external_str_new_cstr ruby3_external_str_new_cstr -#define rb_locale_str_new_cstr ruby3_locale_str_new_cstr -#define rb_str_buf_new_cstr ruby3_str_buf_new_cstr -#define rb_str_cat_cstr ruby3_str_cat_cstr -#define rb_exc_new_cstr ruby3_exc_new_cstr +#define rb_str_new rbimpl_str_new +#define rb_str_new_cstr rbimpl_str_new_cstr +#define rb_usascii_str_new rbimpl_usascii_str_new +#define rb_utf8_str_new rbimpl_utf8_str_new +#define rb_tainted_str_new_cstr rbimpl_tainted_str_new_cstr +#define rb_usascii_str_new_cstr rbimpl_usascii_str_new_cstr +#define rb_utf8_str_new_cstr rbimpl_utf8_str_new_cstr +#define rb_external_str_new_cstr rbimpl_external_str_new_cstr +#define rb_locale_str_new_cstr rbimpl_locale_str_new_cstr +#define rb_str_buf_new_cstr rbimpl_str_buf_new_cstr +#define rb_str_cat_cstr rbimpl_str_cat_cstr +#define rb_exc_new_cstr rbimpl_exc_new_cstr #define rb_str_new2 rb_str_new_cstr #define rb_str_new3 rb_str_new_shared #define rb_str_new4 rb_str_new_frozen diff --git a/include/ruby/impl/intern/struct.h b/include/ruby/impl/intern/struct.h index dce5803719..18d1058d9f 100644 --- a/include/ruby/impl/intern/struct.h +++ b/include/ruby/impl/intern/struct.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/thread.h b/include/ruby/impl/intern/thread.h index 5dbac1a2d1..38784fcca3 100644 --- a/include/ruby/impl/intern/thread.h +++ b/include/ruby/impl/intern/thread.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/time.h b/include/ruby/impl/intern/time.h index 7e27c21983..b49802ccf4 100644 --- a/include/ruby/impl/intern/time.h +++ b/include/ruby/impl/intern/time.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/variable.h b/include/ruby/impl/intern/variable.h index ea5fd84270..d8de93a8d6 100644 --- a/include/ruby/impl/intern/variable.h +++ b/include/ruby/impl/intern/variable.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/intern/vm.h b/include/ruby/impl/intern/vm.h index 3fae369114..1fc8423dde 100644 --- a/include/ruby/impl/intern/vm.h +++ b/include/ruby/impl/intern/vm.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/interpreter.h b/include/ruby/impl/interpreter.h index 3145cf6410..23b70b2926 100644 --- a/include/ruby/impl/interpreter.h +++ b/include/ruby/impl/interpreter.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/iterator.h b/include/ruby/impl/iterator.h index 26633e8d44..980c6ebf7f 100644 --- a/include/ruby/impl/iterator.h +++ b/include/ruby/impl/iterator.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/memory.h b/include/ruby/impl/memory.h index 9d8b5c8412..8525cff96c 100644 --- a/include/ruby/impl/memory.h +++ b/include/ruby/impl/memory.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -115,11 +115,11 @@ extern void *alloca(); # define ALLOCA_N(type, n) \ RBIMPL_CAST((type *) \ __builtin_alloca_with_align( \ - ruby3_size_mul_or_raise(sizeof(type), (n)), \ + rbimpl_size_mul_or_raise(sizeof(type), (n)), \ RUBY_ALIGNOF(type) * CHAR_BIT)) #else # define ALLOCA_N(type,n) \ - RBIMPL_CAST((type *)alloca(ruby3_size_mul_or_raise(sizeof(type), (n)))) + RBIMPL_CAST((type *)alloca(rbimpl_size_mul_or_raise(sizeof(type), (n)))) #endif /* allocates _n_ bytes temporary buffer and stores VALUE including it @@ -135,10 +135,10 @@ extern void *alloca(); rb_alloc_tmp_buffer2(&(v), (n), sizeof(type)))) #define RB_ALLOCV_END(v) rb_free_tmp_buffer(&(v)) -#define MEMZERO(p,type,n) memset((p), 0, ruby3_size_mul_or_raise(sizeof(type), (n))) -#define MEMCPY(p1,p2,type,n) memcpy((p1), (p2), ruby3_size_mul_or_raise(sizeof(type), (n))) -#define MEMMOVE(p1,p2,type,n) memmove((p1), (p2), ruby3_size_mul_or_raise(sizeof(type), (n))) -#define MEMCMP(p1,p2,type,n) memcmp((p1), (p2), ruby3_size_mul_or_raise(sizeof(type), (n))) +#define MEMZERO(p,type,n) memset((p), 0, rbimpl_size_mul_or_raise(sizeof(type), (n))) +#define MEMCPY(p1,p2,type,n) memcpy((p1), (p2), rbimpl_size_mul_or_raise(sizeof(type), (n))) +#define MEMMOVE(p1,p2,type,n) memmove((p1), (p2), rbimpl_size_mul_or_raise(sizeof(type), (n))) +#define MEMCMP(p1,p2,type,n) memcmp((p1), (p2), rbimpl_size_mul_or_raise(sizeof(type), (n))) #define ALLOC_N RB_ALLOC_N #define ALLOC RB_ALLOC @@ -150,7 +150,7 @@ extern void *alloca(); #define ALLOCV_END RB_ALLOCV_END /* Expecting this struct to be eliminated by function inlinings */ -struct ruby3_size_mul_overflow_tag { +struct rbimpl_size_mul_overflow_tag { bool left; size_t right; }; @@ -212,10 +212,10 @@ RBIMPL_ATTR_CONSTEXPR(CXX14) /* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=705 RBIMPL_ATTR_CONSTEXPR(CXX14) /* https://bugs.llvm.org/show_bug.cgi?id=37633 */ #endif RBIMPL_ATTR_CONST() -static inline struct ruby3_size_mul_overflow_tag -ruby3_size_mul_overflow(size_t x, size_t y) +static inline struct rbimpl_size_mul_overflow_tag +rbimpl_size_mul_overflow(size_t x, size_t y) { - struct ruby3_size_mul_overflow_tag ret = { false, 0, }; + struct rbimpl_size_mul_overflow_tag ret = { false, 0, }; #if RBIMPL_HAS_BUILTIN(__builtin_mul_overflow) ret.left = __builtin_mul_overflow(x, y, &ret.right); @@ -243,10 +243,10 @@ ruby3_size_mul_overflow(size_t x, size_t y) } static inline size_t -ruby3_size_mul_or_raise(size_t x, size_t y) +rbimpl_size_mul_or_raise(size_t x, size_t y) { - struct ruby3_size_mul_overflow_tag size = - ruby3_size_mul_overflow(x, y); + struct rbimpl_size_mul_overflow_tag size = + rbimpl_size_mul_overflow(x, y); if (RB_LIKELY(! size.left)) { return size.right; @@ -261,7 +261,7 @@ static inline void * rb_alloc_tmp_buffer2(volatile VALUE *store, long count, size_t elsize) { return rb_alloc_tmp_buffer_with_count( - store, ruby3_size_mul_or_raise(count, elsize), count); + store, rbimpl_size_mul_or_raise(count, elsize), count); } RBIMPL_ATTR_NOALIAS() diff --git a/include/ruby/impl/method.h b/include/ruby/impl/method.h index 44e62cfcc9..fd2d9af070 100644 --- a/include/ruby/impl/method.h +++ b/include/ruby/impl/method.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/module.h b/include/ruby/impl/module.h index 3c8a9688de..8dc1988b5b 100644 --- a/include/ruby/impl/module.h +++ b/include/ruby/impl/module.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/newobj.h b/include/ruby/impl/newobj.h index ccfc7d9a7d..0f7e9ba06c 100644 --- a/include/ruby/impl/newobj.h +++ b/include/ruby/impl/newobj.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/rgengc.h b/include/ruby/impl/rgengc.h index 6c51a5e6b7..34096455fb 100644 --- a/include/ruby/impl/rgengc.h +++ b/include/ruby/impl/rgengc.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/scan_args.h b/include/ruby/impl/scan_args.h index 452cdd928d..ca31786175 100644 --- a/include/ruby/impl/scan_args.h +++ b/include/ruby/impl/scan_args.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/special_consts.h b/include/ruby/impl/special_consts.h index 8540edbb8a..63c9641544 100644 --- a/include/ruby/impl/special_consts.h +++ b/include/ruby/impl/special_consts.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -102,7 +102,7 @@ RBIMPL_ATTR_CONST() RBIMPL_ATTR_CONSTEXPR(CXX11) RBIMPL_ATTR_ARTIFICIAL() /* - * :NOTE: ruby3_test HAS to be `__attribute__((const))` in order for clang to + * :NOTE: rbimpl_test HAS to be `__attribute__((const))` in order for clang to * properly deduce `__builtin_assume()`. */ static inline bool diff --git a/include/ruby/impl/static_assert.h b/include/ruby/impl/static_assert.h index 9c5000e644..e7788ab31a 100644 --- a/include/ruby/impl/static_assert.h +++ b/include/ruby/impl/static_assert.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/stdalign.h b/include/ruby/impl/stdalign.h index e3e3ff0373..61a47e2669 100644 --- a/include/ruby/impl/stdalign.h +++ b/include/ruby/impl/stdalign.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/stdbool.h b/include/ruby/impl/stdbool.h index 9704640bbd..36ccaa0c6f 100644 --- a/include/ruby/impl/stdbool.h +++ b/include/ruby/impl/stdbool.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/symbol.h b/include/ruby/impl/symbol.h index dda73759ea..a7b2358894 100644 --- a/include/ruby/impl/symbol.h +++ b/include/ruby/impl/symbol.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -77,7 +77,7 @@ rb_intern_const(const char *str) RBIMPL_ATTR_NOALIAS() RBIMPL_ATTR_NONNULL(()) static inline ID -ruby3_intern_const(ID *ptr, const char *str) +rbimpl_intern_const(ID *ptr, const char *str) { while (! *ptr) { *ptr = rb_intern_const(str); @@ -90,13 +90,13 @@ ruby3_intern_const(ID *ptr, const char *str) #define RUBY_CONST_ID_CACHE(result, str) \ { \ static ID rb_intern_id_cache; \ - ruby3_intern_const(&rb_intern_id_cache, (str)); \ + rbimpl_intern_const(&rb_intern_id_cache, (str)); \ result rb_intern_id_cache; \ } #define RUBY_CONST_ID(var, str) \ do { \ - static ID ruby3_id; \ - (var) = ruby3_intern_const(&ruby3_id, (str)); \ + static ID rbimpl_id; \ + (var) = rbimpl_intern_const(&rbimpl_id, (str)); \ } while (0) #if defined(HAVE_STMT_AND_DECL_IN_EXPR) @@ -105,8 +105,8 @@ ruby3_intern_const(ID *ptr, const char *str) #define rb_intern(str) \ (RBIMPL_CONSTANT_P(str) ? \ __extension__ ({ \ - static ID ruby3_id; \ - ruby3_intern_const(&ruby3_id, (str)); \ + static ID rbimpl_id; \ + rbimpl_intern_const(&rbimpl_id, (str)); \ }) : \ (rb_intern)(str)) #endif diff --git a/include/ruby/impl/token_paste.h b/include/ruby/impl/token_paste.h index 90fbb8656b..473fd597f8 100644 --- a/include/ruby/impl/token_paste.h +++ b/include/ruby/impl/token_paste.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/value.h b/include/ruby/impl/value.h index 1ee668cf68..905cc04187 100644 --- a/include/ruby/impl/value.h +++ b/include/ruby/impl/value.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/value_type.h b/include/ruby/impl/value_type.h index 324ec7246f..be1b3559b6 100644 --- a/include/ruby/impl/value_type.h +++ b/include/ruby/impl/value_type.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist @@ -245,7 +245,7 @@ RBIMPL_ATTR_PURE_ON_NDEBUG() RBIMPL_ATTR_ARTIFICIAL() RBIMPL_ATTR_FORCEINLINE() static bool -ruby3_RB_TYPE_P_fastpath(VALUE obj, enum ruby_value_type t) +rbimpl_RB_TYPE_P_fastpath(VALUE obj, enum ruby_value_type t) { if (t == RUBY_T_TRUE) { return obj == RUBY_Qtrue; @@ -285,7 +285,7 @@ static inline bool RB_TYPE_P(VALUE obj, enum ruby_value_type t) { if (RBIMPL_CONSTANT_P(t)) { - return ruby3_RB_TYPE_P_fastpath(obj, t); + return rbimpl_RB_TYPE_P_fastpath(obj, t); } else { return t == rb_type(obj); @@ -299,7 +299,7 @@ RB_TYPE_P(VALUE obj, enum ruby_value_type t) # undef RB_TYPE_P # define RB_TYPE_P(obj, t) \ (RBIMPL_CONSTANT_P(t) ? \ - ruby3_RB_TYPE_P_fastpath((obj), (t)) : \ + rbimpl_RB_TYPE_P_fastpath((obj), (t)) : \ (RB_TYPE_P)((obj), (t))) #endif @@ -322,7 +322,7 @@ RB_TYPE_P(VALUE obj, enum ruby_value_type t) RBIMPL_ATTR_PURE() RBIMPL_ATTR_ARTIFICIAL() /* Defined in ruby/impl/core/rtypeddata.h */ -static inline bool ruby3_rtypeddata_p(VALUE obj); +static inline bool rbimpl_rtypeddata_p(VALUE obj); RBIMPL_ATTR_ARTIFICIAL() static inline void @@ -334,7 +334,7 @@ Check_Type(VALUE v, enum ruby_value_type t) else if (t != RUBY_T_DATA) { goto fastpath; } - else if (ruby3_rtypeddata_p(v)) { + else if (rbimpl_rtypeddata_p(v)) { /* The intention itself is not necessarily clear to me, but at least it * is intentional to rule out typed data here. See commit * a7c32bf81d3391cfb78cfda278f469717d0fb794. */ diff --git a/include/ruby/impl/variable.h b/include/ruby/impl/variable.h index a98b70071c..70aa43ea44 100644 --- a/include/ruby/impl/variable.h +++ b/include/ruby/impl/variable.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/warning_push.h b/include/ruby/impl/warning_push.h index 50ce21e90b..e13e749b82 100644 --- a/include/ruby/impl/warning_push.h +++ b/include/ruby/impl/warning_push.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist diff --git a/include/ruby/impl/xmalloc.h b/include/ruby/impl/xmalloc.h index e6571afffd..145a3e236f 100644 --- a/include/ruby/impl/xmalloc.h +++ b/include/ruby/impl/xmalloc.h @@ -7,7 +7,7 @@ * Permission is hereby granted, to either redistribute and/or * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. - * @warning Symbols prefixed with either `RBIMPL` or `ruby3` are + * @warning Symbols prefixed with either `RBIMPL` or `rbimpl` are * implementation details. Don't take them as canon. They could * rapidly appear then vanish. The name (path) of this header file * is also an implementation detail. Do not expect it to persist