summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-07-20 14:49:16 -0400
committerPeter Zhu <peter@peterzhu.ca>2022-07-21 09:02:45 -0400
commit4798a4fec213ce8a73a2d0d1c4ba879fb216ca3a (patch)
tree6fc8ec6e8a4ff2d6cc443b3509d2af0f30794cad
parent86b29ef8773c7ff5eaf398e16ffb3ddcb8e37074 (diff)
Remove unused internal macros in rarray.h
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6157
-rw-r--r--include/ruby/internal/core/rarray.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/ruby/internal/core/rarray.h b/include/ruby/internal/core/rarray.h
index ea37c8dfad..c3bb40be25 100644
--- a/include/ruby/internal/core/rarray.h
+++ b/include/ruby/internal/core/rarray.h
@@ -488,14 +488,6 @@ rb_array_ptr_use_end(VALUE a,
* 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
- *
- * This is an implementation detail of #RARRAY_PTR_USE. People do not use it
- * directly.
- */
#define RARRAY_PTR_USE_END(a) rb_array_ptr_use_end(a, 0)
/**
@@ -527,22 +519,6 @@ rb_array_ptr_use_end(VALUE a,
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.
*
* @param ary An object of ::RArray.