X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/ac8ddb83cbc699b3d82ae1be837076b41d90757d..4effe5759a1229be4ce152db87172119ddcb45bb:/doc/structures.tex diff --git a/doc/structures.tex b/doc/structures.tex index d379c99..9c0451e 100644 --- a/doc/structures.tex +++ b/doc/structures.tex @@ -92,7 +92,7 @@ recommended. \begin{figure}[tbp] \begin{tabular}{p{10pt}p{10pt}} - \begin{prog} + \begin{nprog} struct SodObject__ilayout \{ \\ \ind union \{ \\ \ind struct SodObject__ichain_obj \{ \\ \ind @@ -100,14 +100,14 @@ recommended. \} obj; \- \\ \} obj; \- \\ \}; - \end{prog} + \end{nprog} & - \begin{prog} + \begin{nprog} struct SodObject__vt_obj \{ \\ \ind const SodClass *_class; \\ size_t _base; \- \\ \}; - \end{prog} \\ + \end{nprog} \\ \end{tabular} \caption{Instance and vtable layout of @|SodObject|} \label{fig:structures.root.sodobject} @@ -307,7 +307,7 @@ type @|struct $C$__ilayout|. union $B$__ichainu_$i$ $i$; \\ \quad$\vdots$ \- \\ \}; - \\[\bigskipamount] + \\+ typedef struct $C$__ichain_$h$ $C$; \end{prog} @@ -412,7 +412,7 @@ structure. \quad$\vdots$ \- \\ \} $c$; \- \\ \}; - \\[\bigskipamount] + \\+ extern const union $C$__vtu_$h$ $C$__vtable_$h$; \end{prog}