Download include/python3.9/import.h from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 3.03 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/include/python3.9/import.h
- Command line
-
hf download hf://camenduru/slahmr-test/include/python3.9/import.h
-
curl -L -o import.h https://huggingface.co/camenduru/slahmr-test/resolve/main/include/python3.9/import.h
3.03 kB
| /* Module definition and import interface */ | |
| extern "C" { | |
| PyAPI_FUNC(long) PyImport_GetMagicNumber(void); | |
| PyAPI_FUNC(const char *) PyImport_GetMagicTag(void); | |
| PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule( | |
| const char *name, /* UTF-8 encoded string */ | |
| PyObject *co | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleEx( | |
| const char *name, /* UTF-8 encoded string */ | |
| PyObject *co, | |
| const char *pathname /* decoded from the filesystem encoding */ | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleWithPathnames( | |
| const char *name, /* UTF-8 encoded string */ | |
| PyObject *co, | |
| const char *pathname, /* decoded from the filesystem encoding */ | |
| const char *cpathname /* decoded from the filesystem encoding */ | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleObject( | |
| PyObject *name, | |
| PyObject *co, | |
| PyObject *pathname, | |
| PyObject *cpathname | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_GetModuleDict(void); | |
| PyAPI_FUNC(PyObject *) PyImport_GetModule(PyObject *name); | |
| PyAPI_FUNC(PyObject *) PyImport_AddModuleObject( | |
| PyObject *name | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_AddModule( | |
| const char *name /* UTF-8 encoded string */ | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_ImportModule( | |
| const char *name /* UTF-8 encoded string */ | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_ImportModuleNoBlock( | |
| const char *name /* UTF-8 encoded string */ | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel( | |
| const char *name, /* UTF-8 encoded string */ | |
| PyObject *globals, | |
| PyObject *locals, | |
| PyObject *fromlist, | |
| int level | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevelObject( | |
| PyObject *name, | |
| PyObject *globals, | |
| PyObject *locals, | |
| PyObject *fromlist, | |
| int level | |
| ); | |
| PyAPI_FUNC(PyObject *) PyImport_GetImporter(PyObject *path); | |
| PyAPI_FUNC(PyObject *) PyImport_Import(PyObject *name); | |
| PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *m); | |
| PyAPI_FUNC(int) PyImport_ImportFrozenModuleObject( | |
| PyObject *name | |
| ); | |
| PyAPI_FUNC(int) PyImport_ImportFrozenModule( | |
| const char *name /* UTF-8 encoded string */ | |
| ); | |
| PyAPI_FUNC(int) PyImport_AppendInittab( | |
| const char *name, /* ASCII encoded string */ | |
| PyObject* (*initfunc)(void) | |
| ); | |
| } | |