src/cx/map.h

changeset 853
d4baf4dd55c3
parent 759
475335643af4
child 854
fe0d69d72bcd
equal deleted inserted replaced
852:16e2a3391e88 853:d4baf4dd55c3
266 * 266 *
267 * @param map the map to create the iterator for 267 * @param map the map to create the iterator for
268 * @return an iterator for the currently stored values 268 * @return an iterator for the currently stored values
269 */ 269 */
270 __attribute__((__nonnull__, __warn_unused_result__)) 270 __attribute__((__nonnull__, __warn_unused_result__))
271 CxMutIterator cxMapMutIteratorValues(CxMap *map); 271 CxIterator cxMapMutIteratorValues(CxMap *map);
272 272
273 /** 273 /**
274 * Creates a mutating iterator over the keys of a map. 274 * Creates a mutating iterator over the keys of a map.
275 * 275 *
276 * The elements of the iterator are keys of type CxHashKey. 276 * The elements of the iterator are keys of type CxHashKey.
280 * 280 *
281 * @param map the map to create the iterator for 281 * @param map the map to create the iterator for
282 * @return an iterator for the currently stored keys 282 * @return an iterator for the currently stored keys
283 */ 283 */
284 __attribute__((__nonnull__, __warn_unused_result__)) 284 __attribute__((__nonnull__, __warn_unused_result__))
285 CxMutIterator cxMapMutIteratorKeys(CxMap *map); 285 CxIterator cxMapMutIteratorKeys(CxMap *map);
286 286
287 /** 287 /**
288 * Creates a mutating iterator for a map. 288 * Creates a mutating iterator for a map.
289 * 289 *
290 * The elements of the iterator are key/value pairs of type CxMapEntry. 290 * The elements of the iterator are key/value pairs of type CxMapEntry.
296 * @return an iterator for the currently stored entries 296 * @return an iterator for the currently stored entries
297 * @see cxMapMutIteratorKeys() 297 * @see cxMapMutIteratorKeys()
298 * @see cxMapMutIteratorValues() 298 * @see cxMapMutIteratorValues()
299 */ 299 */
300 __attribute__((__nonnull__, __warn_unused_result__)) 300 __attribute__((__nonnull__, __warn_unused_result__))
301 CxMutIterator cxMapMutIterator(CxMap *map); 301 CxIterator cxMapMutIterator(CxMap *map);
302 302
303 #ifdef __cplusplus 303 #ifdef __cplusplus
304 } // end the extern "C" block here, because we want to start overloading 304 } // end the extern "C" block here, because we want to start overloading
305 305
306 /** 306 /**

mercurial