chiark / gitweb /
doc/structures.tex: Fix fake property lists for the builtin classes.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 15 Dec 2015 19:15:23 +0000 (19:15 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 29 May 2016 13:01:46 +0000 (14:01 +0100)
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

index 8be9a6569ab424f8d3602246d563ba9401ede6eb..976636e8841144889f36b0bdb82a0431300b050b 100644 (file)
@@ -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; \\