Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics: enforce prototype checking on callbacks in SIMIX_function_register_process...
[simgrid.git] / src / simix / private.h
index 1c7ac7d..2c70b1e 100644 (file)
@@ -38,8 +38,8 @@ typedef struct SIMIX_Global {
 
   smx_process_t current_process;
   xbt_dict_t registered_functions;
-       void* (*create_process_function) ();
-       void* (*kill_process_function)();
+  smx_creation_func_t *create_process_function;
+  void_f_pvoid_t* kill_process_function;
 } s_SIMIX_Global_t, *SIMIX_Global_t;
 
 extern SIMIX_Global_t simix_global;