#include "simgrid/s4u/Host.hpp"
#include "smx_private.hpp"
#include "src/surf/xml/platf_private.hpp" // FIXME: KILLME. There must be a better way than mimicking XML here
+#include <simgrid/engine.h>
#include <xbt/ex.hpp>
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_deployment, simix, "Logging specific to SIMIX (deployment)");
}
}
-void SIMIX_launch_application(const char* file)
+void SIMIX_launch_application(const char* file) // deprecated
{
- SIMIX_launch_application(std::string(file));
+ simgrid_load_deployment(file);
}
// Wrap a main() function into a ActorCodeFactory:
simix_global->registered_functions[name] = toActorCodeFactory(code);
}
-void SIMIX_function_register(const char* name, xbt_main_func_t code)
+void SIMIX_function_register(const char* name, xbt_main_func_t code) // deprecated
{
- SIMIX_function_register(std::string(name), code);
+ simgrid_register_function(name, code);
}
/**