X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/611d822b02f836d7abe031cced6adc4281ef4356..f968cbbb699423fa252994ff42de77f8671ac7eb:/src/simix/smx_deployment.cpp diff --git a/src/simix/smx_deployment.cpp b/src/simix/smx_deployment.cpp index d2ff0f1765..79a4993317 100644 --- a/src/simix/smx_deployment.cpp +++ b/src/simix/smx_deployment.cpp @@ -58,9 +58,7 @@ void SIMIX_launch_application(const char *file) // Wrap a main() function into a ActorCodeFactory: static simgrid::simix::ActorCodeFactory toActorCodeFactory(xbt_main_func_t code) { - return [code](std::vector args) { - return simgrid::xbt::wrapMain(code, std::move(args)); - }; + return [code](std::vector args) { return simgrid::xbt::wrap_main(code, std::move(args)); }; } /** @@ -146,7 +144,7 @@ void SIMIX_process_set_function(const char* process_host, const char* process_fu namespace simgrid { namespace simix { -void registerFunction(const char* name, ActorCodeFactory factory) +void register_function(const char* name, ActorCodeFactory factory) { simix_global->registered_functions[name] = std::move(factory); }