Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow to register functions that are void (*code)(std::vector<std::string>)
[simgrid.git] / include / simgrid / s4u / Engine.hpp
index 27445d9..fe486f4 100644 (file)
@@ -53,7 +53,8 @@ public:
 
   /** Registers the main function of an actor that will be launched from the deployment file */
   void register_function(std::string name, int (*code)(int, char**));
-  // FIXME: provide a register_function(std::string, std::vector<std::string>)
+  /** Registers the main function of an actor that will be launched from the deployment file */
+  void register_function(std::string name, void (*code)(std::vector<std::string>));
 
   /** Registers a function as the default main function of actors
    *