PATCH: sane.ds / DECLSPEC hidden

Robert Shearman rob at codeweavers.com
Fri Jun 16 07:54:02 CDT 2006


Mike Hearn wrote:

> On 6/15/06, Alexandre Julliard <julliard at winehq.org> wrote:
>
>> No, we only want the internal functions to be hidden.
>
>
> Right, so we set default visibility to hidden then change WINAPI and
> WINAPIV to include __attribute__((visibility(default))). That way only
> WINAPI declarations are exported.


It's a little harder than that. I experimented with doing this before 
and it is necessary to apply that same attribute to all of the functions 
exported from libwine and libunicode.

-- 
Rob Shearman




More information about the wine-devel mailing list