Skip to content

Commit

Permalink
Merge pull request #8492 from eschnett/array-comments
Browse files Browse the repository at this point in the history
Describe arguments to array_resize_buffer
  • Loading branch information
timholy committed Jan 2, 2015
2 parents bbd8cf2 + a67f717 commit 67a84f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 67a84f1

Please sign in to comment.