From 33451d8ab143fb89374673d3aa751910c5b1031e Mon Sep 17 00:00:00 2001 From: "Travis E. Oliphant" Date: Mon, 17 Mar 2008 17:36:12 +0000 Subject: Add necessary headers to back-port new buffer protocol to Python 2.6 --- Include/pyerrors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Include/pyerrors.h') diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 73a0e36288..9c2bc67dc3 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -160,6 +160,8 @@ PyAPI_DATA(PyObject *) PyExc_WindowsError; PyAPI_DATA(PyObject *) PyExc_VMSError; #endif +PyAPI_DATA(PyObject *) PyExc_BufferError; + PyAPI_DATA(PyObject *) PyExc_MemoryErrorInst; PyAPI_DATA(PyObject *) PyExc_RecursionErrorInst; -- cgit v1.2.1