Sat, 13 Dec 2025 20:44:57 +0100
fix incorrect definition of cx_clone_func fptr
| src/cx/allocator.h | file | annotate | diff | comparison | revisions |
--- a/src/cx/allocator.h Sat Dec 13 16:47:07 2025 +0100 +++ b/src/cx/allocator.h Sat Dec 13 20:44:57 2025 +0100 @@ -142,7 +142,7 @@ * @return either the specified @p target, a pointer to the allocated memory, * or @c NULL, if any error occurred */ -typedef void*(cx_clone_func)(void *target, const void *source, +typedef void*(*cx_clone_func)(void *target, const void *source, const CxAllocator *allocator, void *data); /**