Skip to content
VecMustInitClone

VecMustInitClone

Description

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

Success

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

Failure

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

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!VecInitClone((vd), (vs))) {                                                                               \
                LOG_FATAL("VecMustInitClone failed");                                                                      \
            }                                                                                                              \
        } while (0)
Last updated on