- or download this
return para[1]
- or download this
$str = pack('ddd', 1.0, 1.1, 1.3);
- or download this
void
func(doublearrsv)
...
doublearr = SvPV(doublearrsv, len);//cast warning here
if(len != sizeof(*doublearr)) croak("bad len");
do_nothing(&doublearr[2]); //THIS WILL UPDATE IN PERL LAND
- or download this
@array = unpack('ddd', $str);
- or download this
@arr = ([11,12,13], [21,22,23], [31,32,33]);
myxsub(@arr);
- or download this
void
myxsub(...)
...
SV * sv = ST(i);
//do something
}