]> git.eshelyaron.com Git - emacs.git/commit
Improve bignum_integer static checking
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Aug 2019 19:11:06 +0000 (12:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Aug 2019 19:12:45 +0000 (12:12 -0700)
commit780509f29f0aa006a578744f7e871eb6d5ce5931
treef8b9af7529ea7d617038eebf12b62299a19750d9
parentf92d61c06c82d515ee83e340b8af4b1489778404
Improve bignum_integer static checking

* src/bignum.h (bignum_integer): Now returns pointer-to-const,
to catch trivial mistakes where the caller might try to modify
a Lisp bignum.  Lisp bignums are supposed to be immutable.
All callers changed.
src/bignum.h
src/data.c
src/timefns.c