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.i10
1 files changed, 9 insertions, 1 deletions
diff --git a/gr-fcd/swig/fcd_swig.i b/gr-fcd/swig/fcd_swig.i
index a565fb895..8fcc7d059 100644
--- a/gr-fcd/swig/fcd_swig.i
+++ b/gr-fcd/swig/fcd_swig.i
@@ -20,6 +20,11 @@
* Boston, MA 02110-1301, USA.
*/
+#define FCD_API
+
+//suppress 319. No access specifier given for base class name (ignored).
+#pragma SWIG nowarn=319
+
%include "gnuradio.i"
//load generated python docstrings
@@ -29,7 +34,10 @@
#include "fcd_source_c.h"
%}
-%include "fcd_source_c.i"
+%include "fcd_source_c.h"
+
+GR_SWIG_BLOCK_MAGIC(fcd,source_c);
+fcd_source_c_sptr fcd_make_source_c (const std::string device_name = "");
#if SWIGGUILE
%scheme %{