Skip to content
VecMustPushFrontArrFastR

VecMustPushFrontArrFastR

Description

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

Success

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

Failure

Does not return - aborts via LOG_FATAL / Abort when the underlying VecPushFrontArrFastR call returns false.

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!VecPushFrontArrFastR((v), (arr), (count))) {                                                              \
                LOG_FATAL("VecMustPushFrontArrFastR failed");                                                              \
            }                                                                                                              \
        } while (0)
    #define StrMustPushFrontManyFast(...) OVERLOAD(StrMustPushFrontManyFast, __VA_ARGS__)
    #define StrMustPushFrontManyFast_2(str, zstr)                                                                      \
        _Generic((zstr), Zstr: VecMustPushFrontArrFastR((str), (Zstr)(zstr), ZstrLen((Zstr)(zstr))), char *: VecMustPushFrontArrFastR((str), (Zstr)(zstr), ZstrLen((Zstr)(zstr))))
    #define StrMustPushFrontManyFast_3(str, cstr, cstr_len)                                                            \
        _Generic((cstr), Zstr: VecMustPushFrontArrFastR((str), (Zstr)(cstr), (cstr_len)), char *: VecMustPushFrontArrFastR((str), (Zstr)(cstr), (cstr_len)))
        _Generic((zstr), Zstr: VecMustPushFrontArrFastR((str), (Zstr)(zstr), ZstrLen((Zstr)(zstr))), char *: VecMustPushFrontArrFastR((str), (Zstr)(zstr), ZstrLen((Zstr)(zstr))))
    #define StrMustPushFrontManyFast_3(str, cstr, cstr_len)                                                            \
        _Generic((cstr), Zstr: VecMustPushFrontArrFastR((str), (Zstr)(cstr), (cstr_len)), char *: VecMustPushFrontArrFastR((str), (Zstr)(cstr), (cstr_len)))
    
    ///
    /// TAGS: Str, PushFront, Range, RValue, Fast, Must, Abort
    ///
    #define StrMustPushFrontArrFastR(str, arr, count) VecMustPushFrontArrFastR((str), (arr), (count))
    
    ///
Last updated on