Re: Commandline Options in output sa.c

From: John Lazzaro (lazzaro@CS.Berkeley.EDU)
Date: Sun Jan 30 2000 - 12:39:40 EST


Hi Mike,

> main(int argc, char *argv[])
>
>{
> srand(9753193L);
> system_init();
> effects_init();
> main_initpass();

The csys_setup() function your driver creates gets called
part of main_initpass() (actually, the very last thing in
main_initpass() right now) -- the way I'd prefer to add
the functionality you added with the COMMANDLINE() macro
is to make a copy of arc and argv[] available for reading
by csys_setup(). Is there a reason why this wouldn't work
for you? Let me know, and I'll figure out the best way
to do it and add the functionality into the control driver
in the next release ... part of the reason for making a
copy is so that I can reclaim some slots on the command
line for the main sa.c program to use at a later time,
without breaking compatability ...

                                                        --jl



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 12:03:51 EST