Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Return success values for vec_pusharr and vec_extend #8

Open
JerwuQu opened this issue Feb 2, 2019 · 0 comments
Open

Return success values for vec_pusharr and vec_extend #8

JerwuQu opened this issue Feb 2, 2019 · 0 comments

Comments

@JerwuQu
Copy link

JerwuQu commented Feb 2, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant