#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) // deprecated
+{
+ simgrid_load_deployment(file);
+}
+
// Wrap a main() function into a ActorCodeFactory:
static simgrid::simix::ActorCodeFactory toActorCodeFactory(xbt_main_func_t code)
{
simix_global->registered_functions[name] = toActorCodeFactory(code);
}
+void SIMIX_function_register(const char* name, xbt_main_func_t code) // deprecated
+{
+ simgrid_register_function(name, code);
+}
+
/**
* \brief Registers a #xbt_main_func_t code as default value.
*