GraphMustAddEdge
Description
Aborting variant of GraphAddEdge. See that macro for parameter semantics and success-state effects.
Success
Returns to the caller. The underlying GraphAddEdge call succeeded; see GraphAddEdge for the post-state.
Failure
Does not return - aborts via LOG_FATAL / SysAbort when the underlying GraphAddEdge call returns false.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Insert.h:159:
do { \
if (!GraphAddEdge((g), (from), (to))) { \
LOG_FATAL("GraphMustAddEdge failed"); \
} \
} while (0)
Last updated on