Stefan Lucke wrote:
> On Sonntag 07 Mai 2006 11:24, Denis Oliver Kropp wrote:
>> Anyways, all places must be corrected. I'm still not sure what looks
>> better, "(expr) ? true : false" or "!!(expr)", or even a macro.
> 
> A macro would make it a bit more clean.

But also looks more "heavy". Something very short might clash easily,
e.g. the underscore is already taken :)

With stdbool.h you don't have to take care of that IIRC.

What about using an enum again, but not using the reserved name
for it? What about b00l, DBool, dbool, Dbool, DirectBool or boolean?

> What do you think of the original intention: adding the capability
> of doing a field based stretchblit (DSBLIT_INTERLACED) ?

That's a nice feature :)

If you have the latest patch, I can integrate it.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
'------------------------------------------'

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to