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
use proper type for task kind
[simgrid.git]
/
src
/
simdag
/
simdag_private.h
diff --git
a/src/simdag/simdag_private.h
b/src/simdag/simdag_private.h
index
193e278
..
bd796b9
100644
(file)
--- a/
src/simdag/simdag_private.h
+++ b/
src/simdag/simdag_private.h
@@
-70,7
+70,7
@@
typedef struct SD_task {
e_SD_task_state_t state;
void *data; /* user data */
char *name;
e_SD_task_state_t state;
void *data; /* user data */
char *name;
-
in
t kind;
+
e_SD_task_kind_
t kind;
double amount;
double alpha; /* used by typed parallel tasks */
double remains;
double amount;
double alpha; /* used by typed parallel tasks */
double remains;
@@
-110,7
+110,9
@@
typedef struct SD_dependency {
} s_SD_dependency_t, *SD_dependency_t;
/* SimDag private functions */
} s_SD_dependency_t, *SD_dependency_t;
/* SimDag private functions */
-XBT_PUBLIC(xbt_swag_t) SD_simulate_swag(double how_long); /* could be public, but you need to see the internals of the SD_task_t to use it */
+
+/* could be public, but you need to see the SD_task_t internals to use it */
+XBT_PRIVATE xbt_swag_t SD_simulate_swag(double how_long);
XBT_PRIVATE SD_workstation_t __SD_workstation_create(const char* name);
XBT_PRIVATE SD_workstation_t __SD_workstation_create(const char* name);