diff options
| author | Guido van Rossum <guido@python.org> | 1997-11-19 18:51:35 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-11-19 18:51:35 +0000 |
| commit | f2756481e06617471a292ec7dc3b3c6104c8abf3 (patch) | |
| tree | a6c3983c43d0345a472e39955d113db6916a0e20 | |
| parent | cfd1f44faae57f64d126a07d10dee4b5a3e47cf2 (diff) | |
| download | cpython-f2756481e06617471a292ec7dc3b3c6104c8abf3.tar.gz | |
Add declaration for _Py_PackageContext -- needed to fix importing
of shared libraries from inside packages.
| -rw-r--r-- | Include/modsupport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h index 654532941d..5c00241ec7 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -111,6 +111,8 @@ extern PyObject *Py_InitModule4 Py_PROTO((char *, PyMethodDef *, Py_InitModule4(name, methods, (char *)NULL, (PyObject *)NULL, \ PYTHON_API_VERSION) +extern char *_Py_PackageContext; + #ifdef __cplusplus } #endif |
