Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Oups, commited a stupid check which will help me one day for the portability to AIX...
[simgrid.git] / include / xbt / function_types.h
index 0994fef..a5044bd 100644 (file)
 
 SG_BEGIN_DECL()
 
-   typedef void  (void_f_ppvoid_t)(void**);
-   typedef void  (void_f_pvoid_t) (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_ppvoid_t)(void**);
+   typedef void  (*void_f_pvoid_t) (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_pvoid_t) (void*,void*);
+   typedef int  (*int_f_pvoid_pvoid_t) (void*,void*);
+
+   typedef int  (*xbt_main_func_t)(int argc, char *argv[]);
 
 SG_END_DECL()