diff options
author | Guido van Rossum <guido@python.org> | 1998-05-14 02:32:54 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-05-14 02:32:54 +0000 |
commit | 09cae1f8cd57b24b711c3024056562e5124c3b65 (patch) | |
tree | f6a286e1e7c72547d4a4a7c26b16cd8c72310c41 /Python/getcompiler.c | |
parent | ba7cc0cfbacc099d9c6ccc35dda3c0f525e258f5 (diff) | |
download | cpython-git-09cae1f8cd57b24b711c3024056562e5124c3b65.tar.gz |
New APIs for embedding applications that want to add their own entries
to the table of built-in modules. This should normally be called
*before* Py_Initialize(). When the malloc() or realloc() call fails,
-1 is returned and the existing table is unchanged.
After a similar function by Just van Rossum.
int PyImport_ExtendInittab(struct _inittab *newtab);
int PyImport_AppendInittab(char *name, void (*initfunc)());
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions