From: Lorien Dunn Date: 2002-03-21T18:55:42+09:00 Subject: Re: Other than fork, what is vc++ ruby win missing? On Thu, 21 Mar 2002 07:56, nobu.nokada@softhome.net wrote: > Hi, > > At Thu, 21 Mar 2002 13:54:28 +0900, > > Lorien Dunn wrote: > > [2 scanArgs.c ] > > #include > > > > static VALUE _mScanArgs; > > > > static VALUE scanArgsTest(int argc, VALUE* argv, VALUE self) > > { > > VALUE junk; > > rb_scan_args(argc,argv,"12",&junk,&junk); > > You specifies three arguments, mandatory one and optional two, > but passes only two pointers. > > > return Qnil; > > } Oops :(. Thanks though. I guess the question is now "Why does it work on linux?" Lorien Dunn