diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2012-10-07 17:08:47 (GMT) |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2012-10-07 17:08:47 (GMT) |
commit | 8fb9f4cf7b4b39ee8f4992d338181377c60d5ddc (patch) | |
tree | a286265356a31bac0770c70a80753bcbcd4807a7 /Modules/_multiprocessing/multiprocessing.h | |
parent | 81901490a021048dc452c92839016732dc3c2e23 (diff) | |
download | cpython-8fb9f4cf7b4b39ee8f4992d338181377c60d5ddc.zip cpython-8fb9f4cf7b4b39ee8f4992d338181377c60d5ddc.tar.gz cpython-8fb9f4cf7b4b39ee8f4992d338181377c60d5ddc.tar.bz2 |
Get rid of circular import and eliminate unprefixed exported symbols
from _multiprocessing.
Diffstat (limited to 'Modules/_multiprocessing/multiprocessing.h')
-rw-r--r-- | Modules/_multiprocessing/multiprocessing.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.h b/Modules/_multiprocessing/multiprocessing.h index e3de9ba..0759a80 100644 --- a/Modules/_multiprocessing/multiprocessing.h +++ b/Modules/_multiprocessing/multiprocessing.h @@ -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 |