epatrizio / cds

Data structures in C language
The Unlicense
0 stars 0 forks source link

Vector resize / Memory management #5

Closed epatrizio closed 2 years ago

epatrizio commented 3 years ago

In vector_resize function

epatrizio commented 2 years ago

Elements memory is allocated with capacity argument, not with size argument. Vector destroy function seems to be good For now, in my actual point of view, nothing todo in resize and remove functions