Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill the types xbt_context_function_t, smx_process_code_t and m_process_code_t; use...
[simgrid.git] / src / simix / private.h
index 91252f0..1c7ac7d 100644 (file)
@@ -17,6 +17,7 @@
 #include "xbt/dict.h"
 #include "xbt/context.h"
 #include "xbt/config.h"
+#include "xbt/function_types.h"
 
 /******************************* Datatypes **********************************/
 
@@ -58,7 +59,7 @@ typedef struct s_smx_simdata_process {
 
 typedef struct s_smx_process_arg {
   const char *name;
-  smx_process_code_t code;
+  xbt_main_func_t code;
   void *data;
   char *hostname;
   int argc;