diff Include/bytesobject.h @ 42665:85c22b4d4455

Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118.
author Travis E. Oliphant <oliphant@enthought.com>
date Sat, 18 Aug 2007 11:21:56 +0000
parents c8b850b5a066
children 2c51be9904de
line wrap: on
line diff
--- a/Include/bytesobject.h	Sat Aug 18 00:10:33 2007 +0000
+++ b/Include/bytesobject.h	Sat Aug 18 11:21:56 2007 +0000
@@ -21,6 +21,7 @@
 /* Object layout */
 typedef struct {
     PyObject_VAR_HEAD
+    int ob_exports; /* how many buffer exports */
     Py_ssize_t ob_alloc; /* How many bytes allocated */
     char *ob_bytes;
 } PyBytesObject;