[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type-error in C code

From: Eli Zaretskii
Subject: Re: Type-error in C code
Date: Fri, 12 Nov 2010 18:20:48 +0200

> Date: Fri, 12 Nov 2010 11:06:26 -0500
> From: John Yates <address@hidden>
> On Fri, Nov 12, 2010 at 10:58 AM, Julien Danjou <address@hidden> wrote:
> > OTOH, x_fill_property_data deals with floats too, so using a float here
> > sounds like a good solution, as you suggested.
> Alternatively you could check the atom's value and so long as it is in
> range you could generate an elisp integer, falling back to a float
> only when the atom is too large.

That's what I meant, actually (we already do such things in other
places in Emacs sources).

reply via email to

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