src/cx/iterator.h

changeset 933
40bf2f212d2a
parent 890
54565fd74e74
equal deleted inserted replaced
932:484dab606292 933:40bf2f212d2a
36 #ifndef UCX_ITERATOR_H 36 #ifndef UCX_ITERATOR_H
37 #define UCX_ITERATOR_H 37 #define UCX_ITERATOR_H
38 38
39 #include "common.h" 39 #include "common.h"
40 40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
41 struct cx_iterator_base_s { 45 struct cx_iterator_base_s {
42 /** 46 /**
43 * True iff the iterator points to valid data. 47 * True iff the iterator points to valid data.
44 */ 48 */
45 __attribute__ ((__nonnull__)) 49 __attribute__ ((__nonnull__))
260 size_t elem_size, 264 size_t elem_size,
261 size_t elem_count, 265 size_t elem_count,
262 bool remove_keeps_order 266 bool remove_keeps_order
263 ); 267 );
264 268
269 #ifdef __cplusplus
270 } // extern "C"
271 #endif
272
265 #endif // UCX_ITERATOR_H 273 #endif // UCX_ITERATOR_H

mercurial