Commit ca95cd9f authored by Niels Möller's avatar Niels Möller
Browse files

* src/algorithms.c (filter_algorithms): Document that the

functions may return NULL, and never returns an empty list.

Rev: src/algorithms.c:1.20
parent af40f1f5
...@@ -321,6 +321,11 @@ lookup_hash(struct alist *algorithms, const char *name, ...@@ -321,6 +321,11 @@ lookup_hash(struct alist *algorithms, const char *name,
} }
/* FIXME: Perhaps this function belongs in list.c or alist.c? */ /* FIXME: Perhaps this function belongs in list.c or alist.c? */
/* Return an int list containing the elements of CANDIDATES
* that have associated values in ALGORITHMS.
* Returns a non-empty list or NULL. */
struct int_list * struct int_list *
filter_algorithms(struct alist *algorithms, filter_algorithms(struct alist *algorithms,
const struct int_list *candidates) const struct int_list *candidates)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment