def writeFunctionPointers(api, filename, functionTypes):

    def FunctionsYielder():
        for function in api.functions:
            if (function.getType() in functionTypes):
                if function.isAlias:
                    if ((function.getType() == Function.TYPE_INSTANCE) and (function.arguments[0].getType() == 'VkPhysicalDevice')):
                        (yield ('%s\t%s;' % (getFunctionTypeName(function), getInterfaceName(function))))
                else:
                    (yield ('%s\t%s;' % (getFunctionTypeName(function), getInterfaceName(function))))
    writeInlFile(filename, INL_HEADER, indentLines(FunctionsYielder()))
def writeFunctionPointers(api, filename, functionTypes):

    def FunctionsYielder():
        for function in api.functions:
            if (function.getType() in functionTypes):
                if function.isAlias:
                    if ((function.getType() == Function.TYPE_INSTANCE) and (function.arguments[0].getType() == 'VkPhysicalDevice')):
                        (yield ('%s\t%s;' % (getFunctionTypeName(function), getInterfaceName(function))))
                else:
                    (yield ('%s\t%s;' % (getFunctionTypeName(function), getInterfaceName(function))))
    writeInlFile(filename, INL_HEADER, indentLines(FunctionsYielder()))