diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2004-01-05 20:26:19 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2004-01-05 20:26:19 +0000 |
commit | 258c929f64adc92812b7d966a07ef9712686e54a (patch) | |
tree | b61d46ba69aad98c6bcbab4e7eaea5648a41dc7e /byterun/memory.c | |
parent | b1b67be7ad15b951b0debb039304af2a8fb37ceb (diff) |
PR#1914,PR#1956, suppression du portage Mac OS 9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/memory.c')
-rw-r--r-- | byterun/memory.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/byterun/memory.c b/byterun/memory.c index 39ab462f1..824a01d44 100644 --- a/byterun/memory.c +++ b/byterun/memory.c @@ -251,7 +251,7 @@ color_t caml_allocation_color (void *hp) } } -value caml_alloc_shr (mlsize_t wosize, tag_t tag) +CAMLexport value caml_alloc_shr (mlsize_t wosize, tag_t tag) { char *hp, *new_block; @@ -305,7 +305,7 @@ value caml_alloc_shr (mlsize_t wosize, tag_t tag) (or kilobytes, ...) instead of words. You can change units between calls to [caml_adjust_gc_speed]. */ -void caml_adjust_gc_speed (mlsize_t mem, mlsize_t max) +CAMLexport void caml_adjust_gc_speed (mlsize_t mem, mlsize_t max) { if (max == 0) max = 1; if (mem > max) mem = max; @@ -348,7 +348,7 @@ void caml_modify (value *fp, value val) Modify (fp, val); } -void * caml_stat_alloc (asize_t sz) +CAMLexport void * caml_stat_alloc (asize_t sz) { void * result = malloc (sz); @@ -360,12 +360,12 @@ void * caml_stat_alloc (asize_t sz) return result; } -void caml_stat_free (void * blk) +CAMLexport void caml_stat_free (void * blk) { free (blk); } -void * caml_stat_resize (void * blk, asize_t sz) +CAMLexport void * caml_stat_resize (void * blk, asize_t sz) { void * result = realloc (blk, sz); |