On Thu, 23 Apr 2015 10:44:50 -0700
Bill Spitzak <spit...@gmail.com> wrote:

> On 04/22/2015 11:38 PM, Pekka Paalanen wrote:
> 
> > Given this and that they must not affect codegen, what are the remaining
> > differences between enums and bitfields? Enum can be an int, but a
> > bitfield cannot? Is it worth to have the distinction in the language at
> > all?
> 
> The distinction is that in a bitfield A|B is valid value to pass, but 
> that is not a valid value to pass for an enumeration. Bindings really 
> want this information.

If you say that, you again imply that the annotation must affect
codegen (the generated API). The question explicitly assumed it must not
affect codegen.


Thanks,
pq
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to