1 %module import_stl_b 2 3 %import "import_stl_a.i" 4 5 %inline %{ 6 #include <vector> process_vector(const std::vector<int> & v)7 std::vector<int> process_vector(const std::vector<int>& v) { 8 std::vector<int> v_new = v; 9 v_new.push_back(4); 10 return v_new; 11 } 12 %} 13 14