--- a/src/cx/buffer.h Mon Nov 18 22:05:42 2024 +0100 +++ b/src/cx/buffer.h Sat Nov 23 14:45:32 2024 +0100 @@ -151,7 +151,8 @@ * new memory * @param capacity the capacity of the buffer * @param allocator the allocator this buffer shall use for automatic - * memory management. If \c NULL, the default heap allocator will be used. + * memory management + * (if \c NULL, a default stdlib allocator will be used) * @param flags buffer features (see cx_buffer_s.flags) * @return zero on success, non-zero if a required allocation failed */ @@ -201,7 +202,8 @@ * new memory * @param capacity the capacity of the buffer * @param allocator the allocator to use for allocating the structure and the automatic - * memory management within the buffer. If \c NULL, the default heap allocator will be used. + * memory management within the buffer + * (if \c NULL, a default stdlib allocator will be used) * @param flags buffer features (see cx_buffer_s.flags) * @return a pointer to the buffer on success, \c NULL if a required allocation failed */