]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
exec_dode_object/PyImport_ExecCodeObject is now externally visible
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 15 Feb 1995 22:55:45 +0000 (22:55 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 15 Feb 1995 22:55:45 +0000 (22:55 +0000)
Include/import.h
Include/rename2.h

index 3a973a57625b620cbe02c1c552559f95f6c09506..46ce6bbf8c68c0318eb6e515f3905144b9351953 100644 (file)
@@ -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));
index 4d9e2ab1e4553d72ed7c0409e6378b8746501c74..aeeb1b98deef9309af2883d3785b8841ea8fd579 100644 (file)
@@ -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