def writeRefUtilProto(api, filename):
    functions = getConstructorFunctions(api)

    def makeRefUtilProto():
        unindented = []
        for line in indentLines([('Move<%s>\t%s\t(%s = DE_NULL);' % (function.objectType, function.name, argListToStr((function.ifaceArgs + function.arguments)))) for function in functions]):
            (yield line)
    writeInlFile(filename, INL_HEADER, makeRefUtilProto())
def writeRefUtilProto(api, filename):
    functions = getConstructorFunctions(api)

    def makeRefUtilProto():
        unindented = []
        for line in indentLines([('Move<%s>\t%s\t(%s = DE_NULL);' % (function.objectType, function.name, argListToStr((function.ifaceArgs + function.arguments)))) for function in functions]):
            (yield line)
    writeInlFile(filename, INL_HEADER, makeRefUtilProto())