[PATCH] Revert "include: Use the ARRAY_SIZE() macro in debug.h."

Alexandre Julliard julliard at winehq.org
Mon Nov 19 03:10:36 CST 2018


Henri Verbeet <hverbeet at gmail.com> writes:

> On Sun, 18 Nov 2018 at 20:56, Andre Heider <a.heider at gmail.com> wrote:
>> wine/debug.h is a public header, and ARRAY_SIZE() is not defined for
>> external projects.
>>
> The change itself seems harmless enough, but the premise seems wrong.
> Headers in include/wine are private Wine headers; why do you need (or
> want) to include wine/debug.h?

A few of these headers are public, the idea being that they describe the
libwine API, which can potentially be used outside of Wine.

It's not clear that this is particularly useful, and maybe we should
stop exporting them. But as long as they are exported, the change would
make sense.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list