From: Mark Wooding Date: Thu, 26 May 2016 08:26:09 +0000 (+0100) Subject: doc/clang.tex: Improve documentation of C type spec expansion. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/commitdiff_plain/e07fb83cca55921ef64b73880276277fee9107a8 doc/clang.tex: Improve documentation of C type spec expansion. Show that `expand-c-type-spec' is a generic function. Document `expand-c-type-form', since it's exported. --- diff --git a/doc/clang.tex b/doc/clang.tex index b38dc09..b94ef95 100644 --- a/doc/clang.tex +++ b/doc/clang.tex @@ -164,8 +164,16 @@ type specifier. Type specifiers fit into two syntactic categories. type specifiers among its arguments. \end{describe} -\begin{describe}{fun}{expand-c-type-spec @ @> @
} +\begin{describe}{gf}{expand-c-type-spec @ @> @} Returns the Lisp form that @|(c-type @)| would expand into. + + If @ is a list, then \descref{expand-c-type-form}{fun} is + invoked. +\end{describe} + +\begin{describe}{gf}{expand-c-type-form @ @ @> @} + Returns the Lisp form that @|(c-type (@ . @)| would expand + into. \end{describe} \begin{describe}{gf}