Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fight for better integration of mmalloc, mc and xbt
[simgrid.git] / include / xbt / mmalloc.h
index 9ce4cd0..f813b78 100644 (file)
@@ -62,4 +62,10 @@ 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 */