src/cx/iterator.h

changeset 1432
fb82e7a92258
parent 1429
6e0c3a8a914a
equal deleted inserted replaced
1431:1ec36e652e57 1432:fb82e7a92258
48 struct cx_iterator_base_s { 48 struct cx_iterator_base_s {
49 /** 49 /**
50 * True if the iterator points to valid data. 50 * True if the iterator points to valid data.
51 */ 51 */
52 bool (*valid)(const void *); 52 bool (*valid)(const void *);
53 53 /**
54 * Original implementation in case the function needs to be wrapped.
55 */
56 bool (*valid_impl)(const void *);
54 /** 57 /**
55 * Returns a pointer to the current element. 58 * Returns a pointer to the current element.
56 * 59 *
57 * When valid returns false, the behavior of this function is undefined. 60 * When valid returns false, the behavior of this function is undefined.
58 */ 61 */

mercurial