libfir/python/pyfir.i
Laurence Withers 836fa2eb40 Further WIP
2014-07-10 16:46:22 +00:00

24 lines
364 B
OpenEdge ABL

%module fir
%include <complex.i>
/*
* List conversion
*
* SWIG knows how to turn std::vector<T> func() into a function that returns a
* Python list. We do need to tell it about all <T> types with %template,
* however.
*/
%include <std_vector.i>
%template(vectord) std::vector<double>;
%{
#include "fir++.h"
%}
%include "fir++.h"
// vim: ts=4:sw=4