#include "gras_stub_generator.h"
#include <stdarg.h>
-
-
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(stubgen, gras, "Stub generator");
-
#ifdef _XBT_WIN32
#include <windows.h>
#endif
xbt_dict_t process_function_set = NULL;
xbt_dynar_t process_list = NULL;
xbt_dict_t machine_set = NULL;
+char *warning = NULL;
void s_process_free(void *process)
{
}
}
- xbt_assert1((argc >= 3),
+ xbt_assert((argc >= 3),
"Usage: %s project_name deployment_file [deployment_file...]\n",
argv[0]);
deployment_file = argv[i];
surf_parse_open(deployment_file);
if (surf_parse())
- xbt_assert1(0, "Parse error in %s", deployment_file);
+ xbt_die("Parse error in %s", deployment_file);
surf_parse_close();
}
#endif
free(warning);
+
+ xbt_dict_free(&process_function_set);
+ xbt_dynar_free(&process_list);
+ xbt_dict_free(&machine_set);
surf_exit();
+
return 0;
}