]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document the cmemberdesc environment.
authorFred Drake <fdrake@acm.org>
Mon, 15 Apr 2002 20:10:23 +0000 (20:10 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 15 Apr 2002 20:10:23 +0000 (20:10 +0000)
Doc/doc/doc.tex

index a635eb18afc4e212cab97ca5fc27e411d4cc731c..5bea685370b4c994462b634e2b9238d82d58724b 100644 (file)
@@ -549,6 +549,17 @@ This \UNIX\ is also followed by a space.
       be used in the description.
     \end{envdesc}
 
+    \begin{envdesc}{cmemberdesc}{\p{container}\p{type}\p{name}}
+      Description for a structure member.  \var{container} should be
+      the \keyword{typedef} name, if there is one, otherwise if should
+      be \samp{struct \var{tag}}.  The type of the member should given
+      as \var{type}, and the name should be given as \var{name}.  The
+      text of the description should include the range of values
+      allowed, how the value should be interpreted, and whether the
+      value can be changed.  References to structure members in text
+      should use the \macro{member} macro.
+    \end{envdesc}
+
     \begin{envdesc}{csimplemacrodesc}{\p{name}}
       Documentation for a ``simple'' macro.  Simple macros are macros
       which are used for code expansion, but which do not take