diff options
author | Guido van Rossum <guido@python.org> | 1998-02-11 05:47:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-02-11 05:47:24 (GMT) |
commit | fccb68ef2a73246e141a59436fad5cfc1369604a (patch) | |
tree | 28dd2446ed31884048b1d4665dc0e00b8d0fc70f | |
parent | 4254363f2539f163a6737f72fd6d82d7c1a957df (diff) | |
download | cpython-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.h | 2 |
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)); |