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

Public GIT Repository
the first pointer of the xbt_thread_create() function must be a function pointer...
[simgrid.git] / include / xbt / function_types.h
index a632b5af9c583de4bb37c157d29fc208d0323105..c12ca70e074ca8db22c73d80dbbe7040cf464fa6 100644 (file)
 
 SG_BEGIN_DECL()
 
-   typedef void (void_f_ppvoid_t)(void**);
-   typedef void (void_f_pvoid_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 void  (void_f_void_t) (void);
+
+   typedef int   (int_f_void_t)   (void);
 
    typedef int  (int_f_pvoid_pvoid_t) (void*,void*);
-   
-   typedef void (*void_pf_void_t) (void);
-   typedef int  (*int_pf_void_t)   (void);
 
+   typedef int  (*xbt_main_func_t)(int argc, char *argv[]);
+
+   typedef void* (*pvoid_pf_void_t)(void);
+   typedef void (*void_fp_pvoid_t)(void*);
 SG_END_DECL()
 
-#endif /* XBT_MISC_H */
+#endif /* XBT_FUNCTION_TYPE_H */