From: Scott L. <lan...@wh...> - 2004-01-04 23:13:01
|
On Sun, 4 Jan 2004, Nick Johnston wrote: > DH wrote: > >Try > >$pen->SetDashes(4, [(0,0,1,1)]); > > Shouldn't that be > > $pen->SetDashes(4, \@p); > > or > > $pen->SetDashes(4, [0, 0, 1, 1]); The method signature in XS/Pen.xs indicates that only one arrayref argument is passed to SetDashes: void Wx_Pen::SetDashes( ds ) SV* ds and the 'n' argument is obtained from the length (+ 1) of the array. |