aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-04-18 14:46:12 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2010-04-18 14:46:12 +0000
commitd61deca27cdef2d1e49aeb72d8556855420a77e1 (patch)
treefa554317563eb6c130e7b6655453a787ead740cf /Include/Python.h
parentMerged revisions 80172 via svnmerge from (diff)
downloadcpython-d61deca27cdef2d1e49aeb72d8556855420a77e1.tar.gz
cpython-d61deca27cdef2d1e49aeb72d8556855420a77e1.tar.bz2
cpython-d61deca27cdef2d1e49aeb72d8556855420a77e1.zip
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/Python.h')
-rw-r--r--Include/Python.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 9b26d167803..8b038aca299 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
}