mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Issue #13959: Move module type constants to Lib/imp.py.
This commit is contained in:
parent
2d3ce9de4f
commit
0429e1a57d
2 changed files with 0 additions and 37 deletions
|
@ -6,21 +6,6 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
|
||||
/* Definitions for dynamic loading of extension modules */
|
||||
enum filetype {
|
||||
SEARCH_ERROR,
|
||||
PY_SOURCE,
|
||||
PY_COMPILED,
|
||||
C_EXTENSION,
|
||||
PY_RESOURCE, /* Mac only */
|
||||
PKG_DIRECTORY,
|
||||
C_BUILTIN,
|
||||
PY_FROZEN,
|
||||
PY_CODERESOURCE, /* Mac only */
|
||||
IMP_HOOK
|
||||
};
|
||||
|
||||
|
||||
extern const char *_PyImport_DynLoadFiletab[];
|
||||
|
||||
extern PyObject *_PyImport_LoadDynamicModule(PyObject *name, PyObject *pathname,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue