Re: libraries and namespaces

2006-10-16 Thread Bruno Haible
Hello Paul, Thanks for the advice. > Did you consider doing it the way glibc does it, with the > attribute_hidden macro? Perhaps gnulib could use the same syntax as > glibc, albeit with different semantics on other platforms. If that > doesn't suffice, there's also the syntax suggested by Niall

Re: libraries and namespaces

2006-10-11 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > I wish to export the symbols of external{i}.c without modifications, > whereas the symbols of internal{j}.c should get a prefix. Doesn't the question of whether a symbol should get a prefix more properly belong to .h files than to .c files? That is, if

Re: libraries and namespaces

2006-10-11 Thread Bruno Haible
Ralf Wildenhues wrote on 2006-09-08: > > > are you planning on providing a means to > > > automatically rename gnulib functions to a library-specific namespace? > > > As long as there is no policy on interface stability for gnulib, I would > > > fear to see lots of libraries floating around that al

Re: libraries and namespaces

2006-09-07 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Wed, Sep 06, 2006 at 07:00:31PM CEST: > > > Slightly related question: are you planning on providing a means to > > automatically rename gnulib functions to a library-specific namespace? > > As long as there is no policy on interface stability for gnulib, I wo

Re: libraries and namespaces

2006-09-06 Thread Bruno Haible
Hello Ralf, > Slightly related question: are you planning on providing a means to > automatically rename gnulib functions to a library-specific namespace? > As long as there is no policy on interface stability for gnulib, I would > fear to see lots of libraries floating around that all carry some