variable argument lenth mpz init

Niels Möller nisse@lysator.liu.se
30 Dec 2002 21:54:50 +0100


Kevin Ryde <user42@zip.com.au> 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.

/Niels