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 / Abort when the underlying VecPushFrontArrR call returns false.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Insert.h:831:
do { \
if (!VecPushFrontArrR((v), (arr), (count))) { \
LOG_FATAL("VecMustPushFrontArrR failed"); \
} \
} while (0)- In
Insert.h:301:
#define StrMustPushFrontMany(...) OVERLOAD(StrMustPushFrontMany, __VA_ARGS__)
#define StrMustPushFrontMany_2(str, zstr) \
_Generic((zstr), Zstr: VecMustPushFrontArrR((str), (Zstr)(zstr), ZstrLen((Zstr)(zstr))), char *: VecMustPushFrontArrR((str), (Zstr)(zstr), ZstrLen((Zstr)(zstr))))
#define StrMustPushFrontMany_3(str, cstr, cstr_len) \
_Generic((cstr), Zstr: VecMustPushFrontArrR((str), (Zstr)(cstr), (cstr_len)), char *: VecMustPushFrontArrR((str), (Zstr)(cstr), (cstr_len)))- In
Insert.h:303:
_Generic((zstr), Zstr: VecMustPushFrontArrR((str), (Zstr)(zstr), ZstrLen((Zstr)(zstr))), char *: VecMustPushFrontArrR((str), (Zstr)(zstr), ZstrLen((Zstr)(zstr))))
#define StrMustPushFrontMany_3(str, cstr, cstr_len) \
_Generic((cstr), Zstr: VecMustPushFrontArrR((str), (Zstr)(cstr), (cstr_len)), char *: VecMustPushFrontArrR((str), (Zstr)(cstr), (cstr_len)))
///
- In
Insert.h:733:
/// TAGS: Str, PushFront, Range, RValue, Must, Abort
///
#define StrMustPushFrontArrR(str, arr, count) VecMustPushFrontArrR((str), (arr), (count))
///
Last updated on