summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye2010-10-18 12:48:54 -0600
committerEric Blossom2010-11-10 12:10:45 -0800
commit1366ce59314bb24825715a1a041b63081b5181e2 (patch)
tree5cf089720545b00d4560f9ed0c30a363d3c7f20d
parent52b42834dc68cd76dd7ff7e64f73043d6ae6ad46 (diff)
downloadgnuradio-1366ce59314bb24825715a1a041b63081b5181e2.tar.gz
gnuradio-1366ce59314bb24825715a1a041b63081b5181e2.tar.bz2
gnuradio-1366ce59314bb24825715a1a041b63081b5181e2.zip
add the load-extension command for guile
-rw-r--r--gnuradio-core/src/lib/swig/gnuradio_swig_py_filter.i6
-rw-r--r--gnuradio-core/src/lib/swig/gnuradio_swig_py_general.i6
-rw-r--r--gnuradio-core/src/lib/swig/gnuradio_swig_py_gengen.i6
-rw-r--r--gnuradio-core/src/lib/swig/gnuradio_swig_py_hier.i6
-rw-r--r--gnuradio-core/src/lib/swig/gnuradio_swig_py_io.i6
-rw-r--r--gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.i7
6 files changed, 37 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/swig/gnuradio_swig_py_filter.i b/gnuradio-core/src/lib/swig/gnuradio_swig_py_filter.i
index 6396a97d0..42e46d444 100644
--- a/gnuradio-core/src/lib/swig/gnuradio_swig_py_filter.i
+++ b/gnuradio-core/src/lib/swig/gnuradio_swig_py_filter.i
@@ -28,3 +28,9 @@
%include "gnuradio.i" // the common stuff
%include "filter.i"
+
+#if SWIGGUILE
+%scheme %{
+(load-extension "_gnuradio_swig_py_filter_guile" "SWIG_init")
+%}
+ #endif
diff --git a/gnuradio-core/src/lib/swig/gnuradio_swig_py_general.i b/gnuradio-core/src/lib/swig/gnuradio_swig_py_general.i
index 3ab1b056a..dcf284ab3 100644
--- a/gnuradio-core/src/lib/swig/gnuradio_swig_py_general.i
+++ b/gnuradio-core/src/lib/swig/gnuradio_swig_py_general.i
@@ -28,3 +28,9 @@
%include "gnuradio.i" // the common stuff
%include "general.i"
+
+#if SWIGGUILE
+%scheme %{
+(load-extension "_gnuradio_swig_py_general_guile" "SWIG_init")
+%}
+#endif
diff --git a/gnuradio-core/src/lib/swig/gnuradio_swig_py_gengen.i b/gnuradio-core/src/lib/swig/gnuradio_swig_py_gengen.i
index 95e85cf6b..ee18abc18 100644
--- a/gnuradio-core/src/lib/swig/gnuradio_swig_py_gengen.i
+++ b/gnuradio-core/src/lib/swig/gnuradio_swig_py_gengen.i
@@ -28,3 +28,9 @@
%include "gnuradio.i" // the common stuff
%include "gengen.i"
+
+#if SWIGGUILE
+%scheme %{
+(load-extension "_gnuradio_swig_py_gengen_guile" "SWIG_init")
+%}
+#endif
diff --git a/gnuradio-core/src/lib/swig/gnuradio_swig_py_hier.i b/gnuradio-core/src/lib/swig/gnuradio_swig_py_hier.i
index a82b5ae41..36ee3c40d 100644
--- a/gnuradio-core/src/lib/swig/gnuradio_swig_py_hier.i
+++ b/gnuradio-core/src/lib/swig/gnuradio_swig_py_hier.i
@@ -28,3 +28,9 @@
%include "gnuradio.i" // the common stuff
%include "hier.i"
+
+#if SWIGGUILE
+%scheme %{
+(load-extension "_gnuradio_swig_py_heir_guile" "SWIG_init")
+%}
+#endif
diff --git a/gnuradio-core/src/lib/swig/gnuradio_swig_py_io.i b/gnuradio-core/src/lib/swig/gnuradio_swig_py_io.i
index 9318f5d86..cb8509b10 100644
--- a/gnuradio-core/src/lib/swig/gnuradio_swig_py_io.i
+++ b/gnuradio-core/src/lib/swig/gnuradio_swig_py_io.i
@@ -28,3 +28,9 @@
%include "gnuradio.i" // the common stuff
%include "io.i"
+
+#if SWIGGUILE
+%scheme %{
+(load-extension "_gnuradio_swig_py_io_guile" "SWIG_init")
+%}
+#endif
diff --git a/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.i b/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.i
index 8f444f9c5..a3ab8d012 100644
--- a/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.i
+++ b/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.i
@@ -30,3 +30,10 @@
%include "gnuradio.i" // the common stuff
%include "runtime.i"
+
+
+#if SWIGGUILE
+%scheme %{
+(load-extension "_gnuradio_swig_py_runtime_guile" "SWIG_init")
+%}
+#endif