]> git.eshelyaron.com Git - emacs.git/commit
Rework `native-compile' interface so it can return compiled functions
authorAndrea Corallo <akrl@sdf.org>
Mon, 12 Oct 2020 20:34:57 +0000 (22:34 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 14 Oct 2020 09:04:36 +0000 (11:04 +0200)
commit4f0e87903095da1225830e27ef27e61ba9ff08af
treebcda9b34f6f4c4283e49861c728d9ec013a6ef35
parent8861ee8b087b4e5d9ac9186a2c2d8e44b07fc186
Rework `native-compile' interface so it can return compiled functions

* lisp/emacs-lisp/comp.el (native-compile): Return the compiled
function when the input is a symbol or a form.
* test/src/comp-tests.el (free-fun, tco, fw-prop): Update tests
for new `native-compile' interface.
lisp/emacs-lisp/comp.el
test/src/comp-tests.el