GNU bug report logs - #15880
Compute C declarations for DEFSYMs automatically.

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 13 Nov 2013 00:35:02 UTC

Severity: wishlist

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: eggert <at> cs.ucla.edu, 15880 <at> debbugs.gnu.org
Subject: bug#15880: Compute C declarations for DEFSYMs automatically.
Date: Fri, 09 Jan 2015 22:50:13 +0200
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Cc: Paul Eggert <eggert <at> cs.ucla.edu>,  15880 <at> debbugs.gnu.org
> Date: Fri, 09 Jan 2015 21:08:56 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> Date: Fri, 09 Jan 2015 08:33:53 -0800
> >> From: Paul Eggert <eggert <at> cs.ucla.edu>
> >> CC: rgm <at> gnu.org, 15880 <at> debbugs.gnu.org
> >> 
> >> Eli Zaretskii wrote:
> >> > Could we instead just keep the previous semantics of XIL and XLI,
> >> > please?  They are used in a few places outside lisp.h, so now all of
> >> > those places need to be audited and most probably changed.  Why isn't
> >> > it better to change the implementation of just 2 macros instead?
> >> 
> >> XIL and XLI haven't changed, and have the same semantics as before: they convert 
> >> between Lisp_Object and EMACS_INT without altering the bits (i.e., they are 
> >> no-ops at the machine level).
> >
> > That's not what their previous semantics was.  They converted between
> > a Lisp integer and EMACS_INT.
> 
> No, that's called XINT.

OK, a C integer, not EMACS_INT.  But you already knew that, of course.




This bug report was last modified 10 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.