From: Mark Wooding Date: Thu, 26 May 2016 08:26:09 +0000 (+0100) Subject: doc/{runtime,structures}.tex: Fix careless transfer from the manpages. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/02840f3dba856d042fe27a0adfb0367346447cda doc/{runtime,structures}.tex: Fix careless transfer from the manpages. --- diff --git a/doc/runtime.tex b/doc/runtime.tex index d4a8292..a4a15ed 100644 --- a/doc/runtime.tex +++ b/doc/runtime.tex @@ -328,7 +328,7 @@ keyword arguments. which expects keyword arguments, but don't supply any and forget the null pointer which terminates the (empty) list.} % If @ is a null pointer, then @ need not be a valid pointer; - otherwise, the cursor object @|* @| will be modified as the function + otherwise, the cursor object @|*@| will be modified as the function extracts successive arguments from the tail. The keyword vector is read from the vector of @|kwval| structures starting diff --git a/doc/structures.tex b/doc/structures.tex index 2cebaa1..dfa5c4c 100644 --- a/doc/structures.tex +++ b/doc/structures.tex @@ -380,7 +380,7 @@ transitive closure of the `links to' relation.) Chains are identified by naming their least specific classes; the least specific class in a chain is called the \emph{chain head}. Suppose that the chain head of the chain containing $C$ itself is named $H$ (though keep in mind that it's possible -that .$H$ is in fact $C$ itself.) +that $H$ is in fact $C$ itself.) \subsubsection{The ilayout structure} The @|ilayout| structure contains one member for each of $C$'s superclass @@ -486,18 +486,11 @@ The outer layer is a @|union $C$__vtu_$h$| containing a member for each of $C$'s superclasses $A$ in the same chain, with $C$ itself listed first. -This is mostly an irrelevant detail, -whose purpose is to defend against malicious compilers: -pointers are always to one of the inner -@|vt| -structures. -It's important only because it's the outer -@|vtu| -union which is exported by name. -Specifically, for each chain of -$C$'s -superclasses -there is an external object +This is mostly an irrelevant detail, whose purpose is to defend against +malicious compilers: pointers are always to one of the inner @|vt| +structures. It's important only because it's the outer @|vtu| union which is +exported by name. Specifically, for each chain of $C$'s superclasses there is +an external object \begin{prog} const union $A$__vtu_$i$ $C$__vtable_$i$; \end{prog}