Skip to content

ListMustSort

Description

Aborting variant of ListSort. Calls LOG_FATAL if the scratch buffer cannot be allocated.

Success

Returns to the caller.

Failure

Does not return - aborts via LOG_FATAL / SysAbort.

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!ListSort((l), (compare))) {                                                                               \
                LOG_FATAL("ListMustSort failed");                                                                          \
            }                                                                                                              \
        } while (0)
Last updated on