@@ -133,11 +133,11 @@ PyDoc_STRVAR(test_object_converter_one_arg__doc__,
133
133
"\n" );
134
134
135
135
#define TEST_OBJECT_CONVERTER_ONE_ARG_METHODDEF \
136
- {"test_object_converter_one_arg", test_object_converter_one_arg, METH_O, test_object_converter_one_arg__doc__},
136
+ {"test_object_converter_one_arg", (PyCFunction) test_object_converter_one_arg, METH_O, test_object_converter_one_arg__doc__},
137
137
138
138
static PyObject *
139
139
test_object_converter_one_arg (PyObject * module , PyObject * a )
140
- /*[clinic end generated code: output=a1272d4a621e3280 input=d635d92a421f1ca3]*/
140
+ /*[clinic end generated code: output=6da755f8502139df input=d635d92a421f1ca3]*/
141
141
142
142
143
143
/*[clinic input]
@@ -315,7 +315,7 @@ PyDoc_STRVAR(test_PyBytesObject_converter__doc__,
315
315
"\n" );
316
316
317
317
#define TEST_PYBYTESOBJECT_CONVERTER_METHODDEF \
318
- {"test_PyBytesObject_converter", test_PyBytesObject_converter, METH_O, test_PyBytesObject_converter__doc__},
318
+ {"test_PyBytesObject_converter", (PyCFunction) test_PyBytesObject_converter, METH_O, test_PyBytesObject_converter__doc__},
319
319
320
320
static PyObject *
321
321
test_PyBytesObject_converter_impl (PyObject * module , PyBytesObject * a );
@@ -339,7 +339,7 @@ test_PyBytesObject_converter(PyObject *module, PyObject *arg)
339
339
340
340
static PyObject *
341
341
test_PyBytesObject_converter_impl (PyObject * module , PyBytesObject * a )
342
- /*[clinic end generated code: output=a1f2b92832ee6372 input=12b10c7cb5750400]*/
342
+ /*[clinic end generated code: output=7539d628e6fceace input=12b10c7cb5750400]*/
343
343
344
344
345
345
/*[clinic input]
@@ -356,7 +356,7 @@ PyDoc_STRVAR(test_PyByteArrayObject_converter__doc__,
356
356
"\n" );
357
357
358
358
#define TEST_PYBYTEARRAYOBJECT_CONVERTER_METHODDEF \
359
- {"test_PyByteArrayObject_converter", test_PyByteArrayObject_converter, METH_O, test_PyByteArrayObject_converter__doc__},
359
+ {"test_PyByteArrayObject_converter", (PyCFunction) test_PyByteArrayObject_converter, METH_O, test_PyByteArrayObject_converter__doc__},
360
360
361
361
static PyObject *
362
362
test_PyByteArrayObject_converter_impl (PyObject * module , PyByteArrayObject * a );
@@ -380,7 +380,7 @@ test_PyByteArrayObject_converter(PyObject *module, PyObject *arg)
380
380
381
381
static PyObject *
382
382
test_PyByteArrayObject_converter_impl (PyObject * module , PyByteArrayObject * a )
383
- /*[clinic end generated code: output=745c66001160f9cf input=5a657da535d194ae]*/
383
+ /*[clinic end generated code: output=1245af9f5b3e355e input=5a657da535d194ae]*/
384
384
385
385
386
386
/*[clinic input]
@@ -397,7 +397,7 @@ PyDoc_STRVAR(test_unicode_converter__doc__,
397
397
"\n" );
398
398
399
399
#define TEST_UNICODE_CONVERTER_METHODDEF \
400
- {"test_unicode_converter", test_unicode_converter, METH_O, test_unicode_converter__doc__},
400
+ {"test_unicode_converter", (PyCFunction) test_unicode_converter, METH_O, test_unicode_converter__doc__},
401
401
402
402
static PyObject *
403
403
test_unicode_converter_impl (PyObject * module , PyObject * a );
@@ -421,7 +421,7 @@ test_unicode_converter(PyObject *module, PyObject *arg)
421
421
422
422
static PyObject *
423
423
test_unicode_converter_impl (PyObject * module , PyObject * a )
424
- /*[clinic end generated code: output=d3eba4040b357127 input=aa33612df92aa9c5]*/
424
+ /*[clinic end generated code: output=8c1625cc272c1f3d input=aa33612df92aa9c5]*/
425
425
426
426
427
427
/*[clinic input]
@@ -1857,7 +1857,7 @@ PyDoc_STRVAR(test_Py_complex_converter__doc__,
1857
1857
"\n" );
1858
1858
1859
1859
#define TEST_PY_COMPLEX_CONVERTER_METHODDEF \
1860
- {"test_Py_complex_converter", test_Py_complex_converter, METH_O, test_Py_complex_converter__doc__},
1860
+ {"test_Py_complex_converter", (PyCFunction) test_Py_complex_converter, METH_O, test_Py_complex_converter__doc__},
1861
1861
1862
1862
static PyObject *
1863
1863
test_Py_complex_converter_impl (PyObject * module , Py_complex a );
@@ -1880,7 +1880,7 @@ test_Py_complex_converter(PyObject *module, PyObject *arg)
1880
1880
1881
1881
static PyObject *
1882
1882
test_Py_complex_converter_impl (PyObject * module , Py_complex a )
1883
- /*[clinic end generated code: output=86f47ff04e11183c input=070f216a515beb79]*/
1883
+ /*[clinic end generated code: output=c2ecbec2144ca540 input=070f216a515beb79]*/
1884
1884
1885
1885
1886
1886
/*[clinic input]
@@ -4001,7 +4001,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_condition_a__doc__,
4001
4001
"\n" );
4002
4002
4003
4003
#define TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF \
4004
- {"test_preprocessor_guarded_condition_a", test_preprocessor_guarded_condition_a, METH_NOARGS, test_preprocessor_guarded_condition_a__doc__},
4004
+ {"test_preprocessor_guarded_condition_a", (PyCFunction) test_preprocessor_guarded_condition_a, METH_NOARGS, test_preprocessor_guarded_condition_a__doc__},
4005
4005
4006
4006
static PyObject *
4007
4007
test_preprocessor_guarded_condition_a (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4019,7 +4019,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_elif_condition_b__doc__,
4019
4019
"\n" );
4020
4020
4021
4021
#define TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF \
4022
- {"test_preprocessor_guarded_elif_condition_b", test_preprocessor_guarded_elif_condition_b, METH_NOARGS, test_preprocessor_guarded_elif_condition_b__doc__},
4022
+ {"test_preprocessor_guarded_elif_condition_b", (PyCFunction) test_preprocessor_guarded_elif_condition_b, METH_NOARGS, test_preprocessor_guarded_elif_condition_b__doc__},
4023
4023
4024
4024
static PyObject *
4025
4025
test_preprocessor_guarded_elif_condition_b (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4037,7 +4037,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_else__doc__,
4037
4037
"\n" );
4038
4038
4039
4039
#define TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF \
4040
- {"test_preprocessor_guarded_else", test_preprocessor_guarded_else, METH_NOARGS, test_preprocessor_guarded_else__doc__},
4040
+ {"test_preprocessor_guarded_else", (PyCFunction) test_preprocessor_guarded_else, METH_NOARGS, test_preprocessor_guarded_else__doc__},
4041
4041
4042
4042
static PyObject *
4043
4043
test_preprocessor_guarded_else (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4055,7 +4055,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_ifndef_condition_c__doc__,
4055
4055
"\n" );
4056
4056
4057
4057
#define TEST_PREPROCESSOR_GUARDED_IFNDEF_CONDITION_C_METHODDEF \
4058
- {"test_preprocessor_guarded_ifndef_condition_c", test_preprocessor_guarded_ifndef_condition_c, METH_NOARGS, test_preprocessor_guarded_ifndef_condition_c__doc__},
4058
+ {"test_preprocessor_guarded_ifndef_condition_c", (PyCFunction) test_preprocessor_guarded_ifndef_condition_c, METH_NOARGS, test_preprocessor_guarded_ifndef_condition_c__doc__},
4059
4059
4060
4060
static PyObject *
4061
4061
test_preprocessor_guarded_ifndef_condition_c (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4073,7 +4073,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_ifndef_not_condition_c__doc__,
4073
4073
"\n" );
4074
4074
4075
4075
#define TEST_PREPROCESSOR_GUARDED_IFNDEF_NOT_CONDITION_C_METHODDEF \
4076
- {"test_preprocessor_guarded_ifndef_not_condition_c", test_preprocessor_guarded_ifndef_not_condition_c, METH_NOARGS, test_preprocessor_guarded_ifndef_not_condition_c__doc__},
4076
+ {"test_preprocessor_guarded_ifndef_not_condition_c", (PyCFunction) test_preprocessor_guarded_ifndef_not_condition_c, METH_NOARGS, test_preprocessor_guarded_ifndef_not_condition_c__doc__},
4077
4077
4078
4078
static PyObject *
4079
4079
test_preprocessor_guarded_ifndef_not_condition_c (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4091,7 +4091,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_if_with_continuation__doc__,
4091
4091
"\n" );
4092
4092
4093
4093
#define TEST_PREPROCESSOR_GUARDED_IF_WITH_CONTINUATION_METHODDEF \
4094
- {"test_preprocessor_guarded_if_with_continuation", test_preprocessor_guarded_if_with_continuation, METH_NOARGS, test_preprocessor_guarded_if_with_continuation__doc__},
4094
+ {"test_preprocessor_guarded_if_with_continuation", (PyCFunction) test_preprocessor_guarded_if_with_continuation, METH_NOARGS, test_preprocessor_guarded_if_with_continuation__doc__},
4095
4095
4096
4096
static PyObject *
4097
4097
test_preprocessor_guarded_if_with_continuation (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4110,7 +4110,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_if_e_or_f__doc__,
4110
4110
"Makes sure cpp.Monitor handles other directives than preprocessor conditionals." );
4111
4111
4112
4112
#define TEST_PREPROCESSOR_GUARDED_IF_E_OR_F_METHODDEF \
4113
- {"test_preprocessor_guarded_if_e_or_f", test_preprocessor_guarded_if_e_or_f, METH_NOARGS, test_preprocessor_guarded_if_e_or_f__doc__},
4113
+ {"test_preprocessor_guarded_if_e_or_f", (PyCFunction) test_preprocessor_guarded_if_e_or_f, METH_NOARGS, test_preprocessor_guarded_if_e_or_f__doc__},
4114
4114
4115
4115
static PyObject *
4116
4116
test_preprocessor_guarded_if_e_or_f (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4147,7 +4147,7 @@ test_preprocessor_guarded_if_e_or_f(PyObject *module, PyObject *Py_UNUSED(ignore
4147
4147
#ifndef TEST_PREPROCESSOR_GUARDED_IF_E_OR_F_METHODDEF
4148
4148
#define TEST_PREPROCESSOR_GUARDED_IF_E_OR_F_METHODDEF
4149
4149
#endif /* !defined(TEST_PREPROCESSOR_GUARDED_IF_E_OR_F_METHODDEF) */
4150
- /*[clinic end generated code: output=e693034dd5190490 input=3fc80c9989d2f2e1]*/
4150
+ /*[clinic end generated code: output=fcfae7cac7a99e62 input=3fc80c9989d2f2e1]*/
4151
4151
4152
4152
/*[clinic input]
4153
4153
test_vararg_and_posonly
@@ -4934,7 +4934,7 @@ PyDoc_STRVAR(Test_metho_not_default_return_converter__doc__,
4934
4934
"\n" );
4935
4935
4936
4936
#define TEST_METHO_NOT_DEFAULT_RETURN_CONVERTER_METHODDEF \
4937
- {"metho_not_default_return_converter", Test_metho_not_default_return_converter, METH_O, Test_metho_not_default_return_converter__doc__},
4937
+ {"metho_not_default_return_converter", (PyCFunction) Test_metho_not_default_return_converter, METH_O, Test_metho_not_default_return_converter__doc__},
4938
4938
4939
4939
static int
4940
4940
Test_metho_not_default_return_converter_impl (TestObj * self , PyObject * a );
@@ -4957,7 +4957,7 @@ Test_metho_not_default_return_converter(PyObject *self, PyObject *a)
4957
4957
4958
4958
static int
4959
4959
Test_metho_not_default_return_converter_impl (TestObj * self , PyObject * a )
4960
- /*[clinic end generated code: output=463ed281a4a3746b input=428657129b521177]*/
4960
+ /*[clinic end generated code: output=8b03f5213c312138 input=428657129b521177]*/
4961
4961
4962
4962
4963
4963
/*[clinic input]
@@ -4977,7 +4977,7 @@ PyDoc_STRVAR(Test_an_metho_arg_named_arg__doc__,
4977
4977
" Name should be mangled to \'arg_\' in generated output." );
4978
4978
4979
4979
#define TEST_AN_METHO_ARG_NAMED_ARG_METHODDEF \
4980
- {"an_metho_arg_named_arg", Test_an_metho_arg_named_arg, METH_O, Test_an_metho_arg_named_arg__doc__},
4980
+ {"an_metho_arg_named_arg", (PyCFunction) Test_an_metho_arg_named_arg, METH_O, Test_an_metho_arg_named_arg__doc__},
4981
4981
4982
4982
static PyObject *
4983
4983
Test_an_metho_arg_named_arg_impl (TestObj * self , int arg );
@@ -5000,7 +5000,7 @@ Test_an_metho_arg_named_arg(PyObject *self, PyObject *arg_)
5000
5000
5001
5001
static PyObject *
5002
5002
Test_an_metho_arg_named_arg_impl (TestObj * self , int arg )
5003
- /*[clinic end generated code: output=bc7ffcb6f7243cdd input=2a53a57cf5624f95]*/
5003
+ /*[clinic end generated code: output=38554f09950d07e7 input=2a53a57cf5624f95]*/
5004
5004
5005
5005
5006
5006
/*[clinic input]
@@ -5229,7 +5229,7 @@ PyDoc_STRVAR(Test_class_method__doc__,
5229
5229
"\n ");
5230
5230
5231
5231
#define TEST_CLASS_METHOD_METHODDEF \
5232
- {"class_method" , Test_class_method , METH_NOARGS |METH_CLASS , Test_class_method__doc__ },
5232
+ {"class_method" , ( PyCFunction ) Test_class_method , METH_NOARGS |METH_CLASS , Test_class_method__doc__ },
5233
5233
5234
5234
static PyObject *
5235
5235
Test_class_method_impl (PyTypeObject * type );
@@ -5242,7 +5242,7 @@ Test_class_method(PyObject *type, PyObject *Py_UNUSED(ignored))
5242
5242
5243
5243
static PyObject *
5244
5244
Test_class_method_impl (PyTypeObject * type )
5245
- /*[clinic end generated code: output=dbf944c1125c4c79 input=43bc4a0494547b80]*/
5245
+ /*[clinic end generated code: output=64f93e6252bde409 input=43bc4a0494547b80]*/
5246
5246
5247
5247
5248
5248
/*[clinic input]
@@ -5256,7 +5256,7 @@ PyDoc_STRVAR(Test_static_method__doc__,
5256
5256
"\n ");
5257
5257
5258
5258
#define TEST_STATIC_METHOD_METHODDEF \
5259
- {"static_method", Test_static_method, METH_NOARGS|METH_STATIC, Test_static_method__doc__},
5259
+ {"static_method", (PyCFunction) Test_static_method, METH_NOARGS|METH_STATIC, Test_static_method__doc__},
5260
5260
5261
5261
static PyObject *
5262
5262
Test_static_method_impl ();
@@ -5269,7 +5269,7 @@ Test_static_method(PyObject *null, PyObject *Py_UNUSED(ignored))
5269
5269
5270
5270
static PyObject *
5271
5271
Test_static_method_impl ()
5272
- /*[clinic end generated code: output=e21462ae93b4645c input=dae892fac55ae72b]*/
5272
+ /*[clinic end generated code: output=9e401fb6ed56a4f3 input=dae892fac55ae72b]*/
5273
5273
5274
5274
5275
5275
/*[clinic input]
@@ -5283,7 +5283,7 @@ PyDoc_STRVAR(Test_meth_coexist__doc__,
5283
5283
"\n ");
5284
5284
5285
5285
#define TEST_METH_COEXIST_METHODDEF \
5286
- {"meth_coexist", Test_meth_coexist, METH_NOARGS|METH_COEXIST, Test_meth_coexist__doc__},
5286
+ {"meth_coexist", (PyCFunction) Test_meth_coexist, METH_NOARGS|METH_COEXIST, Test_meth_coexist__doc__},
5287
5287
5288
5288
static PyObject *
5289
5289
Test_meth_coexist_impl (TestObj * self );
@@ -5296,7 +5296,7 @@ Test_meth_coexist(PyObject *self, PyObject *Py_UNUSED(ignored))
5296
5296
5297
5297
static PyObject *
5298
5298
Test_meth_coexist_impl (TestObj * self )
5299
- /*[clinic end generated code: output=9e43248bae46ad30 input=2a1d75b5e6fec6dd]*/
5299
+ /*[clinic end generated code: output=7edf4e95b29f06fa input=2a1d75b5e6fec6dd]*/
5300
5300
5301
5301
/*[clinic input]
5302
5302
@getter
@@ -5563,7 +5563,7 @@ PyDoc_STRVAR(bool_return__doc__,
5563
5563
"\n ");
5564
5564
5565
5565
#define BOOL_RETURN_METHODDEF \
5566
- {"bool_return", bool_return, METH_NOARGS, bool_return__doc__},
5566
+ {"bool_return", (PyCFunction) bool_return, METH_NOARGS, bool_return__doc__},
5567
5567
5568
5568
static int
5569
5569
bool_return_impl (PyObject * module );
@@ -5586,7 +5586,7 @@ bool_return(PyObject *module, PyObject *Py_UNUSED(ignored))
5586
5586
5587
5587
static int
5588
5588
bool_return_impl (PyObject * module )
5589
- /*[clinic end generated code: output=6c8ef775e67e345f input=93ba95d39ee98f39]*/
5589
+ /*[clinic end generated code: output=3a65f07830e48e98 input=93ba95d39ee98f39]*/
5590
5590
5591
5591
5592
5592
/*[clinic input]
@@ -5599,7 +5599,7 @@ PyDoc_STRVAR(double_return__doc__,
5599
5599
"\n ");
5600
5600
5601
5601
#define DOUBLE_RETURN_METHODDEF \
5602
- {"double_return" , double_return , METH_NOARGS , double_return__doc__ },
5602
+ {"double_return" , ( PyCFunction ) double_return , METH_NOARGS , double_return__doc__ },
5603
5603
5604
5604
static double
5605
5605
double_return_impl (PyObject * module );
@@ -5622,7 +5622,7 @@ double_return(PyObject *module, PyObject *Py_UNUSED(ignored))
5622
5622
5623
5623
static double
5624
5624
double_return_impl (PyObject * module )
5625
- /*[clinic end generated code: output=9730b7e722925cec input=da11b6255e4cbfd7]*/
5625
+ /*[clinic end generated code: output=076dc72595d3f66d input=da11b6255e4cbfd7]*/
5626
5626
5627
5627
5628
5628
/*[clinic input]
@@ -5912,7 +5912,7 @@ PyDoc_STRVAR(test_critical_section__doc__,
5912
5912
"\n ");
5913
5913
5914
5914
#define TEST_CRITICAL_SECTION_METHODDEF \
5915
- {"test_critical_section", test_critical_section, METH_NOARGS, test_critical_section__doc__},
5915
+ {"test_critical_section", (PyCFunction) test_critical_section, METH_NOARGS, test_critical_section__doc__},
5916
5916
5917
5917
static PyObject *
5918
5918
test_critical_section_impl (PyObject * module );
@@ -5931,7 +5931,7 @@ test_critical_section(PyObject *module, PyObject *Py_UNUSED(ignored))
5931
5931
5932
5932
static PyObject *
5933
5933
test_critical_section_impl (PyObject * module )
5934
- /*[clinic end generated code: output=94a82ca7cb65a84a input=8c58956d6ff00f80]*/
5934
+ /*[clinic end generated code: output=9d5a87bb28aa3f0c input=8c58956d6ff00f80]*/
5935
5935
5936
5936
5937
5937
/*[clinic input]
@@ -5947,7 +5947,7 @@ PyDoc_STRVAR(test_critical_section_meth_o__doc__,
5947
5947
"\n" );
5948
5948
5949
5949
#define TEST_CRITICAL_SECTION_METH_O_METHODDEF \
5950
- {"test_critical_section_meth_o", test_critical_section_meth_o, METH_O, test_critical_section_meth_o__doc__},
5950
+ {"test_critical_section_meth_o", (PyCFunction) test_critical_section_meth_o, METH_O, test_critical_section_meth_o__doc__},
5951
5951
5952
5952
static PyObject *
5953
5953
test_critical_section_meth_o_impl (PyObject * module , PyObject * a );
@@ -5973,7 +5973,7 @@ test_critical_section_meth_o(PyObject *module, PyObject *arg)
5973
5973
5974
5974
static PyObject *
5975
5975
test_critical_section_meth_o_impl (PyObject * module , PyObject * a )
5976
- /*[clinic end generated code: output=6276bd911b60c196 input=376533f51eceb6c3]*/
5976
+ /*[clinic end generated code: output=7a9d7420802d1202 input=376533f51eceb6c3]*/
5977
5977
5978
5978
/*[clinic input]
5979
5979
@critical_section a
@@ -5990,7 +5990,7 @@ PyDoc_STRVAR(test_critical_section_object__doc__,
5990
5990
"test_critical_section_object" );
5991
5991
5992
5992
#define TEST_CRITICAL_SECTION_OBJECT_METHODDEF \
5993
- {"test_critical_section_object", test_critical_section_object, METH_O, test_critical_section_object__doc__},
5993
+ {"test_critical_section_object", (PyCFunction) test_critical_section_object, METH_O, test_critical_section_object__doc__},
5994
5994
5995
5995
static PyObject *
5996
5996
test_critical_section_object_impl (PyObject * module , PyObject * a );
@@ -6016,7 +6016,7 @@ test_critical_section_object(PyObject *module, PyObject *arg)
6016
6016
6017
6017
static PyObject *
6018
6018
test_critical_section_object_impl (PyObject * module , PyObject * a )
6019
- /*[clinic end generated code: output=975dc9674e9c5bfa input=6f67f91b523c875f]*/
6019
+ /*[clinic end generated code: output=ec06df92232b0fb5 input=6f67f91b523c875f]*/
6020
6020
6021
6021
PyDoc_STRVAR (test_critical_section_object__doc__ ,
6022
6022
"test_critical_section_object($module, a, /)\n"
0 commit comments