GraphInitWithDeepCopyT
Description
Type-flavoured GraphInitWithDeepCopy — same contract, but the first argument names the target Graph(T) so the literal carries the typed compound-literal cast.
Success
Returns a typed deep-copy graph wired to the supplied callbacks.
Failure
Cannot fail at construction; allocation failures surface from later inserts.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Graph.Init.c:144:
StrGraph graph_b = GraphInitT(graph_b, &alloc);
StrGraph graph_c = GraphInitWithDeepCopy(str_init_copy, str_deinit, &alloc);
StrGraph graph_d = GraphInitWithDeepCopyT(graph_d, str_init_copy, str_deinit, &alloc);
StrGraph graph_e = GraphInit(&aligned_8);
StrGraph graph_f = GraphInitT(graph_f, &aligned_16);- In
Graph.Init.c:148:
StrGraph graph_f = GraphInitT(graph_f, &aligned_16);
StrGraph graph_g = GraphInitWithDeepCopy(str_init_copy, str_deinit, &aligned_32);
StrGraph graph_h = GraphInitWithDeepCopyT(graph_h, str_init_copy, str_deinit, &aligned_64);
// intentional bypass: the inner `slots` / `free_indices` /
Last updated on