Mercurial > cpython-lru_cache-weakref
diff Include/Python.h @ 60593:62d11785204f
#7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii values
| author | Philip Jenvey <pjenvey@underboss.org> |
|---|---|
| date | Wed, 14 Apr 2010 03:01:39 +0000 |
| parents | 0f9e8d3ecac3 |
| children | c532afb0fa89 |
line wrap: on
line diff
--- a/Include/Python.h Tue Apr 13 17:37:01 2010 +0000 +++ b/Include/Python.h Wed Apr 14 03:01:39 2010 +0000 @@ -123,6 +123,9 @@ /* _Py_Mangle is defined in compile.c */ PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name); +/* _Py_char2wchar lives in python.c */ +PyAPI_FUNC(wchar_t *) _Py_char2wchar(char *); + /* Convert a possibly signed character to a nonnegative int */ /* XXX This assumes characters are 8 bits wide */ #ifdef __CHAR_UNSIGNED__
