summaryrefslogtreecommitdiff
path: root/gnuradio-core
diff options
context:
space:
mode:
authorRob Savoye2010-10-16 08:54:32 -0600
committerEric Blossom2010-11-10 12:10:44 -0800
commitb72fd746010bc724acfb6a7c5ae2be82e6b828c2 (patch)
tree0b2533cf7bef9ac602633d96f4a81aac8d854e34 /gnuradio-core
parent422d912f685b412bdfd91f088628da6f5f8196ba (diff)
downloadgnuradio-b72fd746010bc724acfb6a7c5ae2be82e6b828c2.tar.gz
gnuradio-b72fd746010bc724acfb6a7c5ae2be82e6b828c2.tar.bz2
gnuradio-b72fd746010bc724acfb6a7c5ae2be82e6b828c2.zip
include complex too for std::complex
Diffstat (limited to 'gnuradio-core')
-rw-r--r--gnuradio-core/src/lib/swig/gnuradio.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/swig/gnuradio.i b/gnuradio-core/src/lib/swig/gnuradio.i
index 7d0241f1c..ec0264107 100644
--- a/gnuradio-core/src/lib/swig/gnuradio.i
+++ b/gnuradio-core/src/lib/swig/gnuradio.i
@@ -32,6 +32,7 @@
#include "gnuradio_swig_bug_workaround.h" // mandatory bug fix
#include <gr_types.h>
#include <stddef.h> // size_t
+#include <complex>
%}
%feature("autodoc","1");
@@ -57,6 +58,7 @@ namespace std {
%template() vector<int>;
%template() vector<float>;
%template() vector<double>;
+ // %template() std::complex<float>;
%template() vector< std::complex<float> >;
%template() vector< std::vector< unsigned char > >;