fix documentation of reallocator struct

Fri, 05 Jan 2024 00:12:11 +0100

author
Mike Becker <universe@uap-core.de>
date
Fri, 05 Jan 2024 00:12:11 +0100
changeset 795
00ba1bfa4ab4
parent 794
23c6e3e846a8
child 796
fec90b848f4b

fix documentation of reallocator struct

src/cx/array_list.h file | annotate | diff | comparison | revisions
     1.1 --- a/src/cx/array_list.h	Thu Jan 04 21:24:55 2024 +0100
     1.2 +++ b/src/cx/array_list.h	Fri Jan 05 00:12:11 2024 +0100
     1.3 @@ -53,8 +53,9 @@
     1.4       *
     1.5       * Implementations are not required to free the original array.
     1.6       * This allows re-allocation of static memory by allocating heap memory
     1.7 -     * and copying the array contents. The information in \p data can keep
     1.8 -     * track of the state of the memory or other additional allocator info.
     1.9 +     * and copying the array contents. The information in the custom fields of
    1.10 +     * the referenced allocator can be used to track the state of the memory
    1.11 +     * or to transport other additional data.
    1.12       *
    1.13       * @param array the array to reallocate
    1.14       * @param capacity the new capacity (number of elements)

mercurial