]> git.eshelyaron.com Git - emacs.git/commit
Prefer intmax_t to int64_t in module code
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Nov 2015 22:03:29 +0000 (14:03 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Nov 2015 22:04:00 +0000 (14:04 -0800)
commit68d58e69738db41061812b10f2f3f50b6a1b9aa0
tree8045f9ded98f40daf1901862d729d1336adf2f06
parentf2c002592196297a3517b3ed1f05c8ac7b096044
Prefer intmax_t to int64_t in module code

* modules/mod-test/mod-test.c (sum, Fmod_test_sum):
* src/emacs-module.c (module_extract_integer)
(module_make_integer):
* src/emacs-module.h (struct emacs_env_25):
Prefer intmax_t to int64_t.  This doesn’t change the generated
code on any of the machines Emacs currently ports to, but it’s
at least in theory more future-proof as C99 doesn’t guarantee
that int64_t exists.
modules/mod-test/mod-test.c
src/emacs-module.c
src/emacs-module.h