update swig on windows
This commit is contained in:
21
winx64/bin/swigwin-4.0.0/Examples/test-suite/file_test.i
Normal file
21
winx64/bin/swigwin-4.0.0/Examples/test-suite/file_test.i
Normal file
@@ -0,0 +1,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;
|
||||
}
|
||||
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user