/Include/bytesobject.h

http://unladen-swallow.googlecode.com/ · C++ Header · 33 lines · 31 code · 2 blank · 0 comment · 0 complexity · a8b092e5d5101d4e9c9e60f7f228c2fe MD5 · raw file

  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_Decode PyString_Decode
  25. #define PyBytes_Encode PyString_Encode
  26. #define PyBytes_AsEncodedObject PyString_AsEncodedObject
  27. #define PyBytes_AsEncodedString PyString_AsEncodedString
  28. #define PyBytes_AsDecodedObject PyString_AsDecodedObject
  29. #define PyBytes_AsDecodedString PyString_AsDecodedString
  30. #define PyBytes_AsStringAndSize PyString_AsStringAndSize
  31. #define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping