]> AND Public Git Repository - simgrid.git/blobdiff - include/xbt/function_types.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
few fortran defines to make bigdft happy
[simgrid.git] / include / xbt / function_types.h
index 9bf172fdb4083a8b90da1805116fe262aa27ecda..fc1b45883d3a6b01ca6c44a356916bb8e1e3078e 100644 (file)
@@ -15,16 +15,21 @@ SG_BEGIN_DECL()
 
 typedef void (*void_f_ppvoid_t) (void **);
 typedef void (*void_f_pvoid_t) (void *);
-typedef void (*void_f_int_pvoid_t) (int,void *);
-     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 void *(*pvoid_f_void_t) (void);
+typedef void *(*pvoid_f_pvoid_t) (void *);
+typedef void (*void_f_void_t) (void);
 
-     typedef int (*int_f_void_t) (void);
+typedef int (*int_f_void_t) (void);
+typedef int (*int_f_pvoid_t) (void*);
 
-     typedef int (*int_f_pvoid_pvoid_t) (void *, 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 int (*xbt_main_func_t) (int argc, char *argv[]);
+
+typedef double(*double_f_pvoid_t) (void *);
+typedef double(*double_f_cpvoid_t) (const void *);
 
 SG_END_DECL()
-#endif /* XBT_FUNCTION_TYPE_H */
+#endif                          /* XBT_FUNCTION_TYPE_H */