Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Put all typedef of generic callbacks in the same place
[simgrid.git] / include / xbt / misc.h
index 2842868..8c2709a 100644 (file)
@@ -84,6 +84,16 @@ typedef struct {
 
 const char *xbt_procname(void);
 
+
+/* Generic function type */
+
+   typedef void (void_f_ppvoid_t)(void**);
+   typedef void (void_f_pvoid_t) (void*);
+
+   typedef int  (int_f_pvoid_pvoid_t) (void*,void*);
+   
+   typedef int  (*int_f_void_t)   (void); /* FIXME: rename it to int_pf_void_t */
+   
 SG_END_DECL()
 
 #endif /* XBT_MISC_H */