diff options
Diffstat (limited to 'Examples/test-suite/file_test.i')
| -rw-r--r-- | Examples/test-suite/file_test.i | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Examples/test-suite/file_test.i b/Examples/test-suite/file_test.i new file mode 100644 index 0000000..f4d98a8 --- /dev/null +++ b/Examples/test-suite/file_test.i @@ -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; + } + +%} + |
