update swig on windows
This commit is contained in:
13
winx64/bin/swigwin-4.0.0/Examples/test-suite/import_stl_b.i
Normal file
13
winx64/bin/swigwin-4.0.0/Examples/test-suite/import_stl_b.i
Normal file
@@ -0,0 +1,13 @@
|
||||
%module import_stl_b
|
||||
|
||||
%import "import_stl_a.i"
|
||||
|
||||
%inline %{
|
||||
#include <vector>
|
||||
std::vector<int> process_vector(const std::vector<int>& v) {
|
||||
std::vector<int> v_new = v;
|
||||
v_new.push_back(4);
|
||||
return v_new;
|
||||
}
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user