src/cx/allocator.h

changeset 1593
0df5128ab675
parent 1554
91fb10c89611
equal deleted inserted replaced
1592:c1e17411004f 1593:0df5128ab675
140 * @param allocator the allocator that shall be used 140 * @param allocator the allocator that shall be used
141 * @param data optional additional data 141 * @param data optional additional data
142 * @return either the specified @p target, a pointer to the allocated memory, 142 * @return either the specified @p target, a pointer to the allocated memory,
143 * or @c NULL, if any error occurred 143 * or @c NULL, if any error occurred
144 */ 144 */
145 typedef void*(cx_clone_func)(void *target, const void *source, 145 typedef void*(*cx_clone_func)(void *target, const void *source,
146 const CxAllocator *allocator, void *data); 146 const CxAllocator *allocator, void *data);
147 147
148 /** 148 /**
149 * Returns the system's memory page size. 149 * Returns the system's memory page size.
150 * 150 *

mercurial