diff options
author | Philipp Stephani <phst@google.com> | 2020-07-25 23:23:19 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2020-07-25 23:23:19 +0200 |
commit | 9f01ce6327af886f26399924a9aadf16cdd4fd9f (patch) | |
tree | a363d2673c61ac60183457965462b05b8b867f4b /lisp/emacs-lisp/timer-list.el | |
parent | 6355a3ec62f43c9b99d483982ff851d32dd78891 (diff) | |
download | emacs-9f01ce6327af886f26399924a9aadf16cdd4fd9f.tar.gz emacs-9f01ce6327af886f26399924a9aadf16cdd4fd9f.tar.bz2 emacs-9f01ce6327af886f26399924a9aadf16cdd4fd9f.zip |
Make checking for liveness of global values more precise.
We can't just use a hash lookup because a global and a local reference
might refer to the same Lisp object.
* src/emacs-module.c (module_free_global_ref): More precise check for
global liveness.
* test/data/emacs-module/mod-test.c (Fmod_test_globref_invalid_free):
New test module function.
(emacs_module_init): Export it.
* test/src/emacs-module-tests.el
(module--test-assertions--globref-invalid-free): New unit test.
Diffstat (limited to 'lisp/emacs-lisp/timer-list.el')
0 files changed, 0 insertions, 0 deletions