reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
hashset_itr.h
Go to the documentation of this file.
1
27
28#ifndef HASHSET_ITR_H_
29#define HASHSET_ITR_H_
30
31#include "hashset.h"
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
45
47
68
79
88
100
101#endif /* HASHSET_ITR_H_ */
102
103#ifdef __cplusplus
104}
105#endif
void * hashset_iterator_value(hashset_itr_t itr)
Return the value at the current index.
int hashset_iterator_next(hashset_itr_t itr)
Advance to the next value in the hashset.
int hashset_iterator_has_next(hashset_itr_t itr)
Return 1 if there is a next value in the hashset and 0 otherwise.
hashset_itr_t hashset_iterator(hashset_t set)
Create a hashset iterator.
A hash set implementation in C.
struct hashset_st * hashset_t
Definition hashset.h:73
struct hashset_itr_st * hashset_itr_t
Definition hashset_itr.h:46
A hashset iterator.
Definition hashset_itr.h:41
int index
Definition hashset_itr.h:43
hashset_t set
Definition hashset_itr.h:42