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
Added missing MPI call.
[simgrid.git]
/
include
/
xbt
/
mmalloc.h
diff --git
a/include/xbt/mmalloc.h
b/include/xbt/mmalloc.h
index
98642f9
..
f813b78
100644
(file)
--- a/
include/xbt/mmalloc.h
+++ b/
include/xbt/mmalloc.h
@@
-55,8
+55,17
@@
extern void* mmalloc_getkey (void* md, int keynum);
// FIXME: this function is not implemented anymore?
//extern int mmalloc_errno (void* md);
// FIXME: this function is not implemented anymore?
//extern int mmalloc_errno (void* md);
+/* return the heap used when NULL is passed as first argument to any mm* function */
+extern void *mmalloc_get_default_md(void);
+
extern int mmtrace(void);
extern void* mmalloc_findbase(int size);
extern int mmtrace(void);
extern void* mmalloc_findbase(int size);
+/* To change the heap used when using the legacy version malloc/free/realloc and such */
+void mmalloc_set_current_heap(void *new_heap);
+void* mmalloc_get_current_heap(void);
+
+
+
#endif /* MMALLOC_H */
#endif /* MMALLOC_H */