Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I just add two function pointer types.
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Oct 2007 07:40:48 +0000 (07:40 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Oct 2007 07:40:48 +0000 (07:40 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4766 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/function_types.h

index 801a695..c12ca70 100644 (file)
@@ -27,6 +27,9 @@ SG_BEGIN_DECL()
    typedef int  (int_f_pvoid_pvoid_t) (void*,void*);
 
    typedef int  (*xbt_main_func_t)(int argc, char *argv[]);
    typedef int  (int_f_pvoid_pvoid_t) (void*,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_FUNCTION_TYPE_H */
 SG_END_DECL()
 
 #endif /* XBT_FUNCTION_TYPE_H */