diff options
| author | Hood Chatham <roberthoodchatham@gmail.com> | 2023-06-30 00:20:49 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-30 00:20:49 (GMT) |
| commit | e7bc8d16364bde54487eab349a29d58345e35f28 (patch) | |
| tree | 24025e6c65bd886c308eb984b12380d590e3aad9 /Python/importdl.h | |
| parent | cea9d4ea82abcb2c6f1d83a2fe819859da4bbda4 (diff) | |
| download | cpython-e7bc8d16364bde54487eab349a29d58345e35f28.zip cpython-e7bc8d16364bde54487eab349a29d58345e35f28.tar.gz cpython-e7bc8d16364bde54487eab349a29d58345e35f28.tar.bz2 | |
gh-106210 Remove Emscripten import trampoline (#106211)
It's no longer necessary.
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Python/importdl.h')
| -rw-r--r-- | Python/importdl.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/importdl.h b/Python/importdl.h index 26d18b6..9171adc 100644 --- a/Python/importdl.h +++ b/Python/importdl.h @@ -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 |
