diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-02-15 22:55:45 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-02-15 22:55:45 (GMT) |
commit | 3cfc8bd8415d504c18d44103c4e4ce1e193d5a49 (patch) | |
tree | 33178743d92bbb7aa9902081984f8a61b2c0f7c7 | |
parent | d1883588aec09fcba1ad512cd889e5837087e318 (diff) | |
download | cpython-3cfc8bd8415d504c18d44103c4e4ce1e193d5a49.zip cpython-3cfc8bd8415d504c18d44103c4e4ce1e193d5a49.tar.gz cpython-3cfc8bd8415d504c18d44103c4e4ce1e193d5a49.tar.bz2 |
exec_dode_object/PyImport_ExecCodeObject is now externally visible
-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 |