Destroys the specified @a graph.
| 478 | |
| 479 | /// Destroys the specified @a graph. |
| 480 | void destroy(Graph *graph) |
| 481 | { |
| 482 | list::remove(graph->_node); |
| 483 | CE_DELETE(default_allocator(), graph); |
| 484 | } |
| 485 | |
| 486 | /// Returns the graph with the specified @a name or NULL if no graph is found. |
| 487 | Graph *find(ListNode &head, const char *name) |