[PATCH] include: let BitIsOn() return a boolean value.

Patrick Horgan phorgan1 at yahoo.com
Wed Nov 24 23:40:43 PST 2010


On 11/24/2010 12:22 PM, Matt Turner wrote:
> On Wed, Nov 24, 2010 at 1:18 PM, Pat Kane<pekane52 at gmail.com>  wrote:
>> What the deal with the "!!" operator?  I read it as a double logical negation.
>> A NOOP,  does it have some useful side effect?
> It converts to bool, basically. I think it's kind of dirty.
It's the regular idiom.

Patrick


More information about the xorg-devel mailing list