PATCH: sane.ds / DECLSPEC hidden

Alexandre Julliard julliard at winehq.org
Thu Jun 15 10:28:12 CDT 2006


Marcus Meissner <marcus at jet.franken.de> writes:

> Hi,
>
> Alexandre, is this how to reduce exports? ;)

No, that's only hiding them. It's not a bad thing to do in a second
step for functions that really need to be global, but the first step
should be to make functions static as much as possible. If we need to
have a lot of global functions, it's a sign that the code is not split
into files along logical boundaries.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list