From: Mark Wooding Date: Tue, 15 Dec 2015 19:15:23 +0000 (+0000) Subject: doc/structures.tex: Fix fake property lists for the builtin classes. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/bd441d3389ce472f1cb836127bc1bb10cbfba406 doc/structures.tex: Fix fake property lists for the builtin classes. SodObject was missing its `nick' property, which is unfortunate because that's probably the most important one to be aware of. SodClass was missing a property list altogether. --- diff --git a/doc/structures.tex b/doc/structures.tex index 8be9a65..976636e 100644 --- a/doc/structures.tex +++ b/doc/structures.tex @@ -114,7 +114,7 @@ recommended. \end{figure} \begin{describe}[SodObject]{cls} - {[metaclass = SodClass, lisp_metaclass = sod_class] \\ + {[nick = obj, metaclass = SodClass, lisp_metaclass = sod_class] \\ class SodObject \{ \}} The @|SodObject| class defines no slots or messages. Because @|SodObject| @@ -134,7 +134,8 @@ recommended. \subsection{The SodClass class} \label{sec:structures.root.sodclass} \begin{describe}[SodClass]{cls} - {class SodClass : SodObject \{ \\ \ind + {[nick = cls, link = SodObject] \\ + class SodClass : SodObject \{ \\ \ind const char *name; \\ const char *nick; \\ size_t initsz; \\