mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-106210 Remove Emscripten import trampoline (#106211)
It's no longer necessary. Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
cea9d4ea82
commit
e7bc8d1636
4 changed files with 4 additions and 19 deletions
|
@ -12,12 +12,6 @@ extern PyObject *_PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *);
|
|||
|
||||
typedef PyObject *(*PyModInitFunction)(void);
|
||||
|
||||
#if defined(__EMSCRIPTEN__) && defined(PY_CALL_TRAMPOLINE)
|
||||
extern PyObject *_PyImport_InitFunc_TrampolineCall(PyModInitFunction func);
|
||||
#else
|
||||
#define _PyImport_InitFunc_TrampolineCall(func) (func)()
|
||||
#endif
|
||||
|
||||
/* Max length of module suffix searched for -- accommodates "module.slb" */
|
||||
#define MAXSUFFIXSIZE 12
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue