fix incorrect definition of cx_clone_func fptr

Sat, 13 Dec 2025 20:44:57 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 13 Dec 2025 20:44:57 +0100
changeset 1593
0df5128ab675
parent 1592
c1e17411004f
child 1594
4b9537f93239

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);
 
 /**

mercurial