]> granicus.if.org Git - python/commitdiff
Add text on tp_as_buffer that refers tothe section that covers the topic.
authorFred Drake <fdrake@acm.org>
Wed, 17 Apr 2002 13:44:58 +0000 (13:44 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 17 Apr 2002 13:44:58 +0000 (13:44 +0000)
Additional material is still needed in that section.

Doc/api/newtypes.tex

index 42f14fdddf0417b276e1903a75323d812c6141b4..f982decb71adc33c724c034e951884e3bc8cd678 100644 (file)
@@ -678,9 +678,15 @@ PyMappingMethods *tp_as_mapping;
   \member{tp_setattr} and \member{tp_setattro} are both \NULL.
 \end{cmemberdesc}
 
-PyBufferProcs *tp_as_buffer;
-
-    XXX
+\begin{cmemberdesc}{PyTypeObject}{PyBufferProcs*}{tp_as_buffer}
+  Pointer to an additional structure contains fields relevant only to
+  objects which implement the buffer interface.  These fields are
+  documented in ``Buffer Object Structures'' (section
+  \ref{buffer-structs}).
+
+  The \member{tp_as_buffer} field is not inherited, but the contained
+  fields are inherited individually.
+\end{cmemberdesc}
 
 \begin{cmemberdesc}{PyTypeObject}{long}{tp_flags}
   This field is a bit mask of various flags.  Some flags indicate