X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c6374915fc9c74a89f67428ba910e204d2daa516..6126924e83eded994bef252b90becedc31015a59:/include/simgrid/simix.hpp diff --git a/include/simgrid/simix.hpp b/include/simgrid/simix.hpp index 0af396308b..341f54fbca 100644 --- a/include/simgrid/simix.hpp +++ b/include/simgrid/simix.hpp @@ -70,7 +70,7 @@ XBT_PUBLIC const std::vector& process_get_runnable(); // What's executed as SIMIX actor code: typedef std::function ActorCode; -// Create ActorCode based on argv: +// Create an ActorCode based on a std::string typedef std::function args)> ActorCodeFactory; XBT_PUBLIC void register_function(std::string name, ActorCodeFactory factory); @@ -95,8 +95,6 @@ typedef smx_actor_t (*smx_creation_func_t)( /* props */ std::unordered_map*, /* parent_process */ smx_actor_t); -XBT_PUBLIC void SIMIX_function_register_process_create(smx_creation_func_t function); - XBT_PUBLIC smx_actor_t simcall_process_create(std::string name, simgrid::simix::ActorCode code, void* data, sg_host_t host, std::unordered_map* properties);