docs/Writerside/topics/collection.h.md

changeset 1239
b4b1f15d1866
parent 1215
790ff923f375
--- a/docs/Writerside/topics/collection.h.md	Wed Mar 05 20:53:41 2025 +0100
+++ b/docs/Writerside/topics/collection.h.md	Thu Mar 06 20:28:34 2025 +0100
@@ -44,6 +44,8 @@
 
 In each case the argument `c` is a pointer to your collection. The macro will then access the base data with `c->collection`.
 
+## Destructor Functions
+
 For working with destructors, the following macros are defined:
 
 ```C
@@ -67,7 +69,7 @@
 This macro will invoke a simple destructor, if one is assigned, first, and then the advanced destructor (again, if assigned).
 
 > Destructor functions are always invoked with a pointer to the element in your collection.
-> If your collection is storing pointers (i.e. `cxCollectionStorePointers()` returns `true`)
+> If your collection is storing pointers (i.e. `cxCollectionStoresPointers()` returns `true`)
 > the `cx_invoke_destructor()` will make sure that the pointer to the element is dereferenced first,
 > so that the destructor functions are _always_ invoked with pointer to the actual element.
 {style="note"}

mercurial