diff options
Diffstat (limited to 'gr-howto-write-a-block/swig/howto_swig.i')
-rw-r--r-- | gr-howto-write-a-block/swig/howto_swig.i | 13 |
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 d0bbcdc11..bc2563cd7 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 %{ |