diff --git a/src/array.c b/src/array.c index fb55da12e9a7b..a19e2e8a0d894 100644 --- a/src/array.c +++ b/src/array.c @@ -528,6 +528,9 @@ void jl_arrayunset(jl_array_t *a, size_t i) #define MALLOC_THRESH 1048576 // allocate buffer of newlen elements, placing old data at given offset (in #elts) +// newlen: new length (#elts), including offset +// oldlen: old length (#elts), excluding offset +// offs: new offset static void array_resize_buffer(jl_array_t *a, size_t newlen, size_t oldlen, size_t offs) { size_t es = a->elsize;