Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 327113
Collapse All | Expand All

(-)a/fontforge/ffpython.h (-1 / +1 lines)
Lines 43-49 Link Here
43
43
44
#define STRING_CHECK   PyBytes_Check
44
#define STRING_CHECK   PyBytes_Check
45
#define STRING_TO_PY   PyBytes_FromString
45
#define STRING_TO_PY   PyBytes_FromString
46
#define DECODE_UTF8(s, size, errors) PyBytes_Decode(s, size, "UTF-8", errors)
46
#define DECODE_UTF8(s, size, errors) PyString_Decode(s, size, "UTF-8", errors)
47
#define PYBYTES_UTF8(str)            PyString_AsEncodedObject(str, "UTF-8", NULL)
47
#define PYBYTES_UTF8(str)            PyString_AsEncodedObject(str, "UTF-8", NULL)
48
#define STRING_FROM_FORMAT           PyBytes_FromFormat
48
#define STRING_FROM_FORMAT           PyBytes_FromFormat

Return to bug 327113