Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
added circle placement for ns3 wifi nodes
[simgrid.git] / include / xbt / function_types.h
index 9bd74329063eb0498d53dd1433329f17a2d10c40..9eaf5ab35bf3533ec448c47b4f70dfd89363541a 100644 (file)
@@ -17,11 +17,12 @@ typedef void *(*pvoid_f_void_t) (void);
 typedef void *(*pvoid_f_pvoid_t) (void *);
 typedef void (*void_f_void_t) (void);
 
+typedef void (*void_f_int_pvoid_t)(int, void*);
 typedef int (*int_f_int_pvoid_t)(int, void*);
 typedef int (*int_f_pvoid_pvoid_t) (void *, void *);
 typedef int (*int_f_cpvoid_cpvoid_t) (const void *, const void *);
 
-typedef int (*xbt_main_func_t) (int argc, char *argv[]);
+typedef void (*xbt_main_func_t)(int argc, char* argv[]);
 
 SG_END_DECL
 #endif                          /* XBT_FUNCTION_TYPE_H */