[cfe-commits] r163057 - /cfe/trunk/bindings/python/clang/cindex.py

Anders Waldenborg anders at 0x63.nu
Mon Sep 3 14:20:42 PDT 2012


On Mon, Sep 03, 2012 at 10:12:04AM -0700, Gregory Szorc wrote:
> Anders had a similar patch a while back. It generated a standalone
> .py file that defined a data structure for all the C functions. This
> was used to register functions with a library instance.

For the record my patch can be found here:

https://github.com/wanders/llvm/commit/c7a4a77cad572ed40b42d1c3eebd66b2b0c44650

And once again, that is for llvm, not cindex. So not everything would
translate directly - for example the llvm-c bindings only use opaque
pointers every wher, where cindex uses actual structures.

 anders



More information about the cfe-commits mailing list