doc/sod.sty, etc.: Remove `type' category code.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2019 17:15:43 +0000 (18:15 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2019 17:18:02 +0000 (18:18 +0100)
It was a synonym for `ty', which I prefer, only you have to pick the
right one to get cross-references to work, which sucks.

doc/runtime.tex
doc/sod.sty
doc/structures.tex

index 59b4d72..83acd31 100644 (file)
@@ -43,7 +43,7 @@ calling functions which make use of keyword arguments; see
 The header file defines two simple structure types, and a function type which
 will be described later.
 
-\begin{describe}{type}[struct kwval]
+\begin{describe}{ty}[struct kwval]
     {struct kwval \{                                            \\ \ind
        const char *kw;                                          \\
        const void *val;                                       \-\\
@@ -56,7 +56,7 @@ will be described later.
   the actual argument type.)
 \end{describe}
 
-\begin{describe}{type}[struct kwtab]
+\begin{describe}{ty}[struct kwtab]
     {struct kwtab \{                                            \\ \ind
        const struct kwval *v;                                   \\
        size_t n;                                              \-\\
@@ -528,7 +528,7 @@ call @|kw_unknown|.
   message to the standard error stream and calls \man{abort}{3}.
 \end{describe}
 
-\begin{describe}{type}[kw_unkhookfn]
+\begin{describe}{ty}[kw_unkhookfn]
     {typedef void kw_unkhookfn(const char *@<set>, const char *@<kw>);}
 
   The @|kw_unkhookfn| type is the type of unknown-keyword handler functions.
index a63cb73..f5a43e4 100644 (file)
 \definedescribecategory{cls}{class}
 \definedescribecategory{rst}{restart}
 \definedescribecategory{ty}{type}
-\definedescribecategory{type}{type}
 \definedescribecategory{mac}{#1{macro}}
 \definedescribecategory{feat}{feature macro}
 \definedescribecategory{lmac}{local #1{macro}}
index d24fbeb..242d199 100644 (file)
@@ -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;                          \\