Skip to content
GraphCopyDeinit

GraphCopyDeinit

Description

Deep-copy deinit callback wired into the graph for node payloads, or NULL if the graph was initialised without deep-copy semantics.

Parameters

Name Direction Description
g in Graph to query.

Usage example (Cross-references)

Usage examples (Cross-references)
                      VecBegin(&graph.slots) == NULL && VecBegin(&graph.free_indices) == NULL &&
                      VecBegin(&graph.pending_edge_removals) == NULL && GraphCopyInit(&graph) == NULL &&
                      GraphCopyDeinit(&graph) == NULL && graph.pending_delete_count == 0 &&
                      GraphMutationEpoch(&graph) == 0 && GraphAllocator(&graph)->alignment == 1;
        result      = result && (GraphAllocator(&graph_g)->alignment == 32) && (GraphAllocator(&graph_h)->alignment == 64);
        result      = result && (GraphCopyInit(&graph_c) == (GenericCopyInit)str_init_copy);
        result      = result && (GraphCopyDeinit(&graph_d) == (GenericCopyDeinit)str_deinit);
        result      = result && (graph_h.slots.allocator->retry_limit == 31);
        result      = result && (graph_h.free_indices.allocator->retry_limit == 31);
Last updated on