summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/swig/howto.i
diff options
context:
space:
mode:
authorRob Savoye2010-10-30 12:14:41 -0600
committerEric Blossom2010-11-10 12:15:42 -0800
commitd94769a975612072dc03fa378bc79856c07cd66b (patch)
treeea2e8e8ea7e40ead5a2b8986e1c2e4dfd18951dd /gr-howto-write-a-block/swig/howto.i
parent40fac3c4a2f5f1f6dde79e96be8f40535e11343b (diff)
downloadgnuradio-d94769a975612072dc03fa378bc79856c07cd66b.tar.gz
gnuradio-d94769a975612072dc03fa378bc79856c07cd66b.tar.bz2
gnuradio-d94769a975612072dc03fa378bc79856c07cd66b.zip
add load-extension support
Diffstat (limited to 'gr-howto-write-a-block/swig/howto.i')
-rw-r--r--gr-howto-write-a-block/swig/howto.i10
1 files changed, 10 insertions, 0 deletions
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