summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_basic_block.i1
-rw-r--r--gnuradio-core/src/lib/runtime/gr_block.i1
-rw-r--r--gnuradio-core/src/lib/runtime/gr_msg_queue.i3
-rw-r--r--gnuradio-core/src/lib/runtime/gr_top_block.i8
-rw-r--r--gnuradio-core/src/lib/swig/gr_swig_block_magic.i1
5 files changed, 13 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_basic_block.i b/gnuradio-core/src/lib/runtime/gr_basic_block.i
index 847ef3689..f1de9e08a 100644
--- a/gnuradio-core/src/lib/runtime/gr_basic_block.i
+++ b/gnuradio-core/src/lib/runtime/gr_basic_block.i
@@ -54,5 +54,6 @@ gr_basic_block_sptr.__repr__ = lambda self: "<gr_basic_block %s (%d)>" % (self.n
#endif
#ifdef SWIGGUILE
+#warning "gr_basic_block.i: gr_block_sptr needs to be implemented!"
#endif
diff --git a/gnuradio-core/src/lib/runtime/gr_block.i b/gnuradio-core/src/lib/runtime/gr_block.i
index d89e638b2..d13c268ca 100644
--- a/gnuradio-core/src/lib/runtime/gr_block.i
+++ b/gnuradio-core/src/lib/runtime/gr_block.i
@@ -62,4 +62,5 @@ gr_block_sptr.block = lambda self: self
#endif
#ifdef SWIGGUILE
+#warning "gr_block.i: gr_block_sptr needs to be implemented!"
#endif
diff --git a/gnuradio-core/src/lib/runtime/gr_msg_queue.i b/gnuradio-core/src/lib/runtime/gr_msg_queue.i
index 64aea602a..5b8fea49f 100644
--- a/gnuradio-core/src/lib/runtime/gr_msg_queue.i
+++ b/gnuradio-core/src/lib/runtime/gr_msg_queue.i
@@ -81,6 +81,7 @@ public:
* functions into the gr.msg_queue wrapper class, so that everything
* appears normal. (An evil laugh is heard in the distance...)
*/
+#ifdef SWIGPYTHON
%inline %{
gr_message_sptr gr_py_msg_queue__delete_head(gr_msg_queue_sptr q) {
gr_message_sptr msg;
@@ -97,7 +98,6 @@ public:
}
%}
-#ifdef SWIGPYTHON
// smash in new python delete_head and insert_tail methods...
%pythoncode %{
gr_msg_queue_sptr.delete_head = gr_py_msg_queue__delete_head
@@ -107,4 +107,5 @@ gr_msg_queue_sptr.handle = gr_py_msg_queue__insert_tail
#endif
#ifdef SWIGGUILE
+#warning "gr_msg_queue.i: gr_msg_queue_sptr needs to be implemented!"
#endif
diff --git a/gnuradio-core/src/lib/runtime/gr_top_block.i b/gnuradio-core/src/lib/runtime/gr_top_block.i
index 670e5b5e5..579ef8f70 100644
--- a/gnuradio-core/src/lib/runtime/gr_top_block.i
+++ b/gnuradio-core/src/lib/runtime/gr_top_block.i
@@ -49,6 +49,8 @@ public:
void dump();
};
+#ifdef SWIGPYTHON
+
%inline %{
void top_block_run_unlocked(gr_top_block_sptr r) throw (std::runtime_error)
{
@@ -64,3 +66,9 @@ void top_block_wait_unlocked(gr_top_block_sptr r) throw (std::runtime_error)
Py_END_ALLOW_THREADS; // acquire global interpreter lock
}
%}
+
+#endif
+
+#ifdef SWIG_GUILE
+#warning "gr_top_block.i: top_block_run_unlocked needs to be implemented!"
+#endif
diff --git a/gnuradio-core/src/lib/swig/gr_swig_block_magic.i b/gnuradio-core/src/lib/swig/gr_swig_block_magic.i
index e25afbdb5..99e01b0ef 100644
--- a/gnuradio-core/src/lib/swig/gr_swig_block_magic.i
+++ b/gnuradio-core/src/lib/swig/gr_swig_block_magic.i
@@ -41,4 +41,5 @@ NAME ## _sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.
%enddef
#ifdef SWIGGUILE
+#warning "gr_block_sptr needs to be implemented!"
#endif