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 */ |