disable size_vector_t template

definition in swig interface

this avoids a compile-time warning.
This commit is contained in:
Dimitri Stolnikov 2012-08-08 21:15:03 +02:00
parent e3c60c4a70
commit 36a92a92bf
1 changed files with 2 additions and 2 deletions

View File

@ -18,14 +18,14 @@
%template(string_vector_t) std::vector<std::string>;
%template(size_vector_t) std::vector<size_t>;
//%template(size_vector_t) std::vector<size_t>;
%include <osmosdr_pimpl.h>
%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>;
%template(devices_t) std::vector<osmosdr::device_t>;
%include <osmosdr_device.h>
%template(range_vector_t) std::vector<osmosdr::range_t>; //define before range