blob: e1cc17f0545a329c04bd5228b96794371105cb76 [file] [log] [blame]
Christian Heimes3497f942008-05-26 12:29:14 +00001#define PyBytesObject PyStringObject
2#define PyBytes_Type PyString_Type
Guido van Rossumf70e43a1991-02-19 12:39:46 +00003
Christian Heimes593daf52008-05-26 12:51:38 +00004#define PyString_Check PyBytes_Check
5#define PyString_CheckExact PyBytes_CheckExact
6#define PyString_CHECK_INTERNED PyBytes_CHECK_INTERNED
7#define PyString_AS_STRING PyBytes_AS_STRING
8#define PyString_GET_SIZE PyBytes_GET_SIZE
9
10#define Py_TPFLAGS_STRING_SUBCLASS Py_TPFLAGS_BYTES_SUBCLASS
Guido van Rossum85a5fbb1990-10-14 12:07:46 +000011
Christian Heimes3497f942008-05-26 12:29:14 +000012#define PyBytes_FromStringAndSize PyString_FromStringAndSize
13#define PyBytes_FromString PyString_FromString
14#define PyBytes_FromFormatV PyString_FromFormatV
15#define PyBytes_FromFormat PyString_FromFormat
16#define PyBytes_Size PyString_Size
17#define PyBytes_AsString PyString_AsString
18#define PyBytes_Repr PyString_Repr
19#define PyBytes_Concat PyString_Concat
20#define PyBytes_ConcatAndDel PyString_ConcatAndDel
21#define _PyBytes_Resize _PyString_Resize
22#define _PyBytes_Eq _PyString_Eq
23#define PyBytes_Format PyString_Format
24#define _PyBytes_FormatLong _PyString_FormatLong
25#define PyBytes_DecodeEscape PyString_DecodeEscape
26#define PyBytes_InternInPlace PyString_InternInPlace
27#define PyBytes_InternImmortal PyString_InternImmortal
28#define PyBytes_InternFromString PyString_InternFromString
29#define _PyBytes_Join _PyString_Join
30#define PyBytes_Decode PyString_Decode
31#define PyBytes_Encode PyString_Encode
32#define PyBytes_AsEncodedObject PyString_AsEncodedObject
33#define PyBytes_AsEncodedString PyString_AsEncodedString
34#define PyBytes_AsDecodedObject PyString_AsDecodedObject
35#define PyBytes_AsDecodedString PyString_AsDecodedString
36#define PyBytes_AsStringAndSize PyString_AsStringAndSize
37#define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping