summaryrefslogtreecommitdiff
path: root/Include/import.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-02-11 05:47:24 +0000
committerGuido van Rossum <guido@python.org>1998-02-11 05:47:24 +0000
commit2c43e4d83faee36cebe98bc7ae4b7b6376884d0e (patch)
treed5cf28a3092daf9339ec8c27b97f971a8a81e168 /Include/import.h
parent7ac69ca1a68c186833952031bd932ac59f04197a (diff)
downloadcpython-2c43e4d83faee36cebe98bc7ae4b7b6376884d0e.tar.gz
Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to pass
it the true file.
Diffstat (limited to 'Include/import.h')
-rw-r--r--Include/import.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/import.h b/Include/import.h
index 35bedeefd4..6388ae6ca5 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -39,6 +39,8 @@ PERFORMANCE OF THIS SOFTWARE.
long PyImport_GetMagicNumber Py_PROTO((void));
PyObject *PyImport_ExecCodeModule Py_PROTO((char *name, PyObject *co));
+PyObject *PyImport_ExecCodeModuleEx Py_PROTO((
+ char *name, PyObject *co, char *pathname));
PyObject *PyImport_GetModuleDict Py_PROTO((void));
PyObject *PyImport_AddModule Py_PROTO((char *name));
PyObject *PyImport_ImportModule Py_PROTO((char *name));