Skip to content
VecMustPushFrontR

VecMustPushFrontR

Description

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

Success

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

Failure

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

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!VecPushFrontR((v), (val))) {                                                                              \
                LOG_FATAL("VecMustPushFrontR failed");                                                                     \
            }                                                                                                              \
        } while (0)
    /// TAGS: Str, PushFront, Char, Must, Abort
    ///
    #define StrMustPushFront(str, chr) VecMustPushFrontR((str), (chr))
    
    ///
Last updated on