void EngineImpl::register_function(const std::string& name, xbt_main_func_t code)
{
simix_global->registered_functions[name] = [code](std::vector<std::string> args) {
void EngineImpl::register_function(const std::string& name, xbt_main_func_t code)
{
simix_global->registered_functions[name] = [code](std::vector<std::string> args) {