vec icon indicating copy to clipboard operation
vec copied to clipboard

Return success values for vec_pusharr and vec_extend

Open JerwuQu opened this issue 6 years ago • 0 comments

Since both of these functions are implemented as do-while macros (through vec_pusharr), there's no way of knowing if the reallocs in them succeeded or not, which is bad. Returning a 0 or -1 like the rest of the functions would be good.

JerwuQu avatar Feb 02 '19 22:02 JerwuQu