diff options
| author | Philipp Stephani | 2017-06-05 13:05:51 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-06-05 15:10:24 +0200 |
| commit | 5d29c0f006d071008eba8d235db917d5c8b271bb (patch) | |
| tree | 4203cbc6db953bf258432b64b8437d535a925f8c /src/dynlib.c | |
| parent | 9f496c591d457b511a42c0f63e0d2d923cda0247 (diff) | |
| download | emacs-5d29c0f006d071008eba8d235db917d5c8b271bb.tar.gz emacs-5d29c0f006d071008eba8d235db917d5c8b271bb.zip | |
Use unwind protection to clean up data structures in modules
Reuse existing functionality and simplify the code a bit.
* src/emacs-module.c (Fmodule_load): Use unwind protection to clean up
runtime object.
(funcall_module): Use unwind protection to clean up environment
object.
(finalize_environment): Simplify signature.
(finalize_environment_unwind, finalize_runtime_unwind): New functions.
Diffstat (limited to 'src/dynlib.c')
0 files changed, 0 insertions, 0 deletions