[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Change module interface to no longer use GMP objects directl
From: |
Philipp Stephani |
Subject: |
Re: [PATCH] Change module interface to no longer use GMP objects directly. |
Date: |
Sat, 14 Dec 2019 17:06:15 +0100 |
Am Di., 10. Dez. 2019 um 16:58 Uhr schrieb Eli Zaretskii <address@hidden>:
>
> > Cc: Philipp Stephani <address@hidden>, Andreas Schwab
> > <address@hidden>, Stefan Monnier <address@hidden>,
> > Emacs developers <address@hidden>
> > From: Paul Eggert <address@hidden>
> > Date: Mon, 9 Dec 2019 16:22:13 -0800
> >
> > On 12/9/19 3:15 PM, Philipp Stephani wrote:
> > > In other words, you'd like it to be an alias for uintptr_t? I'd be
> > > totally fine with that as well.
> >
> > size_t would be a bit better, as it would serve the same function and
> > it's more commonly used and better supported. Something like the
> > attached patch, say.
>
> Fine with me, thanks.
Another random idea: What about adding parameters for the limb size,
order and endinanness instead, like mpz_export/import? It would make
the interface a bit more complicated, but would allow users to decide
which limb type to use.
- Re: [PATCH] Change module interface to no longer use GMP objects directly., Philipp Stephani, 2019/12/04
- Re: [PATCH] Change module interface to no longer use GMP objects directly., Eli Zaretskii, 2019/12/05
- Re: [PATCH] Change module interface to no longer use GMP objects directly., Philipp Stephani, 2019/12/08
- Re: [PATCH] Change module interface to no longer use GMP objects directly., Philipp Stephani, 2019/12/09
- Re: [PATCH] Change module interface to no longer use GMP objects directly., Paul Eggert, 2019/12/09
- Re: [PATCH] Change module interface to no longer use GMP objects directly., Philipp Stephani, 2019/12/10
- Re: [PATCH] Change module interface to no longer use GMP objects directly., Eli Zaretskii, 2019/12/10
- Re: [PATCH] Change module interface to no longer use GMP objects directly.,
Philipp Stephani <=
- Re: [PATCH] Change module interface to no longer use GMP objects directly., Paul Eggert, 2019/12/14
Re: [PATCH] Change module interface to no longer use GMP objects directly., Paul Eggert, 2019/12/08