From: Christian Gagneraud <chris(a)techworks.ie>
Signed-off-by: Christian Gagneraud <chris(a)techworks.ie>
---
swig/osmosdr_swig.i | 1 +
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
--
1.7.7
Show replies by date