Append given 'node' to given 'level' array.
| 27 | |
| 28 | // Append given 'node' to given 'level' array. |
| 29 | static void _AllPathsCtx_AddConnectionToLevel(AllPathsCtx *ctx, uint level, Node *node, |
| 30 | Edge *edge) { |
| 31 | ASSERT(level < array_len(ctx->levels)); |
| 32 | LevelConnection connection; |
| 33 | connection.node = *node; |
| 34 | if(edge) connection.edge = *edge; |
| 35 | array_append(ctx->levels[level], connection); |
| 36 | } |
| 37 | |
| 38 | // Check to see if context levels array has entries at position 'level'. |
| 39 | static bool _AllPathsCtx_LevelNotEmpty(const AllPathsCtx *ctx, uint level) { |
no test coverage detected