Mike Hearn wrote:
On 6/15/06, Alexandre Julliard julliard@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.