PageRenderTime 22ms CodeModel.GetById 21ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-29/SWIG/Examples/test-suite/global_ns_arg.i

#
Swig | 15 lines | 10 code | 5 blank | 0 comment | 0 complexity | b4b215134045e7d57122dec444a6c53f MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1%module global_ns_arg
 2
 3%inline %{
 4
 5typedef int Integer;
 6
 7::Integer foo(::Integer x) {
 8   return x;
 9}
10
11::Integer bar() {
12   return 1;
13}
14
15%}