From 246c78ff7542107960ac626aa8d003fb76399b1a Mon Sep 17 00:00:00 2001 From: Oleg Iarygin Date: Sat, 9 Jul 2022 06:49:10 +0300 Subject: [PATCH] Fix linkage of _PyTestCapi_Init_Vectorcall --- Modules/_testcapi/vectorcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_testcapi/vectorcall.c b/Modules/_testcapi/vectorcall.c index 9bc702905caf76..63c31c252428d8 100644 --- a/Modules/_testcapi/vectorcall.c +++ b/Modules/_testcapi/vectorcall.c @@ -229,7 +229,7 @@ static PyTypeObject MethodDescriptor2_Type = { }; -int +PyAPI_FUNC(int) _PyTestCapi_Init_Vectorcall(PyObject *m) { if (PyModule_AddFunctions(m, TestMethods) < 0) { return -1;