# HG changeset patch # User Mike Becker # Date 1765655097 -3600 # Node ID 0df5128ab675d906a1fb0e2a05ab99003d26a68c # Parent c1e17411004f508a2b0447dabb9d4d46022a98a2 fix incorrect definition of cx_clone_func fptr diff -r c1e17411004f -r 0df5128ab675 src/cx/allocator.h --- 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); /**