summaryrefslogtreecommitdiff
path: root/gr-vocoder
diff options
context:
space:
mode:
authorTom Rondeau2011-11-27 16:42:38 -0500
committerTom Rondeau2011-11-27 16:42:38 -0500
commit19c40393dc56d6cf29650c61d291ae525ea5ed84 (patch)
treef46f2303f879db39d06fc57ed5b00ef0ee0da97b /gr-vocoder
parent431cb8e685b62b113c9be396a11876de8bba4c6b (diff)
downloadgnuradio-19c40393dc56d6cf29650c61d291ae525ea5ed84.tar.gz
gnuradio-19c40393dc56d6cf29650c61d291ae525ea5ed84.tar.bz2
gnuradio-19c40393dc56d6cf29650c61d291ae525ea5ed84.zip
docs: added python doxygen docs to gr-vocoder
Diffstat (limited to 'gr-vocoder')
-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"