Skip to content

Commit e0670d6

Browse files
committed
Trying to make the method in-modular instead
1 parent 246c78f commit e0670d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Modules/_testcapi/parts.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "Python.h"
22

3-
PyAPI_FUNC(int) _PyTestCapi_Init_Vectorcall(PyObject *module);
3+
int _PyTestCapi_Init_Vectorcall(PyObject *module);

Modules/_testcapi/vectorcall.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ static PyTypeObject MethodDescriptor2_Type = {
229229
};
230230

231231

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

0 commit comments

Comments
 (0)