[riot-notifications] [RIOT-OS/RIOT] core/clist: add special cardinality tests and matching unittest (#16330)
notifications at github.com
Wed Apr 14 16:26:03 CEST 2021
@kaspar030 commented on this pull request.
> @@ -466,6 +468,38 @@ static inline size_t clist_count(clist_node_t *list)
+ * @brief Tells if a list has exactly one element
+ * @note Complexity: O(1)
+ * @param[in] list Pointer to the clist
+ * @return Cardinality == 1 information
hm, or just use `@return`and I open a PR that changes the `@returns` once this is in.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications