PageRenderTime 42ms CodeModel.GetById 18ms 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. %include file.i
  3. %inline
  4. %{
  5. int nfile(FILE *file) {
  6. return 0;
  7. }
  8. int nfile_name(const char *filename) {
  9. return 0;
  10. }
  11. FILE* GetStdOut() {
  12. return stdout;
  13. }
  14. %}