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
move action_ref one layer up: not a model method anymore, but function surf_action_re...
[simgrid.git]
/
src
/
surf
/
surf_action.c
diff --git
a/src/surf/surf_action.c
b/src/surf/surf_action.c
index
173f5c5
..
431baa6
100644
(file)
--- a/
src/surf/surf_action.c
+++ b/
src/surf/surf_action.c
@@
-75,3
+75,8
@@
void surf_action_data_set(surf_action_t action, void *data)
{
action->data = data;
}
+
+void surf_action_ref(surf_action_t action)
+{
+ action->refcount++;
+}