mirror of
https://github.com/rizinorg/rizin.git
synced 2026-10-12 02:21:57 +00:00
Remove deprecated rz_list_get_next() (#5879)
This commit is contained in:
@@ -104,8 +104,6 @@ RZ_API RZ_BORROW bool rz_list_contains(RZ_NONNULL const RzList *list, RZ_NONNULL
|
||||
RZ_API RZ_BORROW RzListIter *rz_list_find_val(RZ_NONNULL const RzList *list, RZ_NONNULL const void *val);
|
||||
RZ_API RZ_BORROW RzListIter *rz_list_find(RZ_NONNULL const RzList *list, const void *val, RZ_NONNULL RzListComparator cmp, void *user);
|
||||
|
||||
RZ_DEPRECATE RZ_API RZ_BORROW RzListIter *rz_list_get_next(RZ_NONNULL RzListIter *iter);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -805,14 +805,3 @@ RZ_API RZ_OWN char *rz_list_to_str(RZ_NONNULL RzList *list, char ch) {
|
||||
}
|
||||
return rz_strbuf_drain(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Returns the next RzList node in the list.
|
||||
*
|
||||
* \deprecated Use the rz_list_next() macro instead. Function is retained only
|
||||
* until rz-bindgen wraps the aforementioned macro.
|
||||
**/
|
||||
RZ_DEPRECATE RZ_API RZ_BORROW RzListIter *rz_list_get_next(RZ_NONNULL RzListIter *iter) {
|
||||
rz_return_val_if_fail(iter, NULL);
|
||||
return iter->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user