FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Include/cpython/import.h at master · python-emscripten/cpython · GitHub
python-emscripten
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Include
/
cpython
/
import.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
42 lines (32 loc) · 1.37 KB
Breadcrumbs
cpython
/
Include
/
cpython
/
import.h
Copy path
File metadata and controls
42 lines (32 loc) · 1.37 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef
Py_CPYTHON_IMPORT_H
# error
"this header file must not be included directly"
#endif
PyMODINIT_FUNC
PyInit__imp
(
void
);
PyAPI_FUNC
(
int
)
_PyImport_IsInitialized
(
PyInterpreterState
*
);
PyAPI_FUNC
(
PyObject
*
)
_PyImport_GetModuleId
(
struct
_Py_Identifier
*
name
);
PyAPI_FUNC
(
int
)
_PyImport_SetModule
(
PyObject
*
name
,
PyObject
*
module
);
PyAPI_FUNC
(
int
)
_PyImport_SetModuleString
(
const
char
*
name
,
PyObject
*
module
);
PyAPI_FUNC
(
void
)
_PyImport_AcquireLock
(
void
);
PyAPI_FUNC
(
int
)
_PyImport_ReleaseLock
(
void
);
PyAPI_FUNC
(
PyObject
*
)
_PyImport_FindExtensionObject
(
PyObject
*
,
PyObject
*
);
PyAPI_FUNC
(
int
)
_PyImport_FixupBuiltin
(
PyObject
*
mod
,
const
char
*
name
,
/* UTF-8 encoded string */
PyObject
*
modules
);
PyAPI_FUNC
(
int
)
_PyImport_FixupExtensionObject
(
PyObject
*
,
PyObject
*
,
PyObject
*
,
PyObject
*
);
struct
_inittab
{
const
char
*
name
;
/* ASCII encoded string */
PyObject
*
(
*
initfunc
)(
void
);
};
PyAPI_DATA
(
struct
_inittab
*
)
PyImport_Inittab
;
PyAPI_FUNC
(
int
)
PyImport_ExtendInittab
(
struct
_inittab
*
newtab
);
struct
_frozen
{
const
char
*
name
;
/* ASCII encoded string */
const
unsigned
char
*
code
;
int
size
;
};
/* Embedding apps may change this pointer to point to their favorite
collection of frozen modules: */
PyAPI_DATA
(
const
struct
_frozen
*
)
PyImport_FrozenModules
;
Back
|
FazBrowse Home
|
New Git URL