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 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gr-howto-write-a-block/swig/howto_swig.i b/gr-howto-write-a-block/swig/howto_swig.i new file mode 100644 index 000000000..dd662b5e5 --- /dev/null +++ b/gr-howto-write-a-block/swig/howto_swig.i @@ -0,0 +1,20 @@ +/* -*- 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" +%} + +GR_SWIG_BLOCK_MAGIC(howto,square_ff); +%include "howto_square_ff.h" + +GR_SWIG_BLOCK_MAGIC(howto,square2_ff); +%include "howto_square2_ff.h" |