variable argument lenth mpz init

Kevin Ryde user42@zip.com.au
Sat, 04 Jan 2003 08:50:08 +1000


nisse@lysator.liu.se (Niels M=F6ller) writes:
>
>    MP_INT *n =3D va_arg(args, MP_INT*);

Yes, that's correct for how an mpz_t is passed.

MP_INT is retained for gmp 1 compatibility, but no longer actually
documented.  I'd like to put something in the manual about how to use
va_arg with mpz_t and the other types, but I guess we need to document
some pointers to do it properly.