/trunk/Examples/guile/port/port.i
Swig | 15 lines | 10 code | 4 blank | 1 comment | 0 complexity | e148956cb54ac2f503601b056bb0bccd MD5 | raw file
1%module port 2 3%include guilemain.i 4 5/* Include the required FILE * typemaps */ 6%include ports.i 7 8%{ 9#include <stdio.h> 10%} 11 12%inline %{ 13void print_int(FILE *f, int i); 14int read_int(FILE *f); 15%}