blob: eb7539173a9e14500aae5977daa4ec79abdf550e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
%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);
%}
|