Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define variables in C file.
[simgrid.git] / include / xbt / function_types.h
index 201bdb7..fc1b458 100644 (file)
@@ -15,17 +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_cpvoid_cpvoid_t) (const void *, const 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 */