swig/Examples/guile/port/example.i
William S Fulton d974e9aced Guile examples consistency changes
Use new guile_embedded_run target or guile_run target for running the
examples like the other target languages (for suppressing stdout if run
from top level).

Consistency with other target language file renames: use runme.scm for
scripts and example.i, example.c for example code.

Add class example to examples being tested.
2013-05-09 18:35:18 +01:00

15 lines
192 B
OpenEdge ABL

%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);
%}