summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-15 22:55:45 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-02-15 22:55:45 (GMT)
commit3cfc8bd8415d504c18d44103c4e4ce1e193d5a49 (patch)
tree33178743d92bbb7aa9902081984f8a61b2c0f7c7 /Include
parentd1883588aec09fcba1ad512cd889e5837087e318 (diff)
downloadcpython-3cfc8bd8415d504c18d44103c4e4ce1e193d5a49.zip
cpython-3cfc8bd8415d504c18d44103c4e4ce1e193d5a49.tar.gz
cpython-3cfc8bd8415d504c18d44103c4e4ce1e193d5a49.tar.bz2
exec_dode_object/PyImport_ExecCodeObject is now externally visible
Diffstat (limited to 'Include')
-rw-r--r--Include/import.h3
-rw-r--r--Include/rename2.h1
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