| 11 | #include "../util/rax_extensions.h" |
| 12 | |
| 13 | GraphDecodeContext *GraphDecodeContext_New() { |
| 14 | GraphDecodeContext *ctx = rm_malloc(sizeof(GraphDecodeContext)); |
| 15 | ctx->keys_processed = 0; |
| 16 | ctx->graph_keys_count = 1; |
| 17 | ctx->meta_keys = raxNew(); |
| 18 | ctx->multi_edge = NULL; |
| 19 | return ctx; |
| 20 | } |
| 21 | |
| 22 | void GraphDecodeContext_Reset(GraphDecodeContext *ctx) { |
| 23 | ASSERT(ctx); |
no test coverage detected