variable argument lenth mpz init

Niels Möller
30 Dec 2002 21:54:50 +0100

Kevin Ryde <> writes:

> I guess "va_arg (ap, mpz_t)" doesn't do what might be hoped.  It seems
> to step by the size of the structure, not a pointer.
> I guess we don't document "mpz_ptr".  "MP_INT *" as a throwback to gmp
> 1.x days would be a possibility.

I'm using

   MP_INT *n = va_arg(args, MP_INT*);

in my code, but I'm not sure from where I picked that up.