From d94769a975612072dc03fa378bc79856c07cd66b Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Sat, 30 Oct 2010 12:14:41 -0600 Subject: add load-extension support --- gr-howto-write-a-block/swig/howto.i | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gr-howto-write-a-block/swig/howto.i') diff --git a/gr-howto-write-a-block/swig/howto.i b/gr-howto-write-a-block/swig/howto.i index 8dc502010..9a37ea228 100644 --- a/gr-howto-write-a-block/swig/howto.i +++ b/gr-howto-write-a-block/swig/howto.i @@ -9,3 +9,13 @@ %include "howto_square_ff.i" %include "howto_square2_ff.i" + +#if SWIGGUILE +%scheme %{ +(load-extension "libguile-howto" "scm_init_gnuradio_howto_module") +%} + +%goops %{ +(use-modules (gnuradio gnuradio_core_runtime)) +%} +#endif -- cgit