/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
- %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;
- }
-
- %}