/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
- %module port
- %include guilemain.i
- /* Include the required FILE * typemaps */
- %include ports.i
- %{
- #include <stdio.h>
- %}
- %inline %{
- void print_int(FILE *f, int i);
- int read_int(FILE *f);
- %}