]> git.eshelyaron.com Git - emacs.git/commit
Add a couple more assertions to the module code
authorPhilipp Stephani <phst@google.com>
Sun, 4 Jun 2017 17:19:30 +0000 (19:19 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 4 Jun 2017 17:50:51 +0000 (19:50 +0200)
commit549706241e5ce6fe7f1131d7f132a19bdb1abdd9
treeb7911a22dd11e55a8f5845d5686149f7ef94047d
parentfb3a9fd3185e081b3442d37ef3c27543d75849ac
Add a couple more assertions to the module code

These can help module authors debug crashes.

* emacs-module.c (module_non_local_exit_check)
(module_non_local_exit_clear, module_non_local_exit_get)
(module_non_local_exit_signal, module_non_local_exit_throw)
(module_copy_string_contents, module_make_string)
(funcall_module, initialize_environment): Add assertions
src/emacs-module.c