pointers vs arrays

Emmanuel Thomé Emmanuel.Thome at inria.fr
Thu Jun 10 12:13:12 UTC 2021


And as it turns out, we even discussed that very documentation bit about
three years ago (here a link to an actual patch -- original discussion
was in may 2018).

https://gmplib.org/list-archives/gmp-devel/2019-January/005182.html

E.

On Thu, Jun 10, 2021 at 01:39:30PM +0200, Vincent Lefevre wrote:
> 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)
> _______________________________________________
> gmp-devel mailing list
> gmp-devel at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-devel


More information about the gmp-devel mailing list