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