[Top][All Lists]

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

Re: [Bug-gnulib] Re: new module: progname

From: Bruno Haible
Subject: Re: [Bug-gnulib] Re: new module: progname
Date: Wed, 3 Sep 2003 21:14:48 +0200
User-agent: KMail/1.5

Paul Eggert wrote:

> >           _lib_init (const char *proram_invocation_fullname,
> >                      const char *shared_library_fullname)
> >
> >           _lib_close ()

> However, won't there be some problem in standardizing which
> arguments to pass?  I can see that other people might want more
> arguments, e.g., the handle that dlopen will return.

Yes that's a good candidate for a third argument.

> Similarly, other
> people might want some of those arguments passed to _lib_close.

The _lib_init function can store the values in static variables of the
library; therefore there's no need to pass the same arguments to
_lib_close() again.

> And they prefer proposals that are already
> implemented, so this wouldn't be a trivial task.

Yes, that'd be the hard part...


reply via email to

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