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