diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-18 11:40:46 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-18 11:42:40 -0400 |
commit | 26efdd6c2e70d06c5b5d01bddfe2c30ca4206a2e (patch) | |
tree | 2c9c10776594864ba51d4fc3cd722dc6ef9723d2 /gr-analog/swig | |
parent | 929a26c3542c3c12d5eafc1fb4d3eb9da4cca0bd (diff) |
analog, digital: fixed control_loop-derived blocks to inherit control_loop functions through SWIG.
Diffstat (limited to 'gr-analog/swig')
-rw-r--r-- | gr-analog/swig/CMakeLists.txt | 1 | ||||
-rw-r--r-- | gr-analog/swig/analog_swig.i | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gr-analog/swig/CMakeLists.txt b/gr-analog/swig/CMakeLists.txt index 4391e5e09a..eede32c4ec 100644 --- a/gr-analog/swig/CMakeLists.txt +++ b/gr-analog/swig/CMakeLists.txt @@ -24,6 +24,7 @@ include(GrPython) include(GrSwig) set(GR_SWIG_INCLUDE_DIRS + ${GR_BLOCKS_INCLUDE_DIRS} ${GR_ANALOG_INCLUDE_DIRS} ${GR_FILTER_INCLUDE_DIRS} ${GNURADIO_CORE_SWIG_INCLUDE_DIRS} diff --git a/gr-analog/swig/analog_swig.i b/gr-analog/swig/analog_swig.i index a9bd6feff5..1f5ea85b55 100644 --- a/gr-analog/swig/analog_swig.i +++ b/gr-analog/swig/analog_swig.i @@ -20,6 +20,7 @@ */ #define ANALOG_API +#define BLOCKS_API %include "gnuradio.i" %include "stdint.i" @@ -28,6 +29,11 @@ %include "analog_swig_doc.i" %{ +#include <blocks/control_loop.h> +%} +%include <blocks/control_loop.h> + +%{ #include "analog/cpm.h" #include "analog/noise_type.h" #include "analog/agc_cc.h" |