summaryrefslogtreecommitdiff
path: root/include/gc_disclaim.h
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-09-30 13:30:16 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-09-30 13:30:16 +0400
commita28cfb78ac3abf4e59161ce8ee9c128e8377fd81 (patch)
tree471a1433bfec28f6b9f1e4143e860a23ba8fc872 /include/gc_disclaim.h
parent397b9991e1058c1e9e0f14a3a2ca686824020ed9 (diff)
parent3c313023db0d7c81310e47383116f48e6d16d2c8 (diff)
downloadbdwgc-a28cfb78ac3abf4e59161ce8ee9c128e8377fd81.tar.gz
Merge branch 'remotes/paurkedal/t/disclaim-pullreq' plus some minor fixes
Diffstat (limited to 'include/gc_disclaim.h')
-rw-r--r--include/gc_disclaim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gc_disclaim.h b/include/gc_disclaim.h
index 0437f724..2e8013d2 100644
--- a/include/gc_disclaim.h
+++ b/include/gc_disclaim.h
@@ -20,7 +20,9 @@
/* This API is defined only if the library has been suitably compiled */
/* (i.e. with ENABLE_DISCLAIM defined). */
-/* Prepare the object kind used for GC_finalized_malloc. */
+/* Prepare the object kind used by GC_finalized_malloc. Call it from */
+/* your initialization code or, at least, at some point before using */
+/* finalized allocations. The function is thread-safe. */
GC_API void GC_CALL GC_init_finalized_malloc(void);
/* Type of a disclaim call-back, always stored along with closure data */