diff Include/Python.h @ 60688:fe6b6c189bb4

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.
author Ronald Oussoren <ronaldoussoren@mac.com>
date Sun, 18 Apr 2010 14:46:12 +0000
parents c532afb0fa89
children 4fd3ab5fa71d
line wrap: on
line diff
--- a/Include/Python.h	Sun Apr 18 13:36:35 2010 +0000
+++ b/Include/Python.h	Sun Apr 18 14:46:12 2010 +0000
@@ -126,7 +126,7 @@
 /* _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
 }