summaryrefslogtreecommitdiff
path: root/gr-fcd/swig/fcd_swig.i
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fcd/swig/fcd_swig.i')
-rw-r--r--gr-fcd/swig/fcd_swig.i19
1 files changed, 19 insertions, 0 deletions
diff --git a/gr-fcd/swig/fcd_swig.i b/gr-fcd/swig/fcd_swig.i
new file mode 100644
index 000000000..8b240fc35
--- /dev/null
+++ b/gr-fcd/swig/fcd_swig.i
@@ -0,0 +1,19 @@
+/* -*- c++ -*- */
+
+%include "gnuradio.i" // the common stuff
+
+%{
+#include "fcd_source_c.h"
+%}
+
+%include "fcd_source_c.i"
+
+#if SWIGGUILE
+%scheme %{
+(load-extension-global "libguile-gnuradio-fcd_swig" "scm_init_gnuradio_fcd_swig_module")
+%}
+
+%goops %{
+(use-modules (gnuradio gnuradio_core_runtime))
+%}
+#endif