]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-47196: Fix function pointer cast in test_imp (GH-32244)
authorHood Chatham <roberthoodchatham@gmail.com>
Sat, 2 Apr 2022 08:00:49 +0000 (01:00 -0700)
committerGitHub <noreply@github.com>
Sat, 2 Apr 2022 08:00:49 +0000 (01:00 -0700)
commit7000cd70164707e28ba045b5c036ca7ed73f5dc4
tree6ce7c4719b326864c2d04af18737d7106391f531
parent0f68c208fa6a36b6c8ad3d775e64292a665ba108
bpo-47196: Fix function pointer cast in test_imp (GH-32244)

The function PyInit_imp_dummy is declared as void f(PyObject* spec)
but called as void f(void). On wasm targets without the call
trampolines this causes a fatal error.

Automerge-Triggered-By: GH:tiran
Modules/_testmultiphase.c