Skip to content
MapMustSetOnlyR

MapMustSetOnlyR

Description

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

Success

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

Failure

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

Usage example (Cross-references)

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