PageRenderTime 24ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-15/SWIG/Examples/guile/port/port.i

#
Swig | 15 lines | 10 code | 4 blank | 1 comment | 0 complexity | e148956cb54ac2f503601b056bb0bccd MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module port
  2. %include guilemain.i
  3. /* Include the required FILE * typemaps */
  4. %include ports.i
  5. %{
  6. #include <stdio.h>
  7. %}
  8. %inline %{
  9. void print_int(FILE *f, int i);
  10. int read_int(FILE *f);
  11. %}