mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 13:30:26 +02:00
Fix snarfing of `SCM_DEFINE' with static allocation.
* libguile/snarf.h (SCM_DEFINE)[SCM_SUPPORT_STATIC_ALLOCATION]: Provide a declaration for FNAME since the last argument to `SCM_IMMUTABLE_SUBR ()' refers to it.
This commit is contained in:
parent
440ae51035
commit
f476797998
1 changed files with 3 additions and 2 deletions
|
@ -103,6 +103,7 @@ SCM_SNARF_DOCS(primitive, FNAME, PRIMNAME, ARGLIST, REQ, OPT, VAR, DOCSTRING)
|
|||
SCM_SYMBOL (scm_i_paste (FNAME, __name), PRIMNAME); \
|
||||
SCM_SNARF_HERE( \
|
||||
static const char scm_i_paste (s_, FNAME) [] = PRIMNAME; \
|
||||
SCM_API SCM FNAME ARGLIST; \
|
||||
SCM_IMMUTABLE_SUBR (scm_i_paste (FNAME, __subr), \
|
||||
scm_i_paste (FNAME, __name), \
|
||||
REQ, OPT, VAR, &FNAME); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue