Skip to content
VecMustPushFrontArrR

VecMustPushFrontArrR

Description

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

Success

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

Failure

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

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!VecPushFrontArrR((v), (arr), (count))) {                                                                  \
                LOG_FATAL("VecMustPushFrontArrR failed");                                                                  \
            }                                                                                                              \
        } while (0)
    /// TAGS: Str, PushFront, Cstr, Range, Must, Abort
    ///
    #define StrMustPushFrontCstr(str, cstr, len) VecMustPushFrontArrR((str), (cstr), (len))
    
    ///
Last updated on