summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime
diff options
context:
space:
mode:
authorTom Rondeau2013-02-12 18:21:13 -0500
committerTom Rondeau2013-02-12 18:21:13 -0500
commit37f297f892b9f1248915e119119a6ba3237f571f (patch)
tree758eb0282ccd262bd8d536874ea2af6d5068e158 /gnuradio-core/src/lib/runtime
parent7e9a439fa7b999cf92ca7ec502ac685b14947635 (diff)
downloadgnuradio-37f297f892b9f1248915e119119a6ba3237f571f.tar.gz
gnuradio-37f297f892b9f1248915e119119a6ba3237f571f.tar.bz2
gnuradio-37f297f892b9f1248915e119119a6ba3237f571f.zip
core: typedef vector<unsigned int> so SWIG can handle including it multiple times.
Diffstat (limited to 'gnuradio-core/src/lib/runtime')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_block.i4
-rw-r--r--gnuradio-core/src/lib/runtime/gr_types.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block.i b/gnuradio-core/src/lib/runtime/gr_block.i
index 0a2fb61f4..c016f2c28 100644
--- a/gnuradio-core/src/lib/runtime/gr_block.i
+++ b/gnuradio-core/src/lib/runtime/gr_block.i
@@ -76,9 +76,9 @@ class gr_block : public gr_basic_block {
float pc_work_time();
// Methods to manage processor affinity.
- void set_processor_affinity(const std::vector<unsigned int> &mask);
+ void set_processor_affinity(const gr_vector_uint &mask);
void unset_processor_affinity();
- std::vector<unsigned int> processor_affinity();
+ gr_vector_uint processor_affinity();
// internal use
gr_block_detail_sptr detail () const { return d_detail; }
diff --git a/gnuradio-core/src/lib/runtime/gr_types.h b/gnuradio-core/src/lib/runtime/gr_types.h
index ad6cee768..db13e456a 100644
--- a/gnuradio-core/src/lib/runtime/gr_types.h
+++ b/gnuradio-core/src/lib/runtime/gr_types.h
@@ -31,6 +31,7 @@
#include <gr_complex.h>
typedef std::vector<int> gr_vector_int;
+typedef std::vector<unsigned int> gr_vector_uint;
typedef std::vector<float> gr_vector_float;
typedef std::vector<double> gr_vector_double;
typedef std::vector<void *> gr_vector_void_star;