[LAD] LASH - some questions & comments

Nedko Arnaudov nedko at arnaudov.name
Thu Oct 23 17:43:10 UTC 2008

Thanks for your comments Bob!

Bob Ham <rah at bash.sh> 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20081023/3848e9e8/attachment.pgp>

More information about the Linux-audio-dev mailing list