Skip to content
ListMustInsertR

ListMustInsertR

Description

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

Success

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

Failure

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

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!ListInsertR((l), (rval), (idx))) {                                                                        \
                LOG_FATAL("ListMustInsertR failed");                                                                       \
            }                                                                                                              \
        } while (0)
Last updated on