From: Guido van Rossum Date: Wed, 19 Nov 1997 18:51:35 +0000 (+0000) Subject: Add declaration for _Py_PackageContext -- needed to fix importing X-Git-Tag: v1.5b1~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee6fd1c392af19c7390bd1f8e25215fbd968a2c1;p=python 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 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