Fix issue:
the function dict_oa_it_end was in fact dict_oa_it_last. add function dict_oa_it_end
This commit is contained in:
1 parent
291fb2ab56
commit
28620c8cb5
1 file changed
+10
-1
@@ -1063,7 +1063,7 @@ typedef enum {
|
|||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
static inline void \
|
static inline void \
|
||||||
M_C3(dict_, name, _it_end)(dict_it_t it, dict_t d) \
|
M_C3(dict_, name, _it_last)(dict_it_t it, dict_t d) \
|
||||||
{ \
|
{ \
|
||||||
DICTI_OA_CONTRACT(d); \
|
DICTI_OA_CONTRACT(d); \
|
||||||
assert (it != NULL); \
|
assert (it != NULL); \
|
||||||
@@ -1077,6 +1077,15 @@ typedef enum {
|
|||||||
it->index = i; \
|
it->index = i; \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
|
static inline void \
|
||||||
|
M_C3(dict_, name, _it_end)(dict_it_t it, dict_t d) \
|
||||||
|
{ \
|
||||||
|
DICTI_OA_CONTRACT(d); \
|
||||||
|
assert (it != NULL); \
|
||||||
|
it->dict = d; \
|
||||||
|
it->index = d->mask+1; \
|
||||||
|
} \
|
||||||
|
\
|
||||||
static inline bool \
|
static inline bool \
|
||||||
M_C3(dict_, name, _end_p)(const dict_it_t it) \
|
M_C3(dict_, name, _end_p)(const dict_it_t it) \
|
||||||
{ \
|
{ \
|
||||||
|
|||||||
Reference in new issue
Block a user