A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Getting rid of useless field
[simgrid.git]
/
src
/
xbt
/
graph.c
diff --git
a/src/xbt/graph.c
b/src/xbt/graph.c
index
536dcbb
..
d26a8fb
100644
(file)
--- 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;