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

Public GIT Repository
Oops, do not load portable.h from a public header: it's not installed
[simgrid.git] / include / xbt / function_types.h
index 7e476a74637c427e73609af62bfbe692254c0d9a..a5044bdaba0e31569c5c23698476a6c7dd13cdd8 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()
 
-#endif /* XBT_MISC_H */
+#endif /* XBT_FUNCTION_TYPE_H */