GraphInitAlignedWithDeepCopy
Description
Initialize graph with deep-copy callbacks and explicit node alignment.
Parameters
| Name | Direction | Description |
|---|---|---|
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:21:
/// TAGS: Graph, Init, Directed
///
#define GraphInit() GraphInitAlignedWithDeepCopy(NULL, NULL, 1)
///
- In
Init.h:40:
/// TAGS: Graph, Init, DeepCopy, Directed
///
#define GraphInitWithDeepCopy(ci, cd) GraphInitAlignedWithDeepCopy((ci), (cd), 1)
///
- In
Init.h:60:
/// TAGS: Graph, Init, Alignment, Directed
///
#define GraphInitAligned(aln) GraphInitAlignedWithDeepCopy(NULL, NULL, (aln))
///
- In
Init.h:96:
#ifdef __cplusplus
# define GraphInitAlignedWithDeepCopyT(g, ci, cd, aln) (TYPE_OF(g) GraphInitAlignedWithDeepCopy((ci), (cd), (aln)))
#else
///
- In
Init.h:108:
/// TAGS: Graph, Init, DeepCopy, Alignment, Directed
///
# define GraphInitAlignedWithDeepCopyT(g, ci, cd, aln) ((TYPE_OF(g))GraphInitAlignedWithDeepCopy((ci), (cd), (aln)))
#endif
Last updated on