summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/swig/howto.i
diff options
context:
space:
mode:
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