Using Python-clang


I’m learning clang from the tutorials I can find online. I’m trying to adapt the example present in “examples/cindex/” 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?