HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac57c3e
)
defsubr snarfing
author
BT Templeton
<bpt@hcoop.net>
Fri, 3 Aug 2012 04:43:03 +0000
(
00:43
-0400)
committer
Robin Templeton
<robin@terpri.org>
Sat, 18 Apr 2015 22:49:09 +0000
(18:49 -0400)
* src/lisp.h (DEFUN): Use `SCM_SNARF_INIT' to generate a defsubr call.
src/lisp.h
patch
|
blob
|
blame
|
history
diff --git
a/src/lisp.h
b/src/lisp.h
index
d830cf4
..
0900c88
100644
(file)
--- a/
src/lisp.h
+++ b/
src/lisp.h
@@
-2401,6
+2401,7
@@
CHECK_NUMBER_CDR (Lisp_Object x)
#else /* not _MSC_VER */
#define DEFUN(lname, fnname, sname, minargs, maxargs, intspec, doc) \
SCM_SNARF_INIT (defsubr (&sname);) \
+ Lisp_Object fnname DEFUN_ARGS_ ## maxargs ; \
static struct Lisp_Subr alignas (GCALIGNMENT) sname = \
{ { .self = NULL, \
.size = PVEC_SUBR << PSEUDOVECTOR_AREA_BITS }, \