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
normalize the function names wrt to the rest of XBT
[simgrid.git]
/
include
/
xbt
/
mmalloc.h
diff --git
a/include/xbt/mmalloc.h
b/include/xbt/mmalloc.h
index
f6ca905
..
53d0c84
100644
(file)
--- a/
include/xbt/mmalloc.h
+++ b/
include/xbt/mmalloc.h
@@
-46,11
+46,11
@@
extern void *mmemalign(xbt_mheap_t md, size_t alignment, size_t size);
/* Allocate SIZE bytes on a page boundary. */
extern void *mvalloc(xbt_mheap_t md, size_t size);
/* Allocate SIZE bytes on a page boundary. */
extern void *mvalloc(xbt_mheap_t md, size_t size);
-extern xbt_mheap_t
mmalloc_attach
(int fd, void *baseaddr);
+extern xbt_mheap_t
xbt_mheap_new
(int fd, void *baseaddr);
-extern void
mmalloc_detach
_no_free(xbt_mheap_t md);
+extern void
xbt_mheap_destroy
_no_free(xbt_mheap_t md);
-extern void *
mmalloc_detach
(xbt_mheap_t md);
+extern void *
xbt_mheap_destroy
(xbt_mheap_t md);
/* return the heap used when NULL is passed as first argument to any mm* function */
extern xbt_mheap_t mmalloc_get_default_md(void);
/* return the heap used when NULL is passed as first argument to any mm* function */
extern xbt_mheap_t mmalloc_get_default_md(void);