(self, enuminfo, name, alias)
Generate the C declaration for a constant (a single <enum> value).
Generate the C declaration for a constant (a single <enum> value).
Generate the C declaration for a constant ( a single <enum > value ) .
def genEnum(self, enuminfo, name, alias):
        """Generate the C declaration for a constant (a single <enum> value)."""

        OutputGenerator.genEnum(self, enuminfo, name, alias)

        body = self.buildConstantCDecl(enuminfo, name, alias)
        self.appendSection('enum', body)
def genEnum ( self , enuminfo , name , alias ) : OutputGenerator . genEnum ( self , enuminfo , name , alias ) body = self . buildConstantCDecl ( enuminfo , name , alias ) self . appendSection ( 'enum' , body )