[PATCH] Add swig hint for devices_t objects
6 Aug
2012
6 Aug
'12
3:18 p.m.
From: Christian Gagneraud <chris@techworks.ie> Signed-off-by: Christian Gagneraud <chris@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
5207
Age (days ago)
5207
Last active (days ago)
0 comments
1 participants
participants (1)
-
chris@techworks.ie