reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
611 if (!list1 || !list2) 614 if (list1->ref == 1 && list1->n + list2->n <= list1->size) 614 if (list1->ref == 1 && list1->n + list2->n <= list1->size) 614 if (list1->ref == 1 && list1->n + list2->n <= list1->size) 615 return FN(LIST(EL),concat_inplace)(list1, list2); 617 ctx = FN(LIST(EL),get_ctx)(list1); 618 res = FN(LIST(EL),alloc)(ctx, list1->n + list2->n); 619 for (i = 0; i < list1->n; ++i) 620 res = FN(LIST(EL),add)(res, FN(EL,copy)(list1->p[i])); 624 FN(LIST(EL),free)(list1); 628 FN(LIST(EL),free)(list1);