Skip to content
GraphMustAddNodeR

GraphMustAddNodeR

Description

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

Success

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

Failure

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

Usage example (Cross-references)

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