A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding licence, getting rid of useless includes and cosmetics
[simgrid.git]
/
include
/
xbt
/
misc.h
diff --git
a/include/xbt/misc.h
b/include/xbt/misc.h
index
a4fa1b5
..
03257f5
100644
(file)
--- a/
include/xbt/misc.h
+++ b/
include/xbt/misc.h
@@
-84,11
+84,18
@@
typedef struct {
const char *xbt_procname(void);
const char *xbt_procname(void);
- /** \brief Pointer to a function freeing a pointed data */
+
+/* Generic function type */
+
typedef void (void_f_ppvoid_t)(void**);
typedef void (void_f_ppvoid_t)(void**);
- /** \brief Pointer to a function freeing some data */
- typedef void (void_f_pvoid_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 */
SG_END_DECL()
#endif /* XBT_MISC_H */