Skip to content
GraphMustReserve

GraphMustReserve

Description

Aborting variant of GraphReserve. Calls LOG_FATAL on allocation failure.

Success

Returns to the caller.

Failure

Does not return - aborts via LOG_FATAL / SysAbort.

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!GraphReserve((g), (n))) {                                                                                 \
                LOG_FATAL("GraphMustReserve failed");                                                                      \
            }                                                                                                              \
        } while (0)
Last updated on