summaryrefslogtreecommitdiff
path: root/byterun/memory.c
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2012-04-18 07:17:58 +0000
committerAlain Frisch <alain@frisch.fr>2012-04-18 07:17:58 +0000
commit061ed556888aed2c84267caca6a6ab832eb2da46 (patch)
treedd594255e06294b863e40a382af794adb60682aa /byterun/memory.c
parent215e508e8bd53f7299ffd7d828794e2f4d4ba6f4 (diff)
parent3930c2fd79e43bd02e3bc79d6b047f3aeab0effe (diff)
downloadocaml-more_unboxing.tar.gz
Sync with trunk.more_unboxing
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/more_unboxing@12369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/memory.c')
-rw-r--r--byterun/memory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/byterun/memory.c b/byterun/memory.c
index b0801f130b..b99825d185 100644
--- a/byterun/memory.c
+++ b/byterun/memory.c
@@ -255,6 +255,8 @@ void caml_free_for_heap (char *mem)
caller. All other blocks must have the color [caml_allocation_color(m)].
The caller must update [caml_allocated_words] if applicable.
Return value: 0 if no error; -1 in case of error.
+
+ See also: caml_compact_heap, which duplicates most of this function.
*/
int caml_add_to_heap (char *m)
{