GraphInitAlignedWithDeepCopyT
Description
Initialize given graph with deep-copy callbacks and explicit node alignment.
Parameters
| Name | Direction | Description |
|---|---|---|
g |
in | Variable or type of a graph to be initialized. |
ci |
in | Optional deep-copy callback for nodes. |
cd |
in | Optional deinit callback for nodes. |
aln |
in | Alignment used for graph-owned node payload allocations. |
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Init.h:30:
/// TAGS: Graph, Init, Directed
///
#define GraphInitT(g) GraphInitAlignedWithDeepCopyT((g), NULL, NULL, 1)
///
- In
Init.h:51:
/// TAGS: Graph, Init, DeepCopy, Directed
///
#define GraphInitWithDeepCopyT(g, ci, cd) GraphInitAlignedWithDeepCopyT((g), (ci), (cd), 1)
///
- In
Init.h:70:
/// TAGS: Graph, Init, Alignment, Directed
///
#define GraphInitAlignedT(g, aln) GraphInitAlignedWithDeepCopyT((g), NULL, NULL, (aln))
///
- In
Init.h:96:
#ifdef __cplusplus
# define GraphInitAlignedWithDeepCopyT(g, ci, cd, aln) (TYPE_OF(g) GraphInitAlignedWithDeepCopy((ci), (cd), (aln)))
#else
///
Last updated on