X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c53d0aac5a5ab41701f3320d95f1cd2b0f3fd005..b05a0ed4f5fb7b81f96777af37b8f7fc5a4bf160:/src/bindings/lua/simgrid_lua.c diff --git a/src/bindings/lua/simgrid_lua.c b/src/bindings/lua/simgrid_lua.c index 11e4badf34..440c5629c1 100644 --- a/src/bindings/lua/simgrid_lua.c +++ b/src/bindings/lua/simgrid_lua.c @@ -318,7 +318,7 @@ int luaopen_simgrid(lua_State *L) argv[argc--] = NULL; /* Initialize the MSG core */ - MSG_global_init(&argc, argv); + MSG_init(&argc, argv); MSG_process_set_data_cleanup((void_f_pvoid_t) lua_close); XBT_DEBUG("Still %d arguments on command line", argc); // FIXME: update the lua's arg table to reflect the changes from SimGrid } @@ -441,7 +441,7 @@ static int run_lua_code(int argc, char **argv) * \param err an MSG error code * \return a string describing this error */ -const char* sglua_get_msg_error(MSG_error_t err) { +const char* sglua_get_msg_error(msg_error_t err) { static const char* msg_errors[] = { NULL,