Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fccb68e

Browse files
committed
Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to pass
it the true file.
1 parent 4254363 commit fccb68e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Include/import.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ PERFORMANCE OF THIS SOFTWARE.
3939

4040
long PyImport_GetMagicNumber Py_PROTO((void));
4141
PyObject *PyImport_ExecCodeModule Py_PROTO((char *name, PyObject *co));
42+
PyObject *PyImport_ExecCodeModuleEx Py_PROTO((
43+
char *name, PyObject *co, char *pathname));
4244
PyObject *PyImport_GetModuleDict Py_PROTO((void));
4345
PyObject *PyImport_AddModule Py_PROTO((char *name));
4446
PyObject *PyImport_ImportModule Py_PROTO((char *name));

0 commit comments

Comments
 (0)