From 6af1c29469878c02b6859f7ae64112fa9f5857b0 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Wed, 10 May 2017 21:38:01 +0200 Subject: [PATCH] Remove broken _it_end operator for standard dictionnary (OA dict has a _it_end operator which should work). --- m-dict.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/m-dict.h b/m-dict.h index e5d7d0e5..72561927 100644 --- a/m-dict.h +++ b/m-dict.h @@ -361,16 +361,6 @@ M_C3(list_dict_pair_, name, _it_set)(it->list_it, ref->list_it); \ } \ \ - static inline void \ - M_C3(dict_, name, _it_end)(dict_it_t it, dict_t d) \ - { \ - DICTI_CONTRACT(name, d); \ - assert (it != NULL); \ - /* FIXME: This is not the end??? */ \ - M_C3(list_dict_pair_, name, _it_end)(it->list_it, \ - *M_C3(array_list_dict_pair_, name, _get)(d->table, 0)); \ - } \ - \ static inline bool \ M_C3(dict_, name, _end_p)(const dict_it_t it) \ { \ @@ -534,7 +524,6 @@ IT_TYPE(M_C3(dict_it_,name,_t)), \ IT_FIRST(M_C3(dict_,name,_it)), \ IT_SET(M_C3(dict_, name, _it_set)), \ - IT_END(M_C3(dict_, name, _it_end)), \ IT_END_P(M_C3(dict_,name,_end_p)), \ IT_LAST_P(M_C3(dict_,name,_last_p)), \ IT_NEXT(M_C3(dict_,name,_next)), \