@@ -646,13 +646,16 @@ class component_converter(CConverter):
646646 The Window Object
647647******************************************************************************/
648648
649- /* Function prototype macros for Window object
650-
651- X - function name (may be a macro or a C function)
652- TYPE - parameter Type
653- ERGSTR - format string for construction of the return value
654- PARSESTR - format string for argument parsing
655- */
649+ /*
650+ * Macros for creating a PyCursesWindowObject object's method.
651+ *
652+ * Parameters
653+ *
654+ * X The name of the curses C function or macro to invoke.
655+ * TYPE The function parameter(s) type.
656+ * ERGSTR The format string for construction of the return value.
657+ * PARSESTR The format string for argument parsing.
658+ */
656659
657660#define Window_NoArgNoReturnFunction (X ) \
658661 static PyObject *PyCursesWindow_ ## X \
@@ -2734,12 +2737,12 @@ static PyType_Spec PyCursesWindow_Type_spec = {
27342737/* -------------------------------------------------------*/
27352738
27362739/*
2737- * Function Body Macros - They are ugly but very, very useful. ;-)
2740+ * Macros for implementing simple module's methods.
27382741 *
27392742 * Parameters
27402743 *
2741- * X The name of the curses function to invoke.
2742- * flag When false, prefixes the function name with 'no' at runtime,
2744+ * X The name of the curses C function or macro to invoke.
2745+ * FLAG When false, prefixes the function name with 'no' at runtime,
27432746 * This parameter is present in the signature and auto-generated
27442747 * by Argument Clinic.
27452748 *
@@ -2753,10 +2756,10 @@ static PyType_Spec PyCursesWindow_Type_spec = {
27532756 return PyCursesCheckERR(module, X(), # X); \
27542757}
27552758
2756- #define NoArgOrFlagNoReturnFunctionBody (X , flag ) \
2759+ #define NoArgOrFlagNoReturnFunctionBody (X , FLAG ) \
27572760{ \
27582761 PyCursesStatefulInitialised(module); \
2759- int rtn = (flag ) ? X() : no ## X(); \
2762+ int rtn = (FLAG ) ? X() : no ## X(); \
27602763 return PyCursesCheckERR(module, rtn, # X); \
27612764}
27622765
0 commit comments