Node.copyDeep

Recursively copies a GNode and its data. Since 2.4

class Node
copyDeep

Parameters

copyFunc GCopyFunc

the function which is called to copy the data inside each node, or NULL to use the original data.

data void*

data to pass to copy_func

Return Value

Type: Node

a new GNode containing copies of the data in node.

Meta