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
@ -482,14 +482,6 @@ rb_array_ptr_use_end(VALUE a,
|
|||||||
rb_array_ptr_use_end(rbimpl_ary, (flag)); \
|
rb_array_ptr_use_end(rbimpl_ary, (flag)); \
|
||||||
} while (0)
|
} 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
|
* @private
|
||||||
*
|
*
|
||||||
@ -526,22 +518,6 @@ rb_array_ptr_use_end(VALUE a,
|
|||||||
#define RARRAY_PTR_USE(ary, ptr_name, expr) \
|
#define RARRAY_PTR_USE(ary, ptr_name, expr) \
|
||||||
RBIMPL_RARRAY_STMT(0, 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.
|
* Identical to #RARRAY_PTR_USE, except the pointer can be a transient one.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user