/trunk/Examples/test-suite/arrayref.i
# · Swig · 14 lines · 8 code · 6 blank · 0 comment · 0 complexity · 46285183d68e914597c39d8230337c8c MD5 · raw file
- // A function that passes arrays by reference
- %module arrayref
- %inline %{
- void foo(const int (&x)[10]) {
- }
- void bar(int (&x)[10]) {
- }
- %}