------------------------------------------------------------------------------ Index API ------------------------------------------------------------------------------
| 549 | // Index API |
| 550 | //------------------------------------------------------------------------------ |
| 551 | bool GraphContext_HasIndices(GraphContext *gc) { |
| 552 | ASSERT(gc != NULL); |
| 553 | |
| 554 | const bool has_node_indices = GraphContext_NodeIndexCount(gc); |
| 555 | const bool has_edge_indices = GraphContext_EdgeIndexCount(gc); |
| 556 | |
| 557 | return has_node_indices || has_edge_indices; |
| 558 | } |
| 559 | |
| 560 | uint64_t GraphContext_NodeIndexCount |
| 561 | ( |
no test coverage detected