/trunk/Examples/test-suite/arrayref.i
Swig | 14 lines | 8 code | 6 blank | 0 comment | 0 complexity | 46285183d68e914597c39d8230337c8c MD5 | raw file
1// A function that passes arrays by reference 2 3%module arrayref 4 5%inline %{ 6 7void foo(const int (&x)[10]) { 8} 9 10void bar(int (&x)[10]) { 11} 12%} 13 14