@@ -3260,3 +3260,108 @@ exit:
32603260static PyObject *
32613261test_keyword_only_parameter_impl(PyObject *module, PyBytesObject *co_lnotab)
32623262/*[clinic end generated code: output=f25914b402039493 input=303df5046c7e37a3]*/
3263+
3264+
3265+ /*[clinic input]
3266+ output push
3267+ output preset buffer
3268+ [clinic start generated code]*/
3269+ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=5bff3376ee0df0b5]*/
3270+
3271+ #ifdef CONDITION_A
3272+ /*[clinic input]
3273+ test_preprocessor_guarded_condition_a
3274+ [clinic start generated code]*/
3275+
3276+ static PyObject *
3277+ test_preprocessor_guarded_condition_a_impl(PyObject *module)
3278+ /*[clinic end generated code: output=ad012af18085add6 input=8edb8706a98cda7e]*/
3279+ #elif CONDITION_B
3280+ /*[clinic input]
3281+ test_preprocessor_guarded_elif_condition_b
3282+ [clinic start generated code]*/
3283+
3284+ static PyObject *
3285+ test_preprocessor_guarded_elif_condition_b_impl(PyObject *module)
3286+ /*[clinic end generated code: output=615f2dee82b138d1 input=53777cebbf7fee32]*/
3287+ #else
3288+ /*[clinic input]
3289+ test_preprocessor_guarded_else
3290+ [clinic start generated code]*/
3291+
3292+ static PyObject *
3293+ test_preprocessor_guarded_else_impl(PyObject *module)
3294+ /*[clinic end generated code: output=13af7670aac51b12 input=6657ab31d74c29fc]*/
3295+ #endif
3296+
3297+ /*[clinic input]
3298+ dump buffer
3299+ output pop
3300+ [clinic start generated code]*/
3301+
3302+ #if defined(CONDITION_A)
3303+
3304+ PyDoc_STRVAR(test_preprocessor_guarded_condition_a__doc__,
3305+ "test_preprocessor_guarded_condition_a($module, /)\n"
3306+ "--\n"
3307+ "\n");
3308+
3309+ #define TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF \
3310+ {"test_preprocessor_guarded_condition_a", (PyCFunction)test_preprocessor_guarded_condition_a, METH_NOARGS, test_preprocessor_guarded_condition_a__doc__},
3311+
3312+ static PyObject *
3313+ test_preprocessor_guarded_condition_a(PyObject *module, PyObject *Py_UNUSED(ignored))
3314+ {
3315+ return test_preprocessor_guarded_condition_a_impl(module);
3316+ }
3317+
3318+ #endif /* defined(CONDITION_A) */
3319+
3320+ #if !defined(CONDITION_A) && (CONDITION_B)
3321+
3322+ PyDoc_STRVAR(test_preprocessor_guarded_elif_condition_b__doc__,
3323+ "test_preprocessor_guarded_elif_condition_b($module, /)\n"
3324+ "--\n"
3325+ "\n");
3326+
3327+ #define TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF \
3328+ {"test_preprocessor_guarded_elif_condition_b", (PyCFunction)test_preprocessor_guarded_elif_condition_b, METH_NOARGS, test_preprocessor_guarded_elif_condition_b__doc__},
3329+
3330+ static PyObject *
3331+ test_preprocessor_guarded_elif_condition_b(PyObject *module, PyObject *Py_UNUSED(ignored))
3332+ {
3333+ return test_preprocessor_guarded_elif_condition_b_impl(module);
3334+ }
3335+
3336+ #endif /* !defined(CONDITION_A) && (CONDITION_B) */
3337+
3338+ #if !defined(CONDITION_A) && !(CONDITION_B)
3339+
3340+ PyDoc_STRVAR(test_preprocessor_guarded_else__doc__,
3341+ "test_preprocessor_guarded_else($module, /)\n"
3342+ "--\n"
3343+ "\n");
3344+
3345+ #define TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF \
3346+ {"test_preprocessor_guarded_else", (PyCFunction)test_preprocessor_guarded_else, METH_NOARGS, test_preprocessor_guarded_else__doc__},
3347+
3348+ static PyObject *
3349+ test_preprocessor_guarded_else(PyObject *module, PyObject *Py_UNUSED(ignored))
3350+ {
3351+ return test_preprocessor_guarded_else_impl(module);
3352+ }
3353+
3354+ #endif /* !defined(CONDITION_A) && !(CONDITION_B) */
3355+
3356+ #ifndef TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF
3357+ #define TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF
3358+ #endif /* !defined(TEST_PREPROCESSOR_GUARDED_CONDITION_A_METHODDEF) */
3359+
3360+ #ifndef TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF
3361+ #define TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF
3362+ #endif /* !defined(TEST_PREPROCESSOR_GUARDED_ELIF_CONDITION_B_METHODDEF) */
3363+
3364+ #ifndef TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF
3365+ #define TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF
3366+ #endif /* !defined(TEST_PREPROCESSOR_GUARDED_ELSE_METHODDEF) */
3367+ /*[clinic end generated code: output=3804bb18d454038c input=3fc80c9989d2f2e1]*/
0 commit comments