ucx/map.h

changeset 167
cecfbb5f8618
parent 110
53895e9a4bbb
child 169
08adb4f87160
equal deleted inserted replaced
166:8911170d5e78 167:cecfbb5f8618
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