mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-45459: Rename buffer.h to pybuffer.h (#31201)
Rename Include/buffer.h header file to Include/pybuffer.h to avoid conflicts with projects having an existing "buffer.h" header file. * Incude pybuffer.h before object.h in Python.h. * Remove #include "buffer.h" from Include/cpython/object.h. * Add a forward declaration of the PyObject type in pybuffer.h to fix an inter-dependency issue.
This commit is contained in:
parent
b899126094
commit
66b3cd7063
7 changed files with 13 additions and 4 deletions
|
|
@ -263,6 +263,7 @@
|
|||
<ClInclude Include="..\Include\osmodule.h" />
|
||||
<ClInclude Include="..\Include\patchlevel.h" />
|
||||
<ClInclude Include="..\Include\py_curses.h" />
|
||||
<ClInclude Include="..\Include\pybuffer.h" />
|
||||
<ClInclude Include="..\Include\pycapsule.h" />
|
||||
<ClInclude Include="..\Include\pyerrors.h" />
|
||||
<ClInclude Include="..\Include\pyexpat.h" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue