summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-19 18:51:35 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-19 18:51:35 (GMT)
commitee6fd1c392af19c7390bd1f8e25215fbd968a2c1 (patch)
tree43989a0527e58475b8379db0c377693902e12761
parent858cb73bb2643b73f4262857c865db285280e900 (diff)
downloadcpython-ee6fd1c392af19c7390bd1f8e25215fbd968a2c1.zip
cpython-ee6fd1c392af19c7390bd1f8e25215fbd968a2c1.tar.gz
cpython-ee6fd1c392af19c7390bd1f8e25215fbd968a2c1.tar.bz2
Add declaration for _Py_PackageContext -- needed to fix importing
of shared libraries from inside packages.
-rw-r--r--Include/modsupport.h2
1 files changed, 2 insertions, 0 deletions
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 @@ 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