Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Clearly state that we don't care about the return code of actors
[simgrid.git] / src / kernel / EngineImpl.hpp
index c45e02f..cf4828f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2016-2020. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -27,8 +27,10 @@ public:
   virtual ~EngineImpl();
 
   void load_deployment(const std::string& file);
+  void register_function(const std::string& name, int (*code)(int, char**)); // deprecated
   void register_function(const std::string& name, xbt_main_func_t code);
   void register_function(const std::string& name, void (*code)(std::vector<std::string>));
+  void register_default(int (*code)(int, char**)); // deprecated
   void register_default(xbt_main_func_t code);
 
   routing::NetZoneImpl* netzone_root_ = nullptr;