util: Explain BITSET_FOREACH_SET params
authorMatt Turner <mattst88@gmail.com>
Tue, 21 Jan 2020 22:48:04 +0000 (14:48 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 01:52:42 +0000 (01:52 +0000)
commitd3eb2a0951ede3c7dcce891c3a153f3ebbb59bae
treefcb9b571336dce457ef3b04e9586419269a13000
parent60f9b45802ca6f6f0c11dcbf1a056b7291c8adc9
util: Explain BITSET_FOREACH_SET params

__size, in particular, makes this macro rather confusing to understand
how to use. Hopefully this comment saves future users the headache.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3499>
src/util/bitset.h