summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorPhilip Jenvey <pjenvey@underboss.org>2010-04-14 03:01:39 (GMT)
committerPhilip Jenvey <pjenvey@underboss.org>2010-04-14 03:01:39 (GMT)
commite53de3dc4a9021b5edabd44fd495df7770b6249c (patch)
tree6ce047d569cd2973b4fa2292e4f1620f0e2befe5 /Include/Python.h
parent9b82f990cb57035daa6de4c0df9911ba8461a963 (diff)
downloadcpython-e53de3dc4a9021b5edabd44fd495df7770b6249c.zip
cpython-e53de3dc4a9021b5edabd44fd495df7770b6249c.tar.gz
cpython-e53de3dc4a9021b5edabd44fd495df7770b6249c.tar.bz2
#7301: decode $PYTHONWARNINGS in the same way as argv, test non-ascii values
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index d900978..315d6ec 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -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__