PageRenderTime 49ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/arrayref.i

#
Swig | 14 lines | 8 code | 6 blank | 0 comment | 0 complexity | 46285183d68e914597c39d8230337c8c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. // A function that passes arrays by reference
  2. %module arrayref
  3. %inline %{
  4. void foo(const int (&x)[10]) {
  5. }
  6. void bar(int (&x)[10]) {
  7. }
  8. %}