Remove deprecated methods
This commit is contained in:
1 parent
d50a78171f
commit
ec7b5dd120
3 files changed
+2
-12
No files matched your search
@@ -35,3 +35,5 @@ V0.2.*: * worker_start takes a 'worker_t' as an additional parameter
|
|||||||
The provided _remove doesn't use an iterator but a 'key', incompatible with the one of array or list.
|
The provided _remove doesn't use an iterator but a 'key', incompatible with the one of array or list.
|
||||||
But is like the one provided by the priority queue.
|
But is like the one provided by the priority queue.
|
||||||
|
|
||||||
|
V0.3.*: * Remove B+TREE _remove method as it has been deprecated (use _erase instead)
|
||||||
|
* Remove DICT _remove method as it has been deprecated (use _erase instead)
|
||||||
@@ -748,12 +748,6 @@
|
|||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
static inline bool M_ATTR_DEPRECATED \
|
|
||||||
M_C(name, _remove)(tree_t b, key_t const key) \
|
|
||||||
{ \
|
|
||||||
return M_C(name, _erase)(b, key); \
|
|
||||||
} \
|
|
||||||
\
|
|
||||||
static inline bool M_C(name, _pop_at)(value_t *ptr, tree_t b, key_t const key) \
|
static inline bool M_C(name, _pop_at)(value_t *ptr, tree_t b, key_t const key) \
|
||||||
{ \
|
{ \
|
||||||
if (ptr != NULL) { \
|
if (ptr != NULL) { \
|
||||||
|
|||||||
@@ -636,12 +636,6 @@
|
|||||||
Do not used any fields of the dictionnary but the public API */
|
Do not used any fields of the dictionnary but the public API */
|
||||||
#define DICTI_FUNC_ADDITIONAL_DEF2(name, key_type, key_oplist, value_type, value_oplist, isSet, dict_t, dict_it_t) \
|
#define DICTI_FUNC_ADDITIONAL_DEF2(name, key_type, key_oplist, value_type, value_oplist, isSet, dict_t, dict_it_t) \
|
||||||
\
|
\
|
||||||
static inline bool M_ATTR_DEPRECATED \
|
|
||||||
M_C(name, _remove)(dict_t map, key_type const key) \
|
|
||||||
{ \
|
|
||||||
return M_C(name, _erase)(map, key); \
|
|
||||||
} \
|
|
||||||
\
|
|
||||||
M_IF_METHOD_BOTH(GET_STR, key_oplist, value_oplist)( \
|
M_IF_METHOD_BOTH(GET_STR, key_oplist, value_oplist)( \
|
||||||
static inline void \
|
static inline void \
|
||||||
M_C(name, _get_str)(string_t str, const dict_t dict, const bool append) \
|
M_C(name, _get_str)(string_t str, const dict_t dict, const bool append) \
|
||||||
|
|||||||
Reference in new issue
Block a user