mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +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
|
||||
|
||||
/* Map PyBytes -> PyString */
|
||||
#define PyBytesObject PyStringObject
|
||||
#define PyBytes_AsString PyString_AsString
|
||||
#define PyBytes_AS_STRING PyString_AS_STRING
|
||||
#define PyBytes_Check PyString_Check
|
||||
#define PyBytes_AsStringAndSize PyString_AsStringAndSize
|
||||
#define PyBytes_FromStringAndSize PyString_FromStringAndSize
|
||||
#define PyBytes_FromString PyString_FromString
|
||||
#define _PyBytes_Resize _PyString_Resize
|
||||
|
||||
#endif /* PY_VERSION_HEX < 0x03000000 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user