Using Python-clang

Hello,

I’m learning clang from the tutorials I can find online. I’m trying to adapt the example present in “examples/cindex/cindex-dump.py” and make it work for an entire project, say curl’s sources.

How should I handle multiple source files in this case? Should I run Index.parse() on all the source files in a loop, or is there a better way to do this?

Anurag