/* File : example.i */ %module example %typemap(argout) (const int &x, const int &y) { swig_result = caml_list_append(swig_result, caml_val_int(*$1)); swig_result = caml_list_append(swig_result, caml_val_int(*$2)); } %{ extern "C" void factor(const int &x, const int &y); %} extern "C" void factor(const int &x, const int &y);
Generated by dwww version 1.15 on Sun Jun 30 19:48:27 CEST 2024.