diff options
author | Thomas Heller <theller@ctypes.org> | 2007-09-24 14:43:56 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-09-24 14:43:56 (GMT) |
commit | 39763a167447fbb9d8000310eaa390c9a881d94f (patch) | |
tree | b5f1003c7e18b3a911c41cbafb213538a627b29c /PC/_winreg.c | |
parent | 4d8c19339fbd7e9e18c4a929e7a10be2d2abd72f (diff) | |
download | cpython-39763a167447fbb9d8000310eaa390c9a881d94f.zip cpython-39763a167447fbb9d8000310eaa390c9a881d94f.tar.gz cpython-39763a167447fbb9d8000310eaa390c9a881d94f.tar.bz2 |
Make Modules/_bsddb.c and PC/_winreg.c compile again by renaming
PyBuffer into Py_buffer.
Diffstat (limited to 'PC/_winreg.c')
-rw-r--r-- | PC/_winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_winreg.c b/PC/_winreg.c index 5e5f2e5..4deb5a9 100644 --- a/PC/_winreg.c +++ b/PC/_winreg.c @@ -773,7 +773,7 @@ Py2Reg(PyObject *value, DWORD typ, BYTE **retDataBuf, DWORD *retDataSize) if (value == Py_None) *retDataSize = 0; else { - PyBuffer view; + Py_buffer view; if (!PyObject_CheckBuffer(value)) { PyErr_Format(PyExc_TypeError, |