Skip to content
MapMustReserve

MapMustReserve

Description

Aborting variant of MapReserve. 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 (!MapReserve((m), (n))) {                                                                                   \
                LOG_FATAL("MapMustReserve failed");                                                                        \
            }                                                                                                              \
        } while (0)
Last updated on