summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-04-18 14:46:12 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-04-18 14:46:12 (GMT)
commitd61deca27cdef2d1e49aeb72d8556855420a77e1 (patch)
treefa554317563eb6c130e7b6655453a787ead740cf /Include
parentceb513ab131aee1059f8bdc9cf9260bb306ef0e9 (diff)
downloadcpython-d61deca27cdef2d1e49aeb72d8556855420a77e1.zip
cpython-d61deca27cdef2d1e49aeb72d8556855420a77e1.tar.gz
cpython-d61deca27cdef2d1e49aeb72d8556855420a77e1.tar.bz2
Move _Py_char2wchar from python.c to main.c.
This fixes issue #8441: python.c is not included in the framework while main.c is and without this patch you get a link error when building Python.framework on OSX.
Diffstat (limited to 'Include')
-rw-r--r--Include/Python.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 9b26d16..8b038ac 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -126,7 +126,7 @@ extern "C" {
/* _Py_Mangle is defined in compile.c */
PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
-/* _Py_char2wchar lives in python.c */
+/* _Py_char2wchar lives in main.c */
PyAPI_FUNC(wchar_t *) _Py_char2wchar(char *);
#ifdef __cplusplus
}