[pacman-dev] [PATCH v3 2/4] Represent bitfields as ints, not enums

Allan McRae allan at archlinux.org
Mon Oct 17 12:18:02 UTC 2016


On 13/10/16 06:13, ivy.foster at gmail.com wrote:
> From: Ivy Foster <ivy.foster at gmail.com>
> 
> Many bitfield variables are declared to be enums, because they are
> generated using bitwise operations on enums such. However, their
> actual values aren't necessary members of their parent enum, so
> declaring them 'int' is more accurate.
>

Looks good to me.

A


More information about the pacman-dev mailing list