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
Fix lua deploy
[simgrid.git]
/
src
/
simix
/
smx_deployment.c
diff --git
a/src/simix/smx_deployment.c
b/src/simix/smx_deployment.c
index
5cb246b
..
766658e
100644
(file)
--- a/
src/simix/smx_deployment.c
+++ b/
src/simix/smx_deployment.c
@@
-76,6
+76,11
@@
static void parse_process(sg_platf_process_cbarg_t process)
current_property_set = NULL;
}
current_property_set = NULL;
}
+void SIMIX_init_application(void){
+ surf_parse_reset_callbacks();
+ sg_platf_process_add_cb(parse_process);
+}
+
/**
* \brief An application deployer.
*
/**
* \brief An application deployer.
*
@@
-98,9
+103,7
@@
void SIMIX_launch_application(const char *file)
xbt_assert(simix_global,
"SIMIX_global_init has to be called before SIMIX_launch_application.");
xbt_assert(simix_global,
"SIMIX_global_init has to be called before SIMIX_launch_application.");
- surf_parse_reset_callbacks();
-
- sg_platf_process_add_cb(parse_process);
+ SIMIX_init_application();
surf_parse_open(file);
TRY {
surf_parse_open(file);
TRY {