def gen():
    for type in api.compositeTypes:
        type.checkAliasValidity()
        if (not type.isAlias):
            for line in genCompositeTypeSrc(type):
                (yield line)
        (yield '')
def gen():
    for type in api.compositeTypes:
        type.checkAliasValidity()
        if (not type.isAlias):
            for line in genCompositeTypeSrc(type):
                (yield line)
        (yield )