Add declaration for _Py_PackageContext -- needed to fix importing

of shared libraries from inside packages.
This commit is contained in:
Guido van Rossum 1997-11-19 18:51:35 +00:00
parent 858cb73bb2
commit ee6fd1c392
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ extern PyObject *Py_InitModule4 Py_PROTO((char *, PyMethodDef *,
Py_InitModule4(name, methods, (char *)NULL, (PyObject *)NULL, \ Py_InitModule4(name, methods, (char *)NULL, (PyObject *)NULL, \
PYTHON_API_VERSION) PYTHON_API_VERSION)
extern char *_Py_PackageContext;
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif