http://benji3up2kxewkqfcq7buxk2xd6zwy3zggnurkrm3l4cvwy2iipvyyad.onion/mirrors/gmpdoc/Parameter-Conventions.html
Hence the call-by-reference.
A more explicit (and equivalent) prototype for our function foo could be: void foo (mpz_ptr result, mpz_srcptr param, unsigned long n); Next: Memory Management , Previous: Variable Conventions , Up: GMP Basics [ Index ]