bytesobject.h 1.2 KB

123456789101112131415161718192021222324252627
  1. #define PyBytesObject PyStringObject
  2. #define PyBytes_Type PyString_Type
  3. #define PyBytes_Check PyString_Check
  4. #define PyBytes_CheckExact PyString_CheckExact
  5. #define PyBytes_CHECK_INTERNED PyString_CHECK_INTERNED
  6. #define PyBytes_AS_STRING PyString_AS_STRING
  7. #define PyBytes_GET_SIZE PyString_GET_SIZE
  8. #define Py_TPFLAGS_BYTES_SUBCLASS Py_TPFLAGS_STRING_SUBCLASS
  9. #define PyBytes_FromStringAndSize PyString_FromStringAndSize
  10. #define PyBytes_FromString PyString_FromString
  11. #define PyBytes_FromFormatV PyString_FromFormatV
  12. #define PyBytes_FromFormat PyString_FromFormat
  13. #define PyBytes_Size PyString_Size
  14. #define PyBytes_AsString PyString_AsString
  15. #define PyBytes_Repr PyString_Repr
  16. #define PyBytes_Concat PyString_Concat
  17. #define PyBytes_ConcatAndDel PyString_ConcatAndDel
  18. #define _PyBytes_Resize _PyString_Resize
  19. #define _PyBytes_Eq _PyString_Eq
  20. #define PyBytes_Format PyString_Format
  21. #define _PyBytes_FormatLong _PyString_FormatLong
  22. #define PyBytes_DecodeEscape PyString_DecodeEscape
  23. #define _PyBytes_Join _PyString_Join
  24. #define PyBytes_AsStringAndSize PyString_AsStringAndSize
  25. #define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping