projects
/
external
/
swig.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import source from 1.3.40
[external/swig.git]
/
Examples
/
test-suite
/
arrayref.i
1
// A function that passes arrays by reference
2
3
%module arrayref
4
5
%inline %{
6
7
void foo(const int (&x)[10]) {
8
}
9
10
void bar(int (&x)[10]) {
11
}
12
%}
13
14