Skip to content

Commit 246c78f

Browse files
committed
Fix linkage of _PyTestCapi_Init_Vectorcall
1 parent 4bed0db commit 246c78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testcapi/vectorcall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ static PyTypeObject MethodDescriptor2_Type = {
229229
};
230230

231231

232-
int
232+
PyAPI_FUNC(int)
233233
_PyTestCapi_Init_Vectorcall(PyObject *m) {
234234
if (PyModule_AddFunctions(m, TestMethods) < 0) {
235235
return -1;

0 commit comments

Comments
 (0)