diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2002-06-03 14:21:50 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2002-06-03 14:21:50 +0000 |
commit | c9c0e6d13c694dad2ff2fa3219491cd373256de7 (patch) | |
tree | 67bcb9189c0ec70008ee2bf41451a9fefe82ee92 /byterun/memory.h | |
parent | 685a839af651583941922c7aa87a9a13696e35ed (diff) |
Nettoyage alloc_for_heap, free_for_heap. Prevoir d'utiliser mmap() au lieu de malloc() pour allouer le tas majeur (utile pour IA64/Linux)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4867 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/memory.h')
-rw-r--r-- | byterun/memory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/byterun/memory.h b/byterun/memory.h index a5ffb6019..d97547e3c 100644 --- a/byterun/memory.h +++ b/byterun/memory.h @@ -36,9 +36,9 @@ CAMLextern value check_urgent_gc (value); CAMLextern void * stat_alloc (asize_t); /* Size in bytes. */ CAMLextern void stat_free (void *); CAMLextern void * stat_resize (void *, asize_t); /* Size in bytes. */ -header_t *alloc_for_heap (asize_t request); /* Size in bytes. */ -void free_for_heap (header_t *mem); -int add_to_heap (header_t *mem); +char *alloc_for_heap (asize_t request); /* Size in bytes. */ +void free_for_heap (char *mem); +int add_to_heap (char *mem); color_t allocation_color (void *hp); /* void shrink_heap (char *); Only used in compact.c */ |