PageRenderTime 15ms CodeModel.GetById 8ms app.highlight 6ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1.3.35/Examples/test-suite/file_test.i

#
Swig | 21 lines | 14 code | 7 blank | 0 comment | 0 complexity | 702583dc768f762b9d5d5102aecaaae0 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1%module file_test
 2
 3%include file.i
 4
 5
 6%inline 
 7%{
 8  int nfile(FILE *file) {
 9    return 0;
10  }
11
12  int nfile_name(const char *filename) {
13    return 0;
14  }
15
16  FILE* GetStdOut() {
17    return stdout;
18  }
19  
20%}
21