Re: [PATCHES] symbol visibility



Hi Michael,

> > If the versioning script would handle regular expression by itself, then
> > that would be a lot simpler actually. At least I couldn't get that to
> > work.
> 
> Afaik, this should work just fine. A version script like
> {
> global:
> 	conman_*;
> local:
> 	*;
> }
> 
> should work in your case.

didn't work for me. Might be a limit with the libtool version I was
using.

> Problem is, that within NM, the nm_* prefix is also used for private
> functions, so we can't use that, unless we change all those private
> functions to something like _nm_* (which would mean a lot of code changes)

I would consider that change anyway to make it clear for people reading
through the code which functions are exported or not. Looking at another
file always seems like overhead to me.

Regards

Marcel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]