summaryrefslogtreecommitdiff
path: root/Examples/test-suite/arrayref.i
blob: f9c4df786d9a87a73ffc331beec75283a351bdeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// A function that passes arrays by reference 

%module arrayref

%inline %{

void foo(const int (&x)[10]) {
}

void bar(int (&x)[10]) {
}
%}