def visitor(child, parent, result):
    child._tu = translation_unit
    child_outline = visit_cursor(libclang, child)
    if (child_outline is not None):
        result.append(child_outline)
    return 1
def visitor(child, parent, result):
    child._tu = translation_unit
    child_outline = visit_cursor(libclang, child)
    if (child_outline is not None):
        result.append(child_outline)
    return 1