mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove unused internal macros in rarray.h
This commit is contained in:
parent
86b29ef877
commit
4798a4fec2
Notes:
git
2022-07-21 22:03:08 +09:00
1 changed files with 0 additions and 24 deletions
|
@ -482,14 +482,6 @@ rb_array_ptr_use_end(VALUE a,
|
|||
rb_array_ptr_use_end(rbimpl_ary, (flag)); \
|
||||
} while (0)
|
||||
|
||||
/**
|
||||
* @private
|
||||
*
|
||||
* This is an implementation detail of #RARRAY_PTR_USE. People do not use it
|
||||
* directly.
|
||||
*/
|
||||
#define RARRAY_PTR_USE_START(a) rb_array_ptr_use_start(a, 0)
|
||||
|
||||
/**
|
||||
* @private
|
||||
*
|
||||
|
@ -526,22 +518,6 @@ rb_array_ptr_use_end(VALUE a,
|
|||
#define RARRAY_PTR_USE(ary, ptr_name, expr) \
|
||||
RBIMPL_RARRAY_STMT(0, ary, ptr_name, expr)
|
||||
|
||||
/**
|
||||
* @private
|
||||
*
|
||||
* This is an implementation detail of #RARRAY_PTR_USE_TRANSIENT. People do
|
||||
* not use it directly.
|
||||
*/
|
||||
#define RARRAY_PTR_USE_START_TRANSIENT(a) rb_array_ptr_use_start(a, 1)
|
||||
|
||||
/**
|
||||
* @private
|
||||
*
|
||||
* This is an implementation detail of #RARRAY_PTR_USE_TRANSIENT. People do
|
||||
* not use it directly.
|
||||
*/
|
||||
#define RARRAY_PTR_USE_END_TRANSIENT(a) rb_array_ptr_use_end(a, 1)
|
||||
|
||||
/**
|
||||
* Identical to #RARRAY_PTR_USE, except the pointer can be a transient one.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue