diff options
author | Josh Blum | 2011-10-18 17:40:11 -0700 |
---|---|---|
committer | Josh Blum | 2011-10-18 17:40:11 -0700 |
commit | 4dba84e382b961700959c3c044a7b42a04be040e (patch) | |
tree | 4172ed8c8ba14b72f90c888e4a45b3851618efb4 /gr-howto-write-a-block-cmake/swig/howto_swig.i | |
parent | 48cf49a0bab1e8e8d80a1c4161f451e575190e1e (diff) | |
download | gnuradio-4dba84e382b961700959c3c044a7b42a04be040e.tar.gz gnuradio-4dba84e382b961700959c3c044a7b42a04be040e.tar.bz2 gnuradio-4dba84e382b961700959c3c044a7b42a04be040e.zip |
howto: changes as per tom's suggestions
Diffstat (limited to 'gr-howto-write-a-block-cmake/swig/howto_swig.i')
-rw-r--r-- | gr-howto-write-a-block-cmake/swig/howto_swig.i | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gr-howto-write-a-block-cmake/swig/howto_swig.i b/gr-howto-write-a-block-cmake/swig/howto_swig.i index d0bbcdc11..52100057c 100644 --- a/gr-howto-write-a-block-cmake/swig/howto_swig.i +++ b/gr-howto-write-a-block-cmake/swig/howto_swig.i @@ -1,5 +1,7 @@ /* -*- c++ -*- */ +#define HOWTO_API + %include "gnuradio.i" // the common stuff %{ @@ -7,8 +9,11 @@ #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 %{ |