X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/054e8f8f1ea255ff77b19df82bd845e5686dac0d..e1f775a8531686c1217e04b028471bd4e8db4680:/doc/clang.tex diff --git a/doc/clang.tex b/doc/clang.tex index b273a2c..b572fe4 100644 --- a/doc/clang.tex +++ b/doc/clang.tex @@ -208,12 +208,12 @@ argument lists for methods. This is done by @|c-type-equal-p|. The generic function @|c-type-equal-p| uses the @|and| method combination. - \begin{describe}{meth}{c-type-equal-p @_1 @_2} + \begin{describe}{meth}{t,t}{c-type-equal-p @_1 @_2} A default primary method for @|c-type-equal-p| is defined. It simply returns @|nil|. This way, methods can specialize on both arguments without fear that a call will fail because no methods are applicable. \end{describe} - \begin{describe}{ar-meth}{c-type-equal-p @_1 @_2} + \begin{describe}{ar-meth}{}{c-type-equal-p @_1 @_2} A default around-method for @|c-type-equal-p| is defined. It returns true if @_1 and @_2 are @|eql|; otherwise it delegates to the primary methods. Since several common kinds of C types are interned, @@ -270,7 +270,7 @@ argument lists for methods. This is done by @|c-type-equal-p|. Every concrete subclass of @|c-type| is expected to provide a primary method on this function. There is no default primary method. - \begin{describe}{ar-meth}{pprint-c-type @ @ @} + \begin{describe}{ar-meth}{}{pprint-c-type @ @ @} A default around method is defined on @|pprint-c-type| which `canonifies' non-function @ arguments. In particular: \begin{itemize} @@ -375,7 +375,8 @@ methods to \descref{c-qualifier-keyword}{gf}. methods exist for qualifier keywords which need special handling, such as @|:atomic|; they are not listed here explicitly. - \begin{describe}{meth}{c-qualifier-keyword @ @> @} + \begin{describe}{meth}{keyword} + {c-qualifier-keyword @ @> @} Returns the @'s print-name, in lower case. This is sufficient for the standard qualifiers @|:const|, @|:restrict|, and @|:volatile|. \end{describe} @@ -844,11 +845,13 @@ function type is the type of the function's return value. including file from defining such names as macros. This generic function is used to convert names into a safe form. - \begin{describe}{meth}{commentify-argument-name (@ null) @> nil} + \begin{describe}{meth}{null} + {commentify-argument-name (@ null) @> nil} Returns nil: if the argument name is already omitted, it's safe for use in a header file. \end{describe} - \begin{describe}{meth}{commentify-argument-name (@ t) @> @} + \begin{describe}{meth}{t} + {commentify-argument-name (@ t) @> @} Returns the print form of @ wrapped in a C comment, as @`/*@*/'. \end{describe} @@ -907,7 +910,7 @@ function type is the type of the function's return value. arguments; or \item a possibly-improper list tail, beginning with an atom either as a list item or as the final list cdr, indicating that the entire list tail - is Lisp expression which is to be evaluated to compute the remaining + is a Lisp expression which is to be evaluated to compute the remaining arguments. \end{itemize} A tail expression may return a list of @|argument| objects, optionally @@ -1120,10 +1123,6 @@ function type is the type of the function's return value. {make-class-type @ \&optional @ @> @} \end{describe} -\begin{describe}{fun} - {make-class-type @ \&optional @ @> @} -\end{describe} - \begin{describe}{fun}{find-sod-class @ @> @} \end{describe} @@ -1158,8 +1157,7 @@ Temporary names are represented by objects which implement a simple protocol. \begin{describe*} {\dhead{gf}{var-in-use-p @ @> @} - \dhead[setf var-in-use-p] - {gf}{setf (var-in-use-p @) @}} + \dhead{gf}{setf (var-in-use-p @) @}} \end{describe*} \subsubsection{Temporary name objects} @@ -1169,7 +1167,7 @@ Temporary names are represented by objects which implement a simple protocol. subclasses, but is also usable on its own. \end{describe} -\begin{describe}{meth} +\begin{describe}{meth}{temporary-name} {commentify-argument-name (@ temporary-name) @> nil} \end{describe}