diff options
author | Eric Blossom | 2010-11-17 13:54:04 -0800 |
---|---|---|
committer | Eric Blossom | 2010-11-17 13:54:04 -0800 |
commit | 4eadee57c588940347027c7e7f99ac7e993874fd (patch) | |
tree | c1bf2c62fabd5f667ed4ff5f4cb15f216e3dedd2 /gnuradio-core/src/lib/swig/gnuradio.i | |
parent | cfb2ff29a33e05b74cc80f3b68609af6bafc96ca (diff) | |
download | gnuradio-4eadee57c588940347027c7e7f99ac7e993874fd.tar.gz gnuradio-4eadee57c588940347027c7e7f99ac7e993874fd.tar.bz2 gnuradio-4eadee57c588940347027c7e7f99ac7e993874fd.zip |
Add support for guile std::vector< std::complex<float> >.
Diffstat (limited to 'gnuradio-core/src/lib/swig/gnuradio.i')
-rw-r--r-- | gnuradio-core/src/lib/swig/gnuradio.i | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gnuradio-core/src/lib/swig/gnuradio.i b/gnuradio-core/src/lib/swig/gnuradio.i index 6eb44cbe9..47fd4e330 100644 --- a/gnuradio-core/src/lib/swig/gnuradio.i +++ b/gnuradio-core/src/lib/swig/gnuradio.i @@ -41,13 +41,22 @@ %include <gr_shared_ptr.i> // non-local SWIG files -%include <stl.i> -%include <std_except.i> -#ifdef SWIGGUILE +#ifdef SWIGGUILE // Local overrides to support complex +// It's kind of screwy, but the target language subdir isn't +// searched automatically except for under ./swig_lib which +// doesn't really help us since we run swig in many directories %include <guile/std_complex.i> +%include <guile/std_vector.i> +%include <std_common.i> +%include <std_string.i> +%include <std_map.i> +%include <std_pair.i> #else %include <std_complex.i> +%include <std_vector.i> +%include <stl.i> #endif +%include <std_except.i> typedef std::complex<float> gr_complex; typedef std::complex<double> gr_complexd; |