Re: [Mesa-dev] [PATCH] Don't use libudev for glx/dri3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/17/2013 06:43 PM, Keith Packard wrote:
> Emil Velikov <emil.l.velikov@xxxxxxxxx> writes:
> 
>> On 18/11/13 01:08, Keith Packard wrote:
>>> libudev doesn't have a stable API/ABI, and if the application wants to use one
>>> version, we'd best not load another into libGL.
>>>
>>> Signed-off-by: Keith Packard <keithp@xxxxxxxxxx>
>>> ---
>>>
>> Hi Keith,
>>
>> Firstly, I would like to apologise for the rather daft questions.
>>
>> With that said, looking through your patch I've noticed that (most of)
>> your int functions are returning 0 or failure and 1 on success. Were
>> those functions meant to return boolean/bool?
> 
> Sure, but I was too lazy to figure out which kind of bool belongs in
> that part of mesa...

For non-API facing stuff, you can just use stdbool.h's bool/true/false.

--Ken

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux