[pacman-dev] Symbol visibility

K. Piche kpiche at rogers.com
Sat Jan 27 13:51:38 EST 2007


All,

Here's a patch that implements symbol exporting/hiding for libalpm.  It
takes a "hide all" approach but mark the functions and variables to be
exported.  Otherwise every variable would have to be marked as hidden.

There's only one "private" function _alpm_versioncmp thatneeds to be
exported for the vercmp utility so it should probably be renamed.

k


-- 
K. Piche <kpiche at rogers.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libalpm-visibility.patch
Type: text/x-patch
Size: 25553 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20070127/bf24f084/attachment.bin>


More information about the pacman-dev mailing list