prg_graph_client_state_set()
Abstract
Sets the client state on the graph and returns the old client state
Syntax
prg_graph_client_state_set (graph_ptr, state_id, client_state_ptr)
| Argument | Type | Description |
|---|---|---|
graph_ptr |
PrgT_Graph * |
The graph where the client state is stored |
state_id |
PrgT_Graph_State_ID |
The ID of the state |
client_state_ptr |
void * |
The client state that is will be set on the graph |
Return Type
void *
Returns the old client state if it was present, otherwise returns PRGC_NIL
Header
prg_graph.h