summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/gnuradio/gr_types.h6
-rw-r--r--swig/runtime.i13
2 files changed, 19 insertions, 0 deletions
diff --git a/include/gnuradio/gr_types.h b/include/gnuradio/gr_types.h
index ad6cee7..f7d1cee 100644
--- a/include/gnuradio/gr_types.h
+++ b/include/gnuradio/gr_types.h
@@ -23,6 +23,12 @@
#ifndef INCLUDED_GR_TYPES_H
#define INCLUDED_GR_TYPES_H
+#include <gnuradio/io_signature.hpp>
+#include <gnuradio/element.hpp>
+#include <gnuradio/block.hpp>
+#include <gnuradio/top_block.hpp>
+#include <gnuradio/hier_block.hpp>
+
#include <gr_core_api.h>
#include <boost/shared_ptr.hpp>
#include <vector>
diff --git a/swig/runtime.i b/swig/runtime.i
index f673ae1..c3e153d 100644
--- a/swig/runtime.i
+++ b/swig/runtime.i
@@ -17,6 +17,19 @@
#define GR_CORE_API
#define GR_RUNTIME_API
+%ignore forecast;
+%ignore general_work;
+%ignore work;
+
+//helps with funny swig error for io signature
+%ignore gnuradio::IOSignature::operator->();
+%ignore gnuradio::IOSignature::operator->() const;
+
+//not here to fight you swig, reference() is ambigi with shared ptr, but whatevs
+%ignore gri_agc_cc::reference();
+%ignore gri_agc2_ff::reference();
+%ignore gri_agc2_cc::reference();
+
%constant int sizeof_char = sizeof(char);
%constant int sizeof_short = sizeof(short);
%constant int sizeof_int = sizeof(int);