Debian Codegraph @

Include/cpython/import.h

raw
1 #ifndef Py_CPYTHON_IMPORT_H
2 # error "this header file must not be included directly"
3 #endif
4
5 PyMODINIT_FUNC PyInit__imp(void);
6
7 struct _inittab {
8 const char *name; /* ASCII encoded string */
9 PyObject* (*initfunc)(void);
10 };
11 // This is not used after Py_Initialize() is called.
12 PyAPI_DATA(struct _inittab *) PyImport_Inittab;
13 PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab);
14
15 struct _frozen {
16 const char *name; /* ASCII encoded string */
17 const unsigned char *code;
18 int size;
19 int is_package;
20 };
21
22 /* Embedding apps may change this pointer to point to their favorite
23 collection of frozen modules: */
24
25 PyAPI_DATA(const struct _frozen *) PyImport_FrozenModules;