summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/swig/hier_block2.i
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/swig/hier_block2.i')
-rw-r--r--gnuradio-runtime/swig/hier_block2.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnuradio-runtime/swig/hier_block2.i b/gnuradio-runtime/swig/hier_block2.i
index b455e02a7e..87c936544a 100644
--- a/gnuradio-runtime/swig/hier_block2.i
+++ b/gnuradio-runtime/swig/hier_block2.i
@@ -87,6 +87,10 @@ namespace gr {
void message_port_register_hier_in(pmt::pmt_t port_id);
void message_port_register_hier_out(pmt::pmt_t port_id);
+ void set_processor_affinity(const std::vector<int> &mask);
+ void unset_processor_affinity();
+ std::vector<int> processor_affinity();
+
gr::hier_block2_sptr to_hier_block2(); // Needed for Python type coercion
};
}