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

Kenneth Graunke kenneth at whitecape.org
Sun Nov 17 20:08:39 PST 2013


On 11/17/2013 06:43 PM, Keith Packard wrote:
> Emil Velikov <emil.l.velikov at gmail.com> 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 at keithp.com>
>>> ---
>>>
>> 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



More information about the dri-devel mailing list