docs/src/features.md

changeset 890
54565fd74e74
parent 854
fe0d69d72bcd
--- a/docs/src/features.md	Wed Sep 18 00:02:18 2024 +0200
+++ b/docs/src/features.md	Sat Sep 28 15:47:28 2024 +0200
@@ -278,7 +278,7 @@
         size_t *size,
         size_t *capacity,  // optional
         size_t index,
-        void const *src,
+        const void *src,
         size_t elem_size,
         size_t elem_count,
         struct cx_array_reallocator_s *reallocator // optional
@@ -330,7 +330,7 @@
 
 Secondly, the iterator method is a bit more complete. The signature is as follows:
 ```c
-CxIterator (*iterator)(CxMap const *map, enum cx_map_iterator_type type);
+CxIterator (*iterator)(const CxMap *map, enum cx_map_iterator_type type);
 ```
 There are three map iterator types: for values, for keys, for pairs.
 Depending on the iterator type requested, you need to create an iterator with the correct methods that

mercurial