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
this function should definitely not be called from lua, but from within the parsing...
[simgrid.git]
/
src
/
bindings
/
lua
/
simgrid_lua.c
diff --git
a/src/bindings/lua/simgrid_lua.c
b/src/bindings/lua/simgrid_lua.c
index
0859188
..
9d878d5
100644
(file)
--- a/
src/bindings/lua/simgrid_lua.c
+++ b/
src/bindings/lua/simgrid_lua.c
@@
-616,7
+616,6
@@
static int msg_register_platform(lua_State * L)
/* Tell Simgrid we dont wanna use its parser */
surf_parse = console_parse_platform;
surf_parse_reset_callbacks();
/* Tell Simgrid we dont wanna use its parser */
surf_parse = console_parse_platform;
surf_parse_reset_callbacks();
- surf_config_models_setup();
MSG_create_environment(NULL);
return 0;
}
MSG_create_environment(NULL);
return 0;
}
@@
-629,7
+628,6
@@
static int sd_register_platform(lua_State * L)
{
surf_parse = console_parse_platform_wsL07;
surf_parse_reset_callbacks();
{
surf_parse = console_parse_platform_wsL07;
surf_parse_reset_callbacks();
- surf_config_models_setup();
SD_create_environment(NULL);
return 0;
}
SD_create_environment(NULL);
return 0;
}
@@
-642,7
+640,6
@@
static int gras_register_platform(lua_State * L)
/* Tell Simgrid we dont wanna use surf parser */
surf_parse = console_parse_platform;
surf_parse_reset_callbacks();
/* Tell Simgrid we dont wanna use surf parser */
surf_parse = console_parse_platform;
surf_parse_reset_callbacks();
- surf_config_models_setup();
gras_create_environment(NULL);
return 0;
}
gras_create_environment(NULL);
return 0;
}