103 * |
106 * |
104 * Keep in mind, that you might want to pass the allocator as an (part of the) |
107 * Keep in mind, that you might want to pass the allocator as an (part of the) |
105 * argument for the <code>data</code> parameter, if you want the copy_func() to |
108 * argument for the <code>data</code> parameter, if you want the copy_func() to |
106 * make use of the allocator. |
109 * make use of the allocator. |
107 * |
110 * |
|
111 * @param allocator the allocator to use |
108 * @param list the list to copy |
112 * @param list the list to copy |
109 * @param cpyfnc a pointer to the function that shall copy an element (may be |
113 * @param cpyfnc a pointer to the function that shall copy an element (may be |
110 * <code>NULL</code>) |
114 * <code>NULL</code>) |
111 * @param data additional data for the copy_func() |
115 * @param data additional data for the copy_func() |
112 * @return a pointer to the copy |
116 * @return a pointer to the copy |