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
SURF: Unify the types of models in a uniq s_surf_model_t (using an union) +reindent...
[simgrid.git]
/
src
/
simix
/
private.h
diff --git
a/src/simix/private.h
b/src/simix/private.h
index
88655fe
..
9570768
100644
(file)
--- a/
src/simix/private.h
+++ b/
src/simix/private.h
@@
-104,7
+104,7
@@
typedef struct s_smx_simdata_action {
/******************************* Other **********************************/
/******************************* Other **********************************/
-#define SIMIX_CHECK_HOST() xbt_assert0(surf_workstation_model->extension
_public->
\
+#define SIMIX_CHECK_HOST() xbt_assert0(surf_workstation_model->extension
.workstation.
\
get_state(SIMIX_host_self()->simdata->host)==SURF_CPU_ON,\
"Host failed, you cannot call this function.")
get_state(SIMIX_host_self()->simdata->host)==SURF_CPU_ON,\
"Host failed, you cannot call this function.")