prg_edge_debug_name_set()
Abstract
Sets the name of an edge object.
Syntax
prg_edge_debug_name_set (edge_ptr, name_ptr)
| Argument | Type | Description |
|---|---|---|
edge_ptr |
PrgT_Graph_Edge * |
Valid edge being queried |
name_ptr |
char* |
Valid character name for the edge |
Return Type
PrgT_Compcode
PrgC_Compcode_Success if the name is set successfully; PrgC_Compcode_Failure otherwise.
Header
prg_graph.h
Details
This function sets the name for an edge object. The name is based on defined core client-state support. You need a valid edge_ptr and a valid character name for the edge. The edge takes ownership of the character name as part of its client state.