diff Include/pyerrors.h @ 45793:f11c00246fb5 legacy-trunk

Add necessary headers to back-port new buffer protocol to Python 2.6
author Travis E. Oliphant <oliphant@enthought.com>
date Mon, 17 Mar 2008 17:36:12 +0000
parents b89b0334372b
children 5341b30b1812
line wrap: on
line diff
--- a/Include/pyerrors.h	Mon Mar 17 17:32:20 2008 +0000
+++ b/Include/pyerrors.h	Mon Mar 17 17:36:12 2008 +0000
@@ -160,6 +160,8 @@
 PyAPI_DATA(PyObject *) PyExc_VMSError;
 #endif
 
+PyAPI_DATA(PyObject *) PyExc_BufferError;
+
 PyAPI_DATA(PyObject *) PyExc_MemoryErrorInst;
 PyAPI_DATA(PyObject *) PyExc_RecursionErrorInst;