_ptr and _srcptr types
Vincent Lefevre
vincent at vinc17.net
Fri May 18 14:15:20 UTC 2018
I've just noticed that GMP provides mpz_inits, so that mpz_ptr is
necessary: Since type checking cannot be done with variadic functions,
one must provide types compatible with mpz_ptr, or the behavior is
undefined. This is not an issue for mpz_t variables, but the last
argument needs to be (mpz_ptr) 0 or equivalent.
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the gmp-devel
mailing list