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-comedi/src/comedi.i | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gr-comedi/src/comedi.i') diff --git a/gr-comedi/src/comedi.i b/gr-comedi/src/comedi.i index cdb77aee0..499ccc598 100644 --- a/gr-comedi/src/comedi.i +++ b/gr-comedi/src/comedi.i @@ -69,3 +69,13 @@ class comedi_sink_s : public gr_sync_block { public: ~comedi_sink_s (); }; + +#if SWIGGUILE +%scheme %{ +(load-extension "libguile-comedi" "scm_init_gnuradio_comedi_module") +%} + +%goops %{ +(use-modules (gnuradio gnuradio_core_runtime)) +%} +#endif -- cgit From 0b5f66113f43d2ba94a1ca741b5ce65e1f9f2c02 Mon Sep 17 00:00:00 2001 From: Eric Blossom Date: Fri, 3 Dec 2010 23:30:54 -0800 Subject: Rename libguile- to libguile-gnuradio- to match guile library naming convention. The stuff in gnuradio-core ends up with funky names, but that could be fixed by renaming gnuradio_core_filter.i -> core_filter.i etc. --- gr-comedi/src/comedi.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-comedi/src/comedi.i') diff --git a/gr-comedi/src/comedi.i b/gr-comedi/src/comedi.i index 499ccc598..dadb57e90 100644 --- a/gr-comedi/src/comedi.i +++ b/gr-comedi/src/comedi.i @@ -72,7 +72,7 @@ class comedi_sink_s : public gr_sync_block { #if SWIGGUILE %scheme %{ -(load-extension "libguile-comedi" "scm_init_gnuradio_comedi_module") +(load-extension "libguile-gnuradio-comedi" "scm_init_gnuradio_comedi_module") %} %goops %{ -- cgit From 08907ee94fb6c34531d57b988324c67c26c8b747 Mon Sep 17 00:00:00 2001 From: Eric Blossom Date: Fri, 10 Dec 2010 16:15:40 -0800 Subject: Use load-extension-global instead of load-extension --- gr-comedi/src/comedi.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-comedi/src/comedi.i') diff --git a/gr-comedi/src/comedi.i b/gr-comedi/src/comedi.i index dadb57e90..36865afbe 100644 --- a/gr-comedi/src/comedi.i +++ b/gr-comedi/src/comedi.i @@ -72,7 +72,7 @@ class comedi_sink_s : public gr_sync_block { #if SWIGGUILE %scheme %{ -(load-extension "libguile-gnuradio-comedi" "scm_init_gnuradio_comedi_module") +(load-extension-global "libguile-gnuradio-comedi" "scm_init_gnuradio_comedi_module") %} %goops %{ -- cgit