src/ucx/map.h

changeset 253
e19825a1430a
parent 251
fae240d633fc
child 259
2f5dea574a75
equal deleted inserted replaced
252:6342cbbd1922 253:e19825a1430a
196 * @param fnc the copy function or <code>NULL</code> if the pointer address 196 * @param fnc the copy function or <code>NULL</code> if the pointer address
197 * shall be copied 197 * shall be copied
198 * @param data additional data for the copy function 198 * @param data additional data for the copy function
199 * @return 0 on success or a non-zero value on memory allocation errors 199 * @return 0 on success or a non-zero value on memory allocation errors
200 */ 200 */
201 int ucx_map_copy(UcxMap *restrict from, UcxMap *restrict to, 201 int ucx_map_copy(UcxMap *from, UcxMap *to, copy_func fnc, void *data);
202 copy_func fnc, void *data);
203 202
204 /** 203 /**
205 * Clones the map and rehashes if necessary. 204 * Clones the map and rehashes if necessary.
206 * 205 *
207 * <b>Note:</b> In contrast to ucx_map_rehash() the load factor is irrelevant. 206 * <b>Note:</b> In contrast to ucx_map_rehash() the load factor is irrelevant.

mercurial