pointers vs arrays

Vincent Lefevre vincent at vinc17.net
Thu Jun 10 11:39:30 UTC 2021

On 2021-06-09 20:29:35 +0200, Marc Glisse wrote:
> On Wed, 9 Jun 2021, Marco Bodrato wrote:
> > By the way, I think that also the documentation should be updated
> > accordingly.
> We have never documented mpz_ptr/mpz_srcptr, my patch does not change this
> discrepancy. Maybe this is a new motivation to document it, but that seems
> like a lot of boring work...

At least mpz_srcptr should be documented as it is used in
the GMP manual:

 -- Function: mpz_srcptr mpz_roinit_n (mpz_t X, const mp_limb_t *XP,
          mp_size_t XS)

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