summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/swig/howto_swig.i
diff options
context:
space:
mode:
authorJohnathan Corgan <jcorgan@corganenterprises.com>2011-12-08 13:48:48 -0800
committerJohnathan Corgan <jcorgan@corganenterprises.com>2011-12-08 13:48:48 -0800
commit00420d32081d8252bb37142b2be19a8a7c4dc4c4 (patch)
tree12c6bf83f01ffc4eff010102090bb687a1233558 /gr-howto-write-a-block/swig/howto_swig.i
parentf52be4a8f0fa203ed206d0e0afc099856eb5bd03 (diff)
Removed autotools, gr-waveform, some cleanup
Nick Foster owes Nick Corgan a six-pack of beer!
Diffstat (limited to 'gr-howto-write-a-block/swig/howto_swig.i')
-rw-r--r--gr-howto-write-a-block/swig/howto_swig.i13
1 files changed, 11 insertions, 2 deletions
diff --git a/gr-howto-write-a-block/swig/howto_swig.i b/gr-howto-write-a-block/swig/howto_swig.i
index d0bbcdc115..bc2563cd7c 100644
--- a/gr-howto-write-a-block/swig/howto_swig.i
+++ b/gr-howto-write-a-block/swig/howto_swig.i
@@ -1,14 +1,23 @@
/* -*- c++ -*- */
+#define HOWTO_API
+
%include "gnuradio.i" // the common stuff
+//load generated python docstrings
+%include "howto_swig_doc.i"
+
+
%{
#include "howto_square_ff.h"
#include "howto_square2_ff.h"
%}
-%include "howto_square_ff.i"
-%include "howto_square2_ff.i"
+GR_SWIG_BLOCK_MAGIC(howto,square_ff);
+%include "howto_square_ff.h"
+
+GR_SWIG_BLOCK_MAGIC(howto,square2_ff);
+%include "howto_square2_ff.h"
#if SWIGGUILE
%scheme %{