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.
15 lines
192 B
OpenEdge ABL
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);
|
|
%}
|