Skip to content
MapMustSetFirstR

MapMustSetFirstR

Description

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

Success

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

Failure

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

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!MapSetFirstR((m), (in_key), (in_value))) {                                                                \
                LOG_FATAL("MapMustSetFirstR failed");                                                                      \
            }                                                                                                              \
        } while (0)
Last updated on