docs/Writerside/topics/list.h.md

changeset 1342
fe3ac6b1cf57
parent 1318
12fa1d37fe48
--- a/docs/Writerside/topics/list.h.md	Sun Aug 17 23:05:16 2025 +0200
+++ b/docs/Writerside/topics/list.h.md	Sun Aug 17 23:10:25 2025 +0200
@@ -414,7 +414,7 @@
 |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
 | `clear`          | Invoke destructor functions on all elements and remove them from the list.                                                                                                                                                                                                                                                 |
 | `deallocate`     | Invoke destructor functions on all elements and deallocate the entire list memory.                                                                                                                                                                                                                                         |
-| `insert_element` | Insert a single element at the specified index. Return a pointer to the data of the inserted element or `NULL` on failure.                                                                                                                                                                                                 |
+| `insert_element` | Insert a single element at the specified index. Return a pointer to the allocated element or `NULL` on failure.                                                                                                                                                                                                            |
 | `insert_array`   | Insert an array of elements starting at the specified index. Return the number of elements inserted.                                                                                                                                                                                                                       |
 | `insert_sorted`  | Insert an array of sorted elements into a sorted list. Return the number of elements inserted.                                                                                                                                                                                                                             |
 | `insert_iter`    | Insert a single element depending on the iterator position. The third argument to this function is zero when the element shall be inserted after the iterator position and non-zero if it shall be inserted before the iterator position. The implementation is also responsible for adjusting the iterator, respectively. |

mercurial