diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-10-03 09:10:01 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-10-06 23:31:04 -0700 |
commit | 84f39d3389209e566dde9acbdd78f5572f0c6751 (patch) | |
tree | ad9788f26ffd9e9ceb7a520ed863833a5b60db8b /lisp/emacs-lisp/lisp.el | |
parent | 0faad0a0025cb4c6cbdba44e5b259690fae27b1a (diff) | |
download | emacs-84f39d3389209e566dde9acbdd78f5572f0c6751.tar.gz emacs-84f39d3389209e566dde9acbdd78f5572f0c6751.tar.bz2 emacs-84f39d3389209e566dde9acbdd78f5572f0c6751.zip |
Export converting mpz to [u]intmax
This refactoring will help improve timestamp handling later
(Bug#32902).
* src/bignum.c (mpz_set_uintmax): Move to bignum.h,
and make inline.
(mpz_set_uintmax_slow): Now extern.
(mpz_to_intmax, mpz_to_uintmax): New functions, with
implementation taken from the old bignum_to_intmax
and bignum_to_uintmax.
(bignum_to_intmax, bignum_to_uintmax): Use them.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions