| 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 * |