From: Jack Jansen Date: Wed, 15 Feb 1995 22:55:45 +0000 (+0000) Subject: exec_dode_object/PyImport_ExecCodeObject is now externally visible X-Git-Tag: v1.2b4~247 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3cfc8bd8415d504c18d44103c4e4ce1e193d5a49;p=thirdparty%2FPython%2Fcpython.git exec_dode_object/PyImport_ExecCodeObject is now externally visible --- diff --git a/Include/import.h b/Include/import.h index 3a973a57625b..46ce6bbf8c68 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 4d9e2ab1e455..aeeb1b98deef 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