diff options
author | Eric Blossom <eb@comsec.com> | 2010-12-03 23:58:48 -0800 |
---|---|---|
committer | Eric Blossom <eb@comsec.com> | 2010-12-03 23:58:48 -0800 |
commit | ea8a60ad9c2e0f9bdc57f77f5506c5906f8d1d6f (patch) | |
tree | 38664d0e35409691f297dab8dba3d03ab6a10828 /gr-howto-write-a-block/swig/howto_swig.i | |
parent | 7a7a4b7ad1ccdb0c1f6814e6c258b1238fd92fd7 (diff) |
Make gr-howto-write-a-block work again...
Copied Makefile.swig, Mkefile.swig.gen.t from ..
Renamed howto.i to howto_swig.i
Regenerated Makefile.swig.gen
Diffstat (limited to 'gr-howto-write-a-block/swig/howto_swig.i')
-rw-r--r-- | gr-howto-write-a-block/swig/howto_swig.i | 21 |
1 files changed, 21 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 0000000000..868df57394 --- /dev/null +++ b/gr-howto-write-a-block/swig/howto_swig.i @@ -0,0 +1,21 @@ +/* -*- c++ -*- */ + +%include "gnuradio.i" // the common stuff + +%{ +#include "howto_square_ff.h" +#include "howto_square2_ff.h" +%} + +%include "howto_square_ff.i" +%include "howto_square2_ff.i" + +#if SWIGGUILE +%scheme %{ +(load-extension "libguile-gnuradio-howto" "scm_init_gnuradio_howto_module") +%} + +%goops %{ +(use-modules (gnuradio gnuradio_core_runtime)) +%} +#endif |