ucx/map.h

changeset 206
58b77eb51afd
parent 192
1e51558b9d09
child 208
262c7be94eba
equal deleted inserted replaced
205:54a7ceb9151f 206:58b77eb51afd
152 * @param map the map to be freed 152 * @param map the map to be freed
153 */ 153 */
154 void ucx_map_free(UcxMap *map); 154 void ucx_map_free(UcxMap *map);
155 155
156 /** 156 /**
157 * Clears a hash map.
158 *
159 * <b>Note:</b> the contents are <b>not</b> freed.
160 *
161 * @param map the map to be freed
162 */
163 void ucx_map_clear(UcxMap *map);
164
165 /**
157 * Copies contents from a map to another map using a copy function. 166 * Copies contents from a map to another map using a copy function.
158 * 167 *
159 * <b>Note:</b> The destination map does not need to be empty. However, if it 168 * <b>Note:</b> The destination map does not need to be empty. However, if it
160 * contains data with keys that are also present in the source map, the contents 169 * contains data with keys that are also present in the source map, the contents
161 * are overwritten. 170 * are overwritten.

mercurial