X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c8b828daeec8e27cec7131eeb37c206d7f581f1a..13206972c2b37e1891db900c963e596671da5870:/src/xbt/graph.c diff --git a/src/xbt/graph.c b/src/xbt/graph.c index 536dcbb6d1..d26a8fb1fc 100644 --- a/src/xbt/graph.c +++ b/src/xbt/graph.c @@ -88,6 +88,12 @@ void *xbt_graph_node_get_data(xbt_node_t node) return node->data; } +void xbt_graph_node_set_data(xbt_node_t node, void *data) +{ + node->data = data; +} + + void *xbt_graph_edge_get_data(xbt_edge_t edge) { return edge->data;