Skip to content
VecMustPushBack

VecMustPushBack

Description

Aborting variant of VecPushBack. See that macro for parameter semantics and success-state effects.

Success

Returns to the caller. The underlying VecPushBack call succeeded; see VecPushBack for the post-state.

Failure

Does not return - aborts via LOG_FATAL / SysAbort when the underlying VecPushBack call returns false.

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!VecPushBack((v), (val))) {                                                                                \
                LOG_FATAL("VecMustPushBack failed");                                                                       \
            }                                                                                                              \
        } while (0)
Last updated on