lash-dev
[Top][All Lists]
Advanced

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

[Lash-dev] Re: [LAD] LASH - some questions & comments


From: Nedko Arnaudov
Subject: [Lash-dev] Re: [LAD] LASH - some questions & comments
Date: Thu, 23 Oct 2008 20:43:10 +0300
User-agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux)

Thanks for your comments Bob!

Bob Ham <address@hidden> writes:
> On Thu, 2008-10-16 at 00:10 +0200, Fons Adriaensen wrote:
>> 2. lash_extract_args()
>> 
>> The type of main()'s argv is char *argv[], so
>> why is the second argument a triple pointer ?
>> Re-arranging the elements of argv does not
>> require access to the variable argv itself,
>> only to its elements, and for this a double
>> pointer is all you need.
>
> I think the better option would have been to use environment variables
> rather than command-line arguments.  That would have required no
> fiddling at all.  As for why a double pointer was used, it was likely
> because I was following the method used in GTK+ et al.

I also think that LASH should use environment and remove use of
arguments for LASH business competely.

-- 
Nedko Arnaudov <GnuPG KeyID: DE1716B0>

Attachment: pgpTmybgnC8Rx.pgp
Description: PGP signature


reply via email to

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