Home | History | Annotate | Download | only in python2.7
      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
     28