1 %module
"Math::GSL::QRNG"
3 %include
"gsl_typemaps.i"
5 %apply double
*OUTPUT { double x
[] };
7 %typemap
(argout
) double x
[] {
12 $result
= sv_newmortal
();
13 sv_setnv
($result
,(NV
) *($
1));
16 $result
= sv_newmortal
();
17 sv_setnv
($result
,(NV
) *($
1+1));
22 #include
"gsl/gsl_types.h"
23 #include
"gsl/gsl_qrng.h"
26 %include
"gsl/gsl_types.h"
27 %include
"gsl/gsl_qrng.h"
28 %include
"../pod/QRNG.pod"