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 / include / xbt / context.h
index a032454..6a7aa6f 100644 (file)
 
   /** @brief A context */
   typedef struct s_xbt_context *xbt_context_t;
-  /** @brief A context function */
-  typedef int(*xbt_context_function_t)(int argc, char *argv[]);
 
 /* @}*/
 
 void xbt_context_empty_trash(void);
-XBT_PUBLIC(xbt_context_t) xbt_context_new(xbt_context_function_t code, 
+XBT_PUBLIC(xbt_context_t) xbt_context_new(xbt_main_func_t code,
                                          void_f_pvoid_t startup_func, void *startup_arg,
                                          void_f_pvoid_t cleanup_func, void *cleanup_arg,
                                          int argc, char *argv[]);