deimos.python.import_

Mirror import.h

Module definition and import interface

Members

Functions

PyImport_AddModule
PyObject* PyImport_AddModule(const(char)* name)

_

PyImport_AppendInittab
int PyImport_AppendInittab(const(char)* name, void function() initfunc)

Availability: 2.*

PyImport_AppendInittab
int PyImport_AppendInittab(const(char)* name, PyObject* function() initfunc)

Availability: 3.*

PyImport_Cleanup
void PyImport_Cleanup()

_

PyImport_ExecCodeModule
PyObject* PyImport_ExecCodeModule(char* name, PyObject* co)

_

PyImport_ExecCodeModuleEx
PyObject* PyImport_ExecCodeModuleEx(char* name, PyObject* co, char* pathname)

_

PyImport_ExecCodeModuleWithPathnames
PyObject* PyImport_ExecCodeModuleWithPathnames(char* name, PyObject* co, char* pathname, char* cpathname)
PyImport_ExtendInittab
int PyImport_ExtendInittab(_inittab* newtab)

_

PyImport_GetImporter
PyObject* PyImport_GetImporter(PyObject* path)

Availability: >= 2.6

PyImport_GetMagicNumber
C_long PyImport_GetMagicNumber()

_

PyImport_GetMagicTag
const(char)* PyImport_GetMagicTag()

Availability: 3.*

PyImport_GetModule
PyObject* PyImport_GetModule(PyObject* name)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyImport_GetModuleDict
PyObject* PyImport_GetModuleDict()

_

PyImport_Import
PyObject* PyImport_Import(PyObject* name)

_

PyImport_ImportFrozenModule
int PyImport_ImportFrozenModule(char* )

_

PyImport_ImportModule
PyObject* PyImport_ImportModule(const(char)* name)

_

PyImport_ImportModuleEx
PyObject* PyImport_ImportModuleEx(char* n, PyObject* g, PyObject* l, PyObject* f)

_

PyImport_ImportModuleEx
PyObject* PyImport_ImportModuleEx(char* , PyObject* , PyObject* , PyObject* )

_

PyImport_ImportModuleLevel
PyObject* PyImport_ImportModuleLevel(char* name, PyObject* globals, PyObject* locals, PyObject* fromlist, int level)

Availability: >= 2.5

PyImport_ImportModuleNoBlock
PyObject* PyImport_ImportModuleNoBlock(const(char)* name)

Availability: >= 2.6

PyImport_ReloadModule
PyObject* PyImport_ReloadModule(PyObject* m)

_

_PyImport_FindBuiltin
PyObject* _PyImport_FindBuiltin(char* name, PyObject* modules)
_PyImport_FindBuiltin
PyObject* _PyImport_FindBuiltin(char* name)

Availability: 3.*

_PyImport_FindExtension
PyObject* _PyImport_FindExtension(char* , char* )

_

_PyImport_FindExtensionUnicode
PyObject* _PyImport_FindExtensionUnicode(char* , PyObject* )

Availability: 3.*

_PyImport_FindModule
filedescr* _PyImport_FindModule(const(char)* , PyObject* , char* , size_t , FILE** , PyObject** )

Availability: 2.*

_PyImport_FixupBuiltin
int _PyImport_FixupBuiltin(PyObject* mod, char* name, PyObject* modules)
_PyImport_FixupBuiltin
int _PyImport_FixupBuiltin(PyObject* mod, char* name)

Availability: 3.*

_PyImport_FixupExtension
PyObject* _PyImport_FixupExtension(char* , char* )

_

_PyImport_FixupExtensionUnicode
int _PyImport_FixupExtensionUnicode(PyObject* , char* , PyObject* )

Availability: 3.*

_PyImport_IsScript
int _PyImport_IsScript(filedescr* )

Availability: 2.*

_PyImport_ReInitLock
void _PyImport_ReInitLock()

_

Structs

_frozen
struct _frozen

_

_inittab
struct _inittab

_

filedescr
struct filedescr
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta