Get rid of circular import and eliminate unprefixed exported symbols

from _multiprocessing.
This commit is contained in:
Richard Oudkerk 2012-10-07 18:08:47 +01:00
parent 81901490a0
commit 8fb9f4cf7b
3 changed files with 15 additions and 26 deletions

View file

@ -91,15 +91,13 @@
#define MP_SOCKET_ERROR (-1002)
#define MP_EXCEPTION_HAS_BEEN_SET (-1003)
PyObject *mp_SetError(PyObject *Type, int num);
PyObject *_PyMp_SetError(PyObject *Type, int num);
/*
* Externs - not all will really exist on all platforms
*/
extern PyObject *BufferTooShort;
extern PyTypeObject SemLockType;
extern PyTypeObject PipeConnectionType;
extern PyTypeObject _PyMp_SemLockType;
/*
* Miscellaneous