1 2 3 4 5 6 7 8
/* File : example.i */ %module example %{ extern "C" void factor(int &x, int &y); %} extern "C" void factor(int &x, int &y);