blob: f4d98a8b333eb50f570275c2352c9843451ceada (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
%module file_test
%include file.i
%inline
%{
int nfile(FILE *file) {
return 0;
}
int nfile_name(const char *filename) {
return 0;
}
FILE* GetStdOut() {
return stdout;
}
%}
|