@@ -133,11 +133,11 @@ PyDoc_STRVAR(test_object_converter_one_arg__doc__,
133133"\n" );
134134
135135#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__},
137137
138138static PyObject *
139139test_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]*/
141141
142142
143143/*[clinic input]
@@ -315,7 +315,7 @@ PyDoc_STRVAR(test_PyBytesObject_converter__doc__,
315315"\n" );
316316
317317#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__},
319319
320320static PyObject *
321321test_PyBytesObject_converter_impl (PyObject * module , PyBytesObject * a );
@@ -339,7 +339,7 @@ test_PyBytesObject_converter(PyObject *module, PyObject *arg)
339339
340340static PyObject *
341341test_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]*/
343343
344344
345345/*[clinic input]
@@ -356,7 +356,7 @@ PyDoc_STRVAR(test_PyByteArrayObject_converter__doc__,
356356"\n" );
357357
358358#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__},
360360
361361static PyObject *
362362test_PyByteArrayObject_converter_impl (PyObject * module , PyByteArrayObject * a );
@@ -380,7 +380,7 @@ test_PyByteArrayObject_converter(PyObject *module, PyObject *arg)
380380
381381static PyObject *
382382test_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]*/
384384
385385
386386/*[clinic input]
@@ -397,7 +397,7 @@ PyDoc_STRVAR(test_unicode_converter__doc__,
397397"\n" );
398398
399399#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__},
401401
402402static PyObject *
403403test_unicode_converter_impl (PyObject * module , PyObject * a );
@@ -421,7 +421,7 @@ test_unicode_converter(PyObject *module, PyObject *arg)
421421
422422static PyObject *
423423test_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]*/
425425
426426
427427/*[clinic input]
@@ -1857,7 +1857,7 @@ PyDoc_STRVAR(test_Py_complex_converter__doc__,
18571857"\n" );
18581858
18591859#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__},
18611861
18621862static PyObject *
18631863test_Py_complex_converter_impl (PyObject * module , Py_complex a );
@@ -1880,7 +1880,7 @@ test_Py_complex_converter(PyObject *module, PyObject *arg)
18801880
18811881static PyObject *
18821882test_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]*/
18841884
18851885
18861886/*[clinic input]
@@ -4001,7 +4001,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_condition_a__doc__,
40014001"\n" );
40024002
40034003#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__},
40054005
40064006static PyObject *
40074007test_preprocessor_guarded_condition_a (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4019,7 +4019,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_elif_condition_b__doc__,
40194019"\n" );
40204020
40214021#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__},
40234023
40244024static PyObject *
40254025test_preprocessor_guarded_elif_condition_b (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4037,7 +4037,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_else__doc__,
40374037"\n" );
40384038
40394039#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__},
40414041
40424042static PyObject *
40434043test_preprocessor_guarded_else (PyObject * module , PyObject * Py_UNUSED (ignored ))
@@ -4055,7 +4055,7 @@ PyDoc_STRVAR(test_preprocessor_guarded_ifndef_condition_c__doc__,
40554055"\n" );
40564056
40574057#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__},
40594059
40604060static PyObject *
40614061test_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__,
40734073"\n" );
40744074
40754075#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__},
40774077
40784078static PyObject *
40794079test_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__,
40914091"\n" );
40924092
40934093#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__},
40954095
40964096static PyObject *
40974097test_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__,
41104110"Makes sure cpp.Monitor handles other directives than preprocessor conditionals." );
41114111
41124112#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__},
41144114
41154115static PyObject *
41164116test_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
41474147#ifndef TEST_PREPROCESSOR_GUARDED_IF_E_OR_F_METHODDEF
41484148 #define TEST_PREPROCESSOR_GUARDED_IF_E_OR_F_METHODDEF
41494149#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]*/
41514151
41524152/*[clinic input]
41534153test_vararg_and_posonly
@@ -4934,7 +4934,7 @@ PyDoc_STRVAR(Test_metho_not_default_return_converter__doc__,
49344934"\n" );
49354935
49364936#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__},
49384938
49394939static int
49404940Test_metho_not_default_return_converter_impl (TestObj * self , PyObject * a );
@@ -4957,7 +4957,7 @@ Test_metho_not_default_return_converter(PyObject *self, PyObject *a)
49574957
49584958static int
49594959Test_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]*/
49614961
49624962
49634963/*[clinic input]
@@ -4977,7 +4977,7 @@ PyDoc_STRVAR(Test_an_metho_arg_named_arg__doc__,
49774977" Name should be mangled to \'arg_\' in generated output." );
49784978
49794979#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__},
49814981
49824982static PyObject *
49834983Test_an_metho_arg_named_arg_impl (TestObj * self , int arg );
@@ -5000,7 +5000,7 @@ Test_an_metho_arg_named_arg(PyObject *self, PyObject *arg_)
50005000
50015001static PyObject *
50025002Test_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]*/
50045004
50055005
50065006/*[clinic input]
@@ -5229,7 +5229,7 @@ PyDoc_STRVAR(Test_class_method__doc__,
52295229"\n ");
52305230
52315231#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__ },
52335233
52345234static PyObject *
52355235Test_class_method_impl (PyTypeObject * type );
@@ -5242,7 +5242,7 @@ Test_class_method(PyObject *type, PyObject *Py_UNUSED(ignored))
52425242
52435243static PyObject *
52445244Test_class_method_impl (PyTypeObject * type )
5245- /*[clinic end generated code: output=dbf944c1125c4c79 input=43bc4a0494547b80]*/
5245+ /*[clinic end generated code: output=64f93e6252bde409 input=43bc4a0494547b80]*/
52465246
52475247
52485248/*[clinic input]
@@ -5256,7 +5256,7 @@ PyDoc_STRVAR(Test_static_method__doc__,
52565256"\n ");
52575257
52585258#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__},
52605260
52615261static PyObject *
52625262Test_static_method_impl ();
@@ -5269,7 +5269,7 @@ Test_static_method(PyObject *null, PyObject *Py_UNUSED(ignored))
52695269
52705270static PyObject *
52715271Test_static_method_impl ()
5272- /*[clinic end generated code: output=e21462ae93b4645c input=dae892fac55ae72b]*/
5272+ /*[clinic end generated code: output=9e401fb6ed56a4f3 input=dae892fac55ae72b]*/
52735273
52745274
52755275/*[clinic input]
@@ -5283,7 +5283,7 @@ PyDoc_STRVAR(Test_meth_coexist__doc__,
52835283"\n ");
52845284
52855285#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__},
52875287
52885288static PyObject *
52895289Test_meth_coexist_impl (TestObj * self );
@@ -5296,7 +5296,7 @@ Test_meth_coexist(PyObject *self, PyObject *Py_UNUSED(ignored))
52965296
52975297static PyObject *
52985298Test_meth_coexist_impl (TestObj * self )
5299- /*[clinic end generated code: output=9e43248bae46ad30 input=2a1d75b5e6fec6dd]*/
5299+ /*[clinic end generated code: output=7edf4e95b29f06fa input=2a1d75b5e6fec6dd]*/
53005300
53015301/*[clinic input]
53025302@getter
@@ -5563,7 +5563,7 @@ PyDoc_STRVAR(bool_return__doc__,
55635563"\n ");
55645564
55655565#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__},
55675567
55685568static int
55695569bool_return_impl (PyObject * module );
@@ -5586,7 +5586,7 @@ bool_return(PyObject *module, PyObject *Py_UNUSED(ignored))
55865586
55875587static int
55885588bool_return_impl (PyObject * module )
5589- /*[clinic end generated code: output=6c8ef775e67e345f input=93ba95d39ee98f39]*/
5589+ /*[clinic end generated code: output=3a65f07830e48e98 input=93ba95d39ee98f39]*/
55905590
55915591
55925592/*[clinic input]
@@ -5599,7 +5599,7 @@ PyDoc_STRVAR(double_return__doc__,
55995599"\n ");
56005600
56015601#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__ },
56035603
56045604static double
56055605double_return_impl (PyObject * module );
@@ -5622,7 +5622,7 @@ double_return(PyObject *module, PyObject *Py_UNUSED(ignored))
56225622
56235623static double
56245624double_return_impl (PyObject * module )
5625- /*[clinic end generated code: output=9730b7e722925cec input=da11b6255e4cbfd7]*/
5625+ /*[clinic end generated code: output=076dc72595d3f66d input=da11b6255e4cbfd7]*/
56265626
56275627
56285628/*[clinic input]
@@ -5912,7 +5912,7 @@ PyDoc_STRVAR(test_critical_section__doc__,
59125912"\n ");
59135913
59145914#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__},
59165916
59175917static PyObject *
59185918test_critical_section_impl (PyObject * module );
@@ -5931,7 +5931,7 @@ test_critical_section(PyObject *module, PyObject *Py_UNUSED(ignored))
59315931
59325932static PyObject *
59335933test_critical_section_impl (PyObject * module )
5934- /*[clinic end generated code: output=94a82ca7cb65a84a input=8c58956d6ff00f80]*/
5934+ /*[clinic end generated code: output=9d5a87bb28aa3f0c input=8c58956d6ff00f80]*/
59355935
59365936
59375937/*[clinic input]
@@ -5947,7 +5947,7 @@ PyDoc_STRVAR(test_critical_section_meth_o__doc__,
59475947"\n" );
59485948
59495949#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__},
59515951
59525952static PyObject *
59535953test_critical_section_meth_o_impl (PyObject * module , PyObject * a );
@@ -5973,7 +5973,7 @@ test_critical_section_meth_o(PyObject *module, PyObject *arg)
59735973
59745974static PyObject *
59755975test_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]*/
59775977
59785978/*[clinic input]
59795979@critical_section a
@@ -5990,7 +5990,7 @@ PyDoc_STRVAR(test_critical_section_object__doc__,
59905990"test_critical_section_object" );
59915991
59925992#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__},
59945994
59955995static PyObject *
59965996test_critical_section_object_impl (PyObject * module , PyObject * a );
@@ -6016,7 +6016,7 @@ test_critical_section_object(PyObject *module, PyObject *arg)
60166016
60176017static PyObject *
60186018test_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]*/
60206020
60216021PyDoc_STRVAR (test_critical_section_object__doc__ ,
60226022"test_critical_section_object($module, a, /)\n"
0 commit comments