X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/b885da9c18bf1db66978000f3542b69286165864..1edb774eed8bea3f6dbde5b02db6ecd209394cf8:/doc/structures.tex diff --git a/doc/structures.tex b/doc/structures.tex index d24fbeb..01e1ecd 100644 --- a/doc/structures.tex +++ b/doc/structures.tex @@ -51,7 +51,7 @@ structure. Instance chains contain slots and vtable pointers, as described below. All instances have the basic structure of a @|struct sod_instance|. -\begin{describe}{type}[struct sod_instance] +\begin{describe}{ty}[struct sod_instance] {struct sod_instance \{ \\ \ind const struct sod_vtable *_vt; \-\\ \};} @@ -63,7 +63,7 @@ instances have the basic structure of a @|struct sod_instance|. \end{description} \end{describe} -\begin{describe}{type}[struct sod_vtable] +\begin{describe}{ty}[struct sod_vtable] {struct sod_vtable \{ \\ \ind const SodClass *_class; \\ size_t _base; \-\\ @@ -301,7 +301,7 @@ involved at the top of the class/metaclass graph (see \end{description} \end{describe} -\begin{describe}{type}[struct sod_chain] +\begin{describe}{ty}[struct sod_chain] {struct sod_chain \{ \\ \ind size_t n_classes; \\ const SodClass *const *classes; \\ @@ -422,7 +422,7 @@ and this is followed by corresponding members \end{prog} for each of $C$'s superclasses $A$ in the same chain in some (unimportant) order. The (somewhat obtuse) purpose of this union is to engage the `common -initial sequence' rule of \cite[6.5.2.3]{ISO:1990:IIP,ANSI:1999:AII}. +initial sequence' rule of \cite[6.5.2.3]{iso-1990:c,ansi-1999:c}. \subsubsection{The ichain structure} The @|ichain| structure contains (in order), a pointer