summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-02-11 05:47:24 (GMT)
committerGuido van Rossum <guido@python.org>1998-02-11 05:47:24 (GMT)
commitfccb68ef2a73246e141a59436fad5cfc1369604a (patch)
tree28dd2446ed31884048b1d4665dc0e00b8d0fc70f
parent4254363f2539f163a6737f72fd6d82d7c1a957df (diff)
downloadcpython-fccb68ef2a73246e141a59436fad5cfc1369604a.zip
cpython-fccb68ef2a73246e141a59436fad5cfc1369604a.tar.gz
cpython-fccb68ef2a73246e141a59436fad5cfc1369604a.tar.bz2
Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to pass
it the true file.
-rw-r--r--Include/import.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/import.h b/Include/import.h
index 35bedee..6388ae6 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));