mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-29 09:23:11 +03:00
Update py3.h
This commit is contained in:
parent
a6f7b8acb1
commit
d71cda4f09
3
py3.h
3
py3.h
|
@ -43,12 +43,13 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Map PyBytes -> PyString */
|
/* Map PyBytes -> PyString */
|
||||||
|
#define PyBytesObject PyStringObject
|
||||||
#define PyBytes_AsString PyString_AsString
|
#define PyBytes_AsString PyString_AsString
|
||||||
#define PyBytes_AS_STRING PyString_AS_STRING
|
#define PyBytes_AS_STRING PyString_AS_STRING
|
||||||
#define PyBytes_Check PyString_Check
|
#define PyBytes_Check PyString_Check
|
||||||
|
#define PyBytes_AsStringAndSize PyString_AsStringAndSize
|
||||||
#define PyBytes_FromStringAndSize PyString_FromStringAndSize
|
#define PyBytes_FromStringAndSize PyString_FromStringAndSize
|
||||||
#define PyBytes_FromString PyString_FromString
|
#define PyBytes_FromString PyString_FromString
|
||||||
#define _PyBytes_Resize _PyString_Resize
|
#define _PyBytes_Resize _PyString_Resize
|
||||||
|
|
||||||
#endif /* PY_VERSION_HEX < 0x03000000 */
|
#endif /* PY_VERSION_HEX < 0x03000000 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user