Commit 3be1f5ba authored by Philip Fominykh's avatar Philip Fominykh

Improved function signature rendering in cmu-user html version

parent e3c4759d
......@@ -295,7 +295,7 @@ This section describes the basic operations on Alien values.
\subsection{Alien Access Operations}
\begin{defun}{alien:}{deref}{\args{\var{pointer-or-array} \amprest \var{indices}}}
\begin{defun}{alien:}{deref}{\args{\var{pointer-or-array} \amprest{} \var{indices}}}
This function returns the value pointed to by an Alien pointer or
the value of an Alien array element. If a pointer, an optional
......@@ -766,7 +766,7 @@ and two return values (\var{a} and \var{i}).
macro:
\begin{defmac}{alien:}{def-callback}{\var{name} (\var{return-type}
\mstar{(arg-name arg-type)}) \ampbody\ body}
\mstar{(arg-name arg-type)}) \ampbody{} \var{body}}
This macro defines a Lisp function that can be called from C and a
Lisp variable. The arguments to the function must be alien types,
and the return type must also be an alien type. This Lisp function
......@@ -789,7 +789,7 @@ macro:
\code{def-callback} macro.
\end{defmac}
\begin{defmac}{alien:}{callback-funcall}{\var{callback-name} \amprest
\begin{defmac}{alien:}{callback-funcall}{\var{callback-name} \amprest{}
\var{args}}
This macro does the necessary stuff to call the callback named
\var{callback-name} with the given arguments.
......
......@@ -142,7 +142,7 @@ source file), and so is identified by the XREF facility by a string.
\end{defun}
\begin{defun}{xref:}{xref-context-file}{context}
\begin{defun}{xref:}{xref-context-file}{\var{context}}
Return the truename (in the sense of the variable
\vindexed{compile-file-truename}) of the source file from which the
referencing forms were compiled. This slot will be \nil{} if the
......@@ -150,7 +150,7 @@ source file), and so is identified by the XREF facility by a string.
listener.
\end{defun}
\begin{defun}{xref:}{xref-context-source-path}{context}
\begin{defun}{xref:}{xref-context-source-path}{\var{context}}
Return a list of positive integers identifying the form that
contains the cross-reference. The first integer in the source-path
is the number of the top-level form containing the cross-reference
......
This diff is collapsed.
......@@ -161,7 +161,7 @@ could use \code{prin1-to-string} locally, send the string, and use
\end{defmac}
\begin{defmac}{wire:}{remote-value-bind}{%
\args{\var{wire} (\mstar{variable}) remote-form
\args{\var{wire} (\mstar{variable}) \var{remote-form}
\mstar{local-forms}}}
\code{remote-value-bind} is similar to \code{multiple-value-bind}
......
......@@ -443,7 +443,7 @@ The Unicode data base is stored in compressed form in the file
\file{ext-formats:unidata.bin}. If this file is not found, Unicode
support is severely reduced; you can only use ASCII characters.
\begin{defun}{}{open}{\args \var{filename} \amprest \var{options}
\begin{defun}{}{open}{\args \var{filename} \amprest{} \var{options}
\keys{\kwd{direction} \kwd{element-type} \kwd{if-exists}
\kwd{if-does-not-exist} \morekeys \kwd{class} \kwd{mapped}
\kwd{input-handle} \kwd{output-handle}
......@@ -497,7 +497,7 @@ support is severely reduced; you can only use ASCII characters.
formats and composing external formats.
\end{defun}
\begin{defun}{extensions:}{describe-external-format}{external-format}
\begin{defun}{extensions:}{describe-external-format}{\var{external-format}}
Print a description of the given \var{external-format}. This may
cause the external format to be loaded (silently) if it is not
already loaded.
......@@ -627,12 +627,12 @@ An external format basically needs two functions:
external format is defined using the macro
\code{stream::define-external-format}.
\begin{defmac}[base]{stream:}{define-external-format}{\args \var{name}
(\keys{\var{base} \var{min} \var{max} \var{size}
\var{documentation}})
% tricky
\begin{defmac}[base]{stream::}{define-external-format}{\args \var{name}
(\keys{\kwd{base} \kwd{min} \kwd{max} \kwd{size} \kwd{documentation}})
(\amprest{} \var{slots})
\morekeys{\var{octets-to-code} \var{code-to-octets}
\var{flush-state} \var{copy-state}}}
\\
\= \ampoptional{} \var{octets-to-code} \var{code-to-octets} \var{flush-state} \var{copy-state}}
If \kwd{base} is not given, this defines a new external format of
......@@ -726,7 +726,7 @@ external format is defined using the macro
\subsection{Composing External Formats}
\begin{defmac}{stream:}{define-composing-external-format}{\args \var{name}
(\keys{\var{min} \var{max} \var{size} \var{documentation}}) \var{input}
(\keys{\kwd{min} \kwd{max} \kwd{size} \kwd{documentation}}) \var{input}
\var{output}}
This is the same as \code{define-external-format}, except that a
composing external format is created.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment