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