Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this function should definitely not be called from lua, but from within the parsing...
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 4 Nov 2011 20:43:18 +0000 (21:43 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 4 Nov 2011 20:43:18 +0000 (21:43 +0100)
src/bindings/lua/simgrid_lua.c

index 0859188..9d878d5 100644 (file)
@@ -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;
 }