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

Ian Romanick idr at freedesktop.org
Mon Nov 18 13:59:19 PST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 future reference... for things not accesible to the application or
some other library (with its own boolean type), the answer is always
bool from stdbool.h.

> _______________________________________________ dri-devel mailing
> list dri-devel at lists.freedesktop.org 
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iEYEARECAAYFAlKKjbcACgkQX1gOwKyEAw9O8gCeM1SQmZcOSaSxJy5yT42ItxQU
1UUAoI9Gl1ah9P1/0AG+huawKAPzF9V9
=d3i2
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list