From: Tim Pease Date: 2007-08-22T01:09:34+09:00 Subject: Re: [C ext to Ruby] variable args length and rb_class_new_instance On 8/21/07, unbewusst wrote: > > 1867 VALUE m_rfile_wo ( VALUE self, VALUE file, VALUE options ) > 1868 { > 1869 char *cfile = StringValuePtr ( file ); > 1870 VALUE[2] args; > 1871 //VALUE args[2]; > 1872 args[0] = file; > 1873 args[1] = options; > 1874 return rb_class_new_instance ( 2, &args, rb_path2class > ( "RFile" ) ); > 1875 } > return rb_class_new_instance( 2, args, rb_path2class( "RFile" ) ); Blessings, TwP