src/array_list.c

changeset 626
254cc61c71a0
parent 625
a4c4a50c067a
child 627
cc8cbabd27cd
equal deleted inserted replaced
625:a4c4a50c067a 626:254cc61c71a0
264 &list->size, 264 &list->size,
265 &list->capacity, 265 &list->capacity,
266 index, 266 index,
267 ((char *) arl->data) + (index + 1) * list->itemsize, 267 ((char *) arl->data) + (index + 1) * list->itemsize,
268 list->itemsize, 268 list->itemsize,
269 list->size - index, 269 list->size - index - 1,
270 &arl->reallocator 270 &arl->reallocator
271 ); 271 );
272 if (result == 0) { 272 if (result == 0) {
273 /* decrease the size */ 273 /* decrease the size */
274 list->size--; 274 list->size--;

mercurial