File tree 10 files changed +26
-24
lines changed
10 files changed +26
-24
lines changed Original file line number Diff line number Diff line change @@ -26,28 +26,28 @@ PyInit__testlimitedcapi(void)
26
26
return NULL ;
27
27
}
28
28
29
- if (_PyTestCapi_Init_ByteArray (mod ) < 0 ) {
29
+ if (_PyTestLimitedCAPI_Init_ByteArray (mod ) < 0 ) {
30
30
return NULL ;
31
31
}
32
- if (_PyTestCapi_Init_Bytes (mod ) < 0 ) {
32
+ if (_PyTestLimitedCAPI_Init_Bytes (mod ) < 0 ) {
33
33
return NULL ;
34
34
}
35
- if (_PyTestCapi_Init_HeaptypeRelative (mod ) < 0 ) {
35
+ if (_PyTestLimitedCAPI_Init_HeaptypeRelative (mod ) < 0 ) {
36
36
return NULL ;
37
37
}
38
- if (_PyTestCapi_Init_List (mod ) < 0 ) {
38
+ if (_PyTestLimitedCAPI_Init_List (mod ) < 0 ) {
39
39
return NULL ;
40
40
}
41
- if (_PyTestCapi_Init_PyOS (mod ) < 0 ) {
41
+ if (_PyTestLimitedCAPI_Init_PyOS (mod ) < 0 ) {
42
42
return NULL ;
43
43
}
44
- if (_PyTestCapi_Init_Set (mod ) < 0 ) {
44
+ if (_PyTestLimitedCAPI_Init_Set (mod ) < 0 ) {
45
45
return NULL ;
46
46
}
47
- if (_PyTestCapi_Init_Sys (mod ) < 0 ) {
47
+ if (_PyTestLimitedCAPI_Init_Sys (mod ) < 0 ) {
48
48
return NULL ;
49
49
}
50
- if (_PyTestCapi_Init_VectorcallLimited (mod ) < 0 ) {
50
+ if (_PyTestLimitedCAPI_Init_VectorcallLimited (mod ) < 0 ) {
51
51
return NULL ;
52
52
}
53
53
return mod ;
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ static PyMethodDef test_methods[] = {
113
113
};
114
114
115
115
int
116
- _PyTestCapi_Init_ByteArray (PyObject * m )
116
+ _PyTestLimitedCAPI_Init_ByteArray (PyObject * m )
117
117
{
118
118
if (PyModule_AddFunctions (m , test_methods ) < 0 ) {
119
119
return -1 ;
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ static PyMethodDef test_methods[] = {
245
245
};
246
246
247
247
int
248
- _PyTestCapi_Init_Bytes (PyObject * m )
248
+ _PyTestLimitedCAPI_Init_Bytes (PyObject * m )
249
249
{
250
250
if (PyModule_AddFunctions (m , test_methods ) < 0 ) {
251
251
return -1 ;
Original file line number Diff line number Diff line change @@ -331,7 +331,8 @@ static PyMethodDef TestMethods[] = {
331
331
};
332
332
333
333
int
334
- _PyTestCapi_Init_HeaptypeRelative (PyObject * m ) {
334
+ _PyTestLimitedCAPI_Init_HeaptypeRelative (PyObject * m )
335
+ {
335
336
if (PyModule_AddFunctions (m , TestMethods ) < 0 ) {
336
337
return -1 ;
337
338
}
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ static PyMethodDef test_methods[] = {
159
159
};
160
160
161
161
int
162
- _PyTestCapi_Init_List (PyObject * m )
162
+ _PyTestLimitedCAPI_Init_List (PyObject * m )
163
163
{
164
164
if (PyModule_AddFunctions (m , test_methods ) < 0 ) {
165
165
return -1 ;
Original file line number Diff line number Diff line change 22
22
# error "Py_BUILD_CORE macro must not be defined"
23
23
#endif
24
24
25
- int _PyTestCapi_Init_ByteArray (PyObject * module );
26
- int _PyTestCapi_Init_Bytes (PyObject * module );
27
- int _PyTestCapi_Init_HeaptypeRelative (PyObject * module );
28
- int _PyTestCapi_Init_List (PyObject * module );
29
- int _PyTestCapi_Init_PyOS (PyObject * module );
30
- int _PyTestCapi_Init_Set (PyObject * module );
31
- int _PyTestCapi_Init_Sys (PyObject * module );
32
- int _PyTestCapi_Init_VectorcallLimited (PyObject * module );
25
+ int _PyTestLimitedCAPI_Init_ByteArray (PyObject * module );
26
+ int _PyTestLimitedCAPI_Init_Bytes (PyObject * module );
27
+ int _PyTestLimitedCAPI_Init_HeaptypeRelative (PyObject * module );
28
+ int _PyTestLimitedCAPI_Init_List (PyObject * module );
29
+ int _PyTestLimitedCAPI_Init_PyOS (PyObject * module );
30
+ int _PyTestLimitedCAPI_Init_Set (PyObject * module );
31
+ int _PyTestLimitedCAPI_Init_Sys (PyObject * module );
32
+ int _PyTestLimitedCAPI_Init_VectorcallLimited (PyObject * module );
33
33
34
34
#endif // Py_TESTLIMITEDCAPI_PARTS_H
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ static PyMethodDef test_methods[] = {
50
50
};
51
51
52
52
int
53
- _PyTestCapi_Init_PyOS (PyObject * mod )
53
+ _PyTestLimitedCAPI_Init_PyOS (PyObject * mod )
54
54
{
55
55
if (PyModule_AddFunctions (mod , test_methods ) < 0 ) {
56
56
return -1 ;
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ static PyMethodDef test_methods[] = {
179
179
};
180
180
181
181
int
182
- _PyTestCapi_Init_Set (PyObject * m )
182
+ _PyTestLimitedCAPI_Init_Set (PyObject * m )
183
183
{
184
184
if (PyModule_AddFunctions (m , test_methods ) < 0 ) {
185
185
return -1 ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ static PyMethodDef test_methods[] = {
46
46
};
47
47
48
48
int
49
- _PyTestCapi_Init_Sys (PyObject * m )
49
+ _PyTestLimitedCAPI_Init_Sys (PyObject * m )
50
50
{
51
51
if (PyModule_AddFunctions (m , test_methods ) < 0 ) {
52
52
return -1 ;
Original file line number Diff line number Diff line change @@ -182,7 +182,8 @@ static PyMethodDef TestMethods[] = {
182
182
};
183
183
184
184
int
185
- _PyTestCapi_Init_VectorcallLimited (PyObject * m ) {
185
+ _PyTestLimitedCAPI_Init_VectorcallLimited (PyObject * m )
186
+ {
186
187
if (PyModule_AddFunctions (m , TestMethods ) < 0 ) {
187
188
return -1 ;
188
189
}
You can’t perform that action at this time.
0 commit comments