PrgT_Graph_Copy_Proc
Abstract
Callback: Copies an element in a graph.
Syntax
PrgT_Graph_Copy_Proc (elem_ptr, elem_type)
| Argument | Type | Description |
|---|---|---|
elem_ptr |
void * |
Pointer to an element in the graph. |
elem_type |
PrgT_Graph_Element_Type |
Type of element being pointed to (one of the values in Table 4 Graph Package Symbolic Constants). |
Return Type
void *
A copy of the element.
Header
prg_graph.h
Details
This procedure is called whenever a graph is copied. It is registered by prg_graph_state_handler_register().
This callback type is the original (and less flexible) version of PrgT_Graph_Ext_Copy_Proc. It is supported for backward compatibility; the extended version is recommended for new code. Use only one of these two callback types; do not mix them.