Skip to content

Commit

Permalink
Trying to make the method in-modular instead
Browse files Browse the repository at this point in the history
  • Loading branch information
arhadthedev committed Jul 9, 2022
1 parent 246c78f commit e0670d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Modules/_testcapi/parts.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#include "Python.h"

PyAPI_FUNC(int) _PyTestCapi_Init_Vectorcall(PyObject *module);
int _PyTestCapi_Init_Vectorcall(PyObject *module);
2 changes: 1 addition & 1 deletion Modules/_testcapi/vectorcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ static PyTypeObject MethodDescriptor2_Type = {
};


PyAPI_FUNC(int)
int
_PyTestCapi_Init_Vectorcall(PyObject *m) {
if (PyModule_AddFunctions(m, TestMethods) < 0) {
return -1;
Expand Down

0 comments on commit e0670d6

Please sign in to comment.