1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

sed -i s/ruby3/rbimpl/g

This commit is contained in:
卜部昌平 2020-05-04 16:27:48 +09:00
parent 97672f669a
commit 122f96c362
Notes: git 2020-05-11 09:24:42 +09:00
157 changed files with 255 additions and 255 deletions

View file

@ -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)