Line
Link Here
|
0 |
-- a/bindings/pyroot_legacy/src/PyROOT.h.old 2023-02-26 09:57:37.572520372 +0100 |
0 |
++ b/bindings/pyroot_legacy/src/PyROOT.h 2023-02-26 09:57:58.270521746 +0100 |
Lines 106-112
Link Here
|
106 |
|
106 |
|
107 |
// Support non-ASCII strings |
107 |
// Support non-ASCII strings |
108 |
#if PY_VERSION_HEX >= 0x03030000 |
108 |
#if PY_VERSION_HEX >= 0x03030000 |
109 |
#define PyROOT_PyUnicode_AsStringAndSize _PyUnicode_AsStringAndSize |
109 |
#define PyROOT_PyUnicode_AsStringAndSize PyUnicode_AsUTFAndSize |
110 |
#endif |
110 |
#endif |
111 |
|
111 |
|
112 |
// for 3.0 support (backwards compatibility, really) |
112 |
// for 3.0 support (backwards compatibility, really) |