]> code.delx.au - gnu-emacs/commit
Port recent inline functions fix to Standard C
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Oct 2015 06:51:19 +0000 (23:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Oct 2015 06:52:01 +0000 (23:52 -0700)
commitd8589ad4e3cf2ed6759836f28081d96748360915
tree4a2e184554eb414d8dd2efc9fe70f47eea99d90c
parent816f78c2e8ec67a1e8c91ad2e9b0b8628e5584bf
Port recent inline functions fix to Standard C

* src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
All uses rewritten to define the function directly rather than to
use a macro to define the function.  This conforms to Standard C,
which does not allow stray semicolons at the top level.  I hope it
also avoids the problems with TAGS.  Those macros, though clever,
were pretty confusing anyway, and it wasn’t clear they were worth
the aggravation even without the TAGS problem.
src/lisp.h