src/cx/iterator.h

changeset 1035
9b6ded88d7a0
parent 985
68754c7de906
equal deleted inserted replaced
1034:424b5b74a68f 1035:9b6ded88d7a0
40 40
41 #ifdef __cplusplus 41 #ifdef __cplusplus
42 extern "C" { 42 extern "C" {
43 #endif 43 #endif
44 44
45 /**
46 * Common data for all iterators.
47 */
45 struct cx_iterator_base_s { 48 struct cx_iterator_base_s {
46 /** 49 /**
47 * True iff the iterator points to valid data. 50 * True iff the iterator points to valid data.
48 */ 51 */
49 cx_attr_nonnull 52 cx_attr_nonnull
90 93
91 /** 94 /**
92 * Internal iterator struct - use CxIterator. 95 * Internal iterator struct - use CxIterator.
93 */ 96 */
94 struct cx_iterator_s { 97 struct cx_iterator_s {
98 /**
99 * Inherited common data for all iterators.
100 */
95 CX_ITERATOR_BASE; 101 CX_ITERATOR_BASE;
96 102
97 /** 103 /**
98 * Handle for the current element. 104 * Handle for the current element.
99 */ 105 */

mercurial