summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-vocoder/swig/CMakeLists.txt3
-rw-r--r--gr-vocoder/swig/vocoder_swig.i3
2 files changed, 6 insertions, 0 deletions
diff --git a/gr-vocoder/swig/CMakeLists.txt b/gr-vocoder/swig/CMakeLists.txt
index 2debfef72..72fc18bf2 100644
--- a/gr-vocoder/swig/CMakeLists.txt
+++ b/gr-vocoder/swig/CMakeLists.txt
@@ -28,6 +28,9 @@ set(GR_SWIG_INCLUDE_DIRS
${GNURADIO_CORE_SWIG_INCLUDE_DIRS}
)
+set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/vocoder_swig_doc.i)
+set(GR_SWIG_DOC_DIRS ${GR_VOCODER_INCLUDE_DIRS})
+
set(GR_SWIG_LIBRARIES gnuradio-vocoder)
GR_SWIG_MAKE(vocoder_swig vocoder_swig.i)
diff --git a/gr-vocoder/swig/vocoder_swig.i b/gr-vocoder/swig/vocoder_swig.i
index 71a2952dd..931494307 100644
--- a/gr-vocoder/swig/vocoder_swig.i
+++ b/gr-vocoder/swig/vocoder_swig.i
@@ -22,6 +22,9 @@
%include "gnuradio.i"
+//load generated python docstrings
+%include "vocoder_swig_doc.i"
+
%include "vocoder_alaw_decode_bs.i"
%include "vocoder_alaw_encode_sb.i"
%include "vocoder_codec2_decode_ps.i"