| 20 | } |
| 21 | |
| 22 | void GraphDecodeContext_Reset(GraphDecodeContext *ctx) { |
| 23 | ASSERT(ctx); |
| 24 | |
| 25 | ctx->keys_processed = 0; |
| 26 | ctx->graph_keys_count = 1; |
| 27 | |
| 28 | if(ctx->multi_edge) { |
| 29 | array_free(ctx->multi_edge); |
| 30 | ctx->multi_edge = NULL; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | void GraphDecodeContext_SetKeyCount(GraphDecodeContext *ctx, uint64_t key_count) { |
| 35 | ASSERT(ctx); |
no test coverage detected