libtool-patches
[Top][All Lists]
Advanced

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

Re: put slist in ltdl namespace


From: Gary V. Vaughan
Subject: Re: put slist in ltdl namespace
Date: Tue, 11 Jan 2005 00:53:49 +0000
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Hi Bob!

Happy New Year!

Bob Friesenhahn wrote:
> On Mon, 10 Jan 2005, Gary V. Vaughan wrote:
>
>>
>> By that definition, since strl* are not designed for use by libltdl
>> clients
>> (as evidenced by being declared in an uninstall lt__strl.h header), they
>> should be using symbols with a 'lt__' prefix.  Technically the slist and
>> argz filenames should also be 'lt__' prefixed, but doing that would make
>> it harder to use them outside libtool.
>
>
> The slist and argz functions should not be used by anything but
> libltdl.  Why would anyone want to use libtool internal implementation
> functions?  The mere existence of useful code does not mean that it
> should be used.  Sometimes redundancy is a good thing.  Libltdl needs to
> be very clear about functions it intends to provide and make it obvious
> which functions are off-limits for libltdl users to access.

Sorry, I wasn't entirely clear.  I meant that the source files for argz
are shared between the libtool distribution and gnulib; and the slist
source files are shared between the libtool distribution, and a whole
bunch of my other projects.

Once libltdl is built, I agree that the symbols are not available for
client code to use.

Cheers,
        Gary.
--
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]