def genDefinitionsSrc(definitions):
    for line in [('#define %s\t(static_cast<%s>\t(%s))' % (definition.name, definition.type, definition.value)) for definition in definitions]:
        (yield line)
def genDefinitionsSrc(definitions):
    for line in [('#define %s\t(static_cast<%s>\t(%s))' % (definition.name, definition.type, definition.value)) for definition in definitions]:
        (yield line)