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

Return success values for vec_pusharr and vec_extend #8

@JerwuQu

Description

@JerwuQu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions