Get rid of junk in QRNG typemap which got pulled in from git revert
[Math-GSL.git] / swig / QRNG.i
blobc5833512d51834d94007b29242bbec0cafa1dc39
1 %module "Math::GSL::QRNG"
2 %include "typemaps.i"
3 %include "gsl_typemaps.i"
5 %apply double *OUTPUT { double x[] };
7 %typemap(argout) double x[] {
9 if (argvi >= items) {
10 EXTEND(sp,1);
12 $result = sv_newmortal();
13 sv_setnv($result,(NV) *($1));
14 argvi++;
16 $result = sv_newmortal();
17 sv_setnv($result,(NV) *($1+1));
18 argvi++;
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"