From bd441d3389ce472f1cb836127bc1bb10cbfba406 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 15 Dec 2015 19:15:23 +0000 Subject: [PATCH 1/1] 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. --- doc/structures.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; \\ -- 2.11.0