X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/494616a1d79ab04ce6f0309a5cbb29ee5876c379..c41f6db03c1da0871287a5b70f919ab44278d938:/include/xbt/misc.h diff --git a/include/xbt/misc.h b/include/xbt/misc.h index 28428682d8..03257f5f88 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -84,6 +84,18 @@ typedef struct { const char *xbt_procname(void); + +/* Generic function type */ + + typedef void (void_f_ppvoid_t)(void**); + typedef void (void_f_pvoid_t) (void*); + + typedef int (int_f_pvoid_pvoid_t) (void*,void*); + + typedef int (*int_f_void_t) (void); /* FIXME: rename it to int_pf_void_t */ + +#define XBT_BACKTRACE_SIZE 10 /* FIXME: better place? Do document */ + SG_END_DECL() #endif /* XBT_MISC_H */