]>
Commit | Line | Data |
---|---|---|
b5d6b8bf JR |
1 | --- fontforge-20100501/fontforge/ffpython.h~ 2010-04-05 22:10:26.000000000 +0200 |
2 | +++ fontforge-20100501/fontforge/ffpython.h 2010-07-22 14:27:51.998839706 +0200 | |
3 | @@ -43,7 +43,7 @@ | |
4 | ||
5 | #define STRING_CHECK PyBytes_Check | |
6 | #define STRING_TO_PY PyBytes_FromString | |
7 | -#define DECODE_UTF8(s, size, errors) PyBytes_Decode(s, size, "UTF-8", errors) | |
8 | +#define DECODE_UTF8(s, size, errors) PyString_Decode(s, size, "UTF-8", errors) | |
9 | #define PYBYTES_UTF8(str) PyString_AsEncodedObject(str, "UTF-8", NULL) | |
10 | #define STRING_FROM_FORMAT PyBytes_FromFormat | |
11 |