On Fri, May 27, 2016 at 5:20 PM, Emil Velikov <[email protected]> wrote:
> On 27 May 2016 at 16:03, Marek Olšák <[email protected]> wrote:
>> You don't need to keep the underscore at the beginning of the type
>> names anymore.
>>
> If I drop that one things will clash with the typedef in
> dri_interface.h. And obviously we don't want to include
> mesa_glinterop.h from dri_interface.h as that will require us to
> install the header (not to mention the implicit include in hundreds of
> more compilation/build units).
>
> Perhaps there's something subtle that I'm missing ?

dri_interface.h can be changed from:

typedef struct _mesa_glinterop_device_info mesa_glinterop_device_info;
typedef struct _mesa_glinterop_export_in mesa_glinterop_export_in;
typedef struct _mesa_glinterop_export_out mesa_glinterop_export_out;

to:

struct mesa_glinterop_device_info;
struct mesa_glinterop_export_in;
struct mesa_glinterop_export_out;

Marek
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to