1 2 3 4 5 6 7
/* File : example.i */ %module example %inline %{ extern int gcd(int x, int y); extern double Foo; %}