aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Gagneraud <chris@techworks.ie>2012-08-06 14:18:57 +0100
committerSteve Markgraf <steve@steve-m.de>2012-08-06 18:54:48 +0200
commit6a1600eb9338178eb960177535baf15877ebffc5 (patch)
treecdd32dffe2e1e9498321ef18b15e2c056942c0fa
parent69a74abc78ffe91da37fd099f2d066951b5cb048 (diff)
Add swig hint for devices_t objects
Signed-off-by: Christian Gagneraud <chris@techworks.ie> Signed-off-by: Steve Markgraf <steve@steve-m.de>
-rw-r--r--swig/osmosdr_swig.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/swig/osmosdr_swig.i b/swig/osmosdr_swig.i
index afdbb0e..4205fd6 100644
--- a/swig/osmosdr_swig.i
+++ b/swig/osmosdr_swig.i
@@ -25,6 +25,7 @@
%ignore osmosdr::device_t::operator[]; //ignore warnings about %extend
%template(string_string_dict_t) std::map<std::string, std::string>; //define before device
+%template(devices_t)std::vector<osmosdr::device_t>;
%include <osmosdr_device.h>
%template(range_vector_t) std::vector<osmosdr::range_t>; //define before range