summaryrefslogtreecommitdiff
path: root/gr-audio-osx/src/audio_osx.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-audio-osx/src/audio_osx.i
parent40fac3c4a2f5f1f6dde79e96be8f40535e11343b (diff)
downloadgnuradio-d94769a975612072dc03fa378bc79856c07cd66b.tar.gz
gnuradio-d94769a975612072dc03fa378bc79856c07cd66b.tar.bz2
gnuradio-d94769a975612072dc03fa378bc79856c07cd66b.zip
add load-extension support
Diffstat (limited to 'gr-audio-osx/src/audio_osx.i')
-rw-r--r--gr-audio-osx/src/audio_osx.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/gr-audio-osx/src/audio_osx.i b/gr-audio-osx/src/audio_osx.i
index 7be487269..2e724900b 100644
--- a/gr-audio-osx/src/audio_osx.i
+++ b/gr-audio-osx/src/audio_osx.i
@@ -88,3 +88,13 @@ class audio_osx_source : public gr_sync_block {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
};
+
+#if SWIGGUILE
+%scheme %{
+(load-extension "libguile-audio_osx" "scm_init_gnuradio_audio_osx_module")
+%}
+
+%goops %{
+(use-modules (gnuradio gnuradio_core_runtime))
+%}
+#endif