This repository was archived by the owner on Aug 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
pypy/module/cpyext/include Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ typedef long Py_ssize_t;
117117#include "pycobject.h"
118118#include "pycapsule.h"
119119#include "bufferobject.h"
120+ #include "bytesobject.h"
120121#include "sliceobject.h"
121122#include "datetime.h"
122123#include "pystate.h"
Original file line number Diff line number Diff line change 1+ #define PyBytesObject PyStringObject
2+ #define PyBytes_Type PyString_Type
3+
4+ #define PyBytes_Check PyString_Check
5+ #define PyBytes_CheckExact PyString_CheckExact
6+ #define PyBytes_CHECK_INTERNED PyString_CHECK_INTERNED
7+ #define PyBytes_AS_STRING PyString_AS_STRING
8+ #define PyBytes_GET_SIZE PyString_GET_SIZE
9+ #define Py_TPFLAGS_BYTES_SUBCLASS Py_TPFLAGS_STRING_SUBCLASS
10+
11+ #define PyBytes_FromStringAndSize PyString_FromStringAndSize
12+ #define PyBytes_FromString PyString_FromString
13+ #define PyBytes_FromFormatV PyString_FromFormatV
14+ #define PyBytes_FromFormat PyString_FromFormat
15+ #define PyBytes_Size PyString_Size
16+ #define PyBytes_AsString PyString_AsString
17+ #define PyBytes_Repr PyString_Repr
18+ #define PyBytes_Concat PyString_Concat
19+ #define PyBytes_ConcatAndDel PyString_ConcatAndDel
20+ #define _PyBytes_Resize _PyString_Resize
21+ #define _PyBytes_Eq _PyString_Eq
22+ #define PyBytes_Format PyString_Format
23+ #define _PyBytes_FormatLong _PyString_FormatLong
24+ #define PyBytes_DecodeEscape PyString_DecodeEscape
25+ #define _PyBytes_Join _PyString_Join
26+ #define PyBytes_AsStringAndSize PyString_AsStringAndSize
27+ #define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping
You can’t perform that action at this time.
0 commit comments