SWIG, Python-C++ and GMP – Passing an int type argument to a function in the SWIG-generated shared library that accepts an mpz_class type argument
I’m trying to implement a wrapper for running a fermat-factorization test on a public key. I’ve generated the shared library successfully using SWIG: