commit | ee6fd1c392af19c7390bd1f8e25215fbd968a2c1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Nov 19 18:51:35 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Nov 19 18:51:35 1997 +0000 |
tree | 43989a0527e58475b8379db0c377693902e12761 | |
parent | 858cb73bb2643b73f4262857c865db285280e900 [diff] |
Add declaration for _Py_PackageContext -- needed to fix importing of shared libraries from inside packages.
diff --git a/Include/modsupport.h b/Include/modsupport.h index 6545329..5c00241 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h
@@ -111,6 +111,8 @@ Py_InitModule4(name, methods, (char *)NULL, (PyObject *)NULL, \ PYTHON_API_VERSION) +extern char *_Py_PackageContext; + #ifdef __cplusplus } #endif