summaryrefslogtreecommitdiff
path: root/byterun/memory.c
diff options
context:
space:
mode:
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)
{