mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Bug #794140: cygwin builds do not embed
The embed2.diff patch solves the user's problem by exporting the missing symbols from the Python core so Python can be embedded in another Cygwin application (well, at lest vim).
This commit is contained in:
parent
3076559ea5
commit
6bc06eca70
4 changed files with 9 additions and 4 deletions
|
@ -2841,7 +2841,7 @@ setint(PyObject *d, char *name, int value)
|
|||
return err;
|
||||
}
|
||||
|
||||
void
|
||||
PyMODINIT_FUNC
|
||||
initimp(void)
|
||||
{
|
||||
PyObject *m, *d;
|
||||
|
|
|
@ -875,7 +875,7 @@ static PyMethodDef marshal_methods[] = {
|
|||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
void
|
||||
PyMODINIT_FUNC
|
||||
PyMarshal_Init(void)
|
||||
{
|
||||
(void) Py_InitModule("marshal", marshal_methods);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue