~ chicken-core (chicken-5) 26a67a9a7bed964130b3c760849d7d1e9765a519
commit 26a67a9a7bed964130b3c760849d7d1e9765a519 Author: felix <felix@call-with-current-continuation.org> AuthorDate: Fri Jul 30 15:14:21 2010 +0200 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Fri Jul 30 15:14:21 2010 +0200 tweaked note about hooks diff --git a/manual/C interface b/manual/C interface index aae110bb..79648682 100644 --- a/manual/C interface +++ b/manual/C interface @@ -655,12 +655,12 @@ root variables. If not {{NULL}}, the function pointed to by this variable will be called before each garbage collection with a flag indicating what kind -of collection was performed (either {{0}} for a minor collection or -{{2}} for a resizing collection). A "resizing" collection means a -secondary collection that moves all live data into a enlarged (or -shrinked) heap-space. Minor collections happen very frequently, so the -hook function should not consume too much time. The hook function may -not invoke Scheme callbacks. +of collection was performed (either {{0}} for a minor or major +collection or {{2}} for a resizing collection). A "resizing" +collection means a secondary collection that moves all live data into +a enlarged (or shrinked) heap-space. Minor collections happen very +frequently, so the hook function should not consume too much time. The +hook function may not invoke Scheme callbacks. Note that resizing collections may be nested in normal major collections.Trap