]> git.eshelyaron.com Git - emacs.git/commit
Move INTEGER_TO_CONS body out of .h file
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Nov 2015 20:46:22 +0000 (12:46 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Nov 2015 20:52:26 +0000 (12:52 -0800)
commit0e0ea300ff926d3e2f6f4d514d9115f1eecc8ddb
tree3f7b95a5cf1d1c1fefe0d48b606bf2fcdf2a8a7b
parent6c16c9a649ab5a5ea4bec12345fd369752da5dc0
Move INTEGER_TO_CONS body out of .h file

* src/data.c (INTBIG_TO_LISP): New macro, with most
of the contents of the old INTEGER_TO_CONS.
(intbig_to_lisp, uintbig_to_lisp): New functions.
* src/lisp.h (INTEGER_TO_CONS):
Simplify by using EXPR_SIGNED and the new functions.
This shrinks code size a bit, and makes it easier to
put a breakpoint on handling of large integers.
src/data.c
src/lisp.h