[pacman-dev] Symbol visibility
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@rogers.com>
On 1/27/07, K. Piche <kpiche@rogers.com> wrote:
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.
Applied! Thanks,
participants (2)
-
Aaron Griffin
-
K. Piche