Add swig hint for devices_t objects

Signed-off-by: Christian Gagneraud <chris@techworks.ie>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
Christian Gagneraud 2012-08-06 14:18:57 +01:00 committed by Steve Markgraf
parent 69a74abc78
commit 6a1600eb93
1 changed files with 1 additions and 0 deletions

View File

@ -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