March 2003
Intermediate to advanced
656 pages
39h 30m
English
PyImport_AppendInittab
int PyImport_AppendInittab(char*name,void (*initfunc)(void))
name is the module name, which Python
scripts use in import statements to access the
module. initfunc is the module
initialization function, taking no argument and returning no result,
as covered earlier in this chapter (i.e.,
initfunc is the module’s
function that would be named
init
name for a normal
extension module residing in a dynamic library).
PyImport_AppendInittab must be called before
calling Py_Initialize.
Read now
Unlock full access