aboutsummaryrefslogtreecommitdiffstats
path: root/src/dynlib.c
diff options
context:
space:
mode:
authorPhilipp Stephani2017-06-05 13:05:51 +0200
committerPhilipp Stephani2017-06-05 15:10:24 +0200
commit5d29c0f006d071008eba8d235db917d5c8b271bb (patch)
tree4203cbc6db953bf258432b64b8437d535a925f8c /src/dynlib.c
parent9f496c591d457b511a42c0f63e0d2d923cda0247 (diff)
downloademacs-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