diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/import.h | 3 | ||||
-rw-r--r-- | Include/rename2.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Include/import.h b/Include/import.h index 3a973a5..46ce6bb 100644 --- a/Include/import.h +++ b/Include/import.h @@ -30,7 +30,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Module definition and import interface */ -long get_pyc_magic PROTO((void)); +long PyImport_GetMagicNumber Py_PROTO((void)); +PyObject *PyImport_ExecCodeModule Py_PROTO((char *name, PyObject *co)); PyObject *PyImport_GetModuleDict Py_PROTO((void)); PyObject *PyImport_AddModule Py_PROTO((char *name)); PyObject *PyImport_ImportModule Py_PROTO((char *name)); diff --git a/Include/rename2.h b/Include/rename2.h index 4d9e2ab..aeeb1b9 100644 --- a/Include/rename2.h +++ b/Include/rename2.h @@ -341,6 +341,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define doneimport PyImport_Cleanup #define get_modules PyImport_GetModuleDict #define get_pyc_magic PyImport_GetMagicNumber +#define exec_code_module PyImport_ExecCodeModule #define import_module PyImport_ImportModule #define init_frozen PyImport_ImportFrozenModule #define initimport PyImport_Init |