Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/python_extranative.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

17 lines
300 B
OpenEdge ABL

%module(extranative="1") python_extranative
%include <std_vector.i>
%include <std_string.i>
%template(VectorString) std::vector<std::string>;
%inline %{
std::vector<std::string> make_vector_string() {
std::vector<std::string> vs;
vs.push_back("one");
vs.push_back("two");
return vs;
}
%}