Searched refs:newBag (Results 1 – 1 of 1) sorted by relevance
59 struct bag *newBag = bagCreateBag(oldBag->itemSize, in bagDup() local61 if (newBag != NULL) { in bagDup()62 newBag->used = oldBag->used; in bagDup()63 (void)memcpy(newBag->items, oldBag->items, newBag->used * newBag->itemSize); in bagDup()65 return newBag; in bagDup()