doc/syntax.tex: Replace `listing' environments with `prog'.
[sod] / doc / structures.tex
index 42739ef..3826bdc 100644 (file)
@@ -204,6 +204,7 @@ recommended.
        const char *name; \\
        const char *nick; \\
        size_t initsz; \\
+       size_t align; \\
        void *(*imprint)(void *@<p>); \\
        size_t n_supers; \\
        const SodClass *const *supers; \\
@@ -231,6 +232,8 @@ recommended.
 
   \item[initsz] The size in bytes required to store an instance of the class.
 
+  \item[align] A sufficient alignment for the class's instance storage.
+
   \item[imprint] A pointer to a function: given a pointer @<p> to at least
     @<initsz> bytes of appropriately aligned memory, `imprint' this memory it
     so that it becomes a minimally functional instance of the class: all of