mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
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.
This commit is contained in:
parent
ceb513ab13
commit
d61deca27c
3 changed files with 105 additions and 103 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue