Re: [LAD] LASH - some questions & comments

From: Nedko Arnaudov <nedko@email-addr-hidden>
Date: Thu Oct 23 2008 - 20:43:10 EEST

Thanks for your comments Bob!

Bob Ham <rah@email-addr-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>

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Received on Fri Oct 24 00:15:01 2008

This archive was generated by hypermail 2.1.8 : Fri Oct 24 2008 - 00:15:01 EEST