emacs-devel
[Top][All Lists]
Advanced

[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: Eli Zaretskii
Subject: Re: [PATCH] Change module interface to no longer use GMP objects directly.
Date: Mon, 09 Dec 2019 15:22:45 +0200

> Cc: address@hidden, address@hidden, address@hidden,
>  address@hidden
> From: Paul Eggert <address@hidden>
> Date: Sun, 8 Dec 2019 20:58:29 -0800
> 
> On 12/8/19 7:26 PM, Eli Zaretskii wrote:
> > I'd like to make emacs_limb_t be an unsigned long in 32-bit builds, to
> > match mp_limb_t.
> 
> mp_limb_t is more complicated than that. On some 32-bit platforms, mp_limb_t
> defaults to 64-bit 'unsigned long long', not to 32-bit 'unsigned long'. (The
> libgmp builder can override this default, though I imagine most don't do 
> that.)

That's fine, but if we can ignore _all_ platform differences, we
surely can ignore a subset, i.e. platforms where such non-default
sizes were chosen for some reason, and just use 'unsigned long long'
for them.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]