Taken care of. netInit() parameters are now optional. --Dave
----- Original Message -----
From: Steve Baker <sjb...@ai...>
To: Dave McClurg <dp...@ef...>
Cc: <pli...@li...>
Sent: Tuesday, November 06, 2001 9:54 PM
Subject: Re: [Plib-users] netInit()
Dave McClurg wrote:
>
> So that, like audio and graphics, the net library can take some command
line
> initialisation...
>
> int alutInit ( int* argc, char** argv ) ; /* audio */
> int glutInit ( int* argc, char** argv ) ; /* graphics */
> int netInit ( int* argc, char** argv ) ; /* network */
>
> Currently, it's not used, but it's nice to have if we need it later.
But:
void puInit () ;
void fntInit () ;
void ssgInit () ;
void slInit () ;
...I suppose the "right" thing to do would be to make them optional
arguments.
void netInit ( int *argc = NULL, char **argv = NULL ) ;
|