blob: 9b732091625798f7886e73958ae93248eb30aa2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}
%}
|