[cfe-dev] python bindings

Sam Price thesamprice at gmail.com
Wed Feb 20 18:07:20 PST 2013


I got the python bindings to work,
However I want to get size, and offset information for various types.

This doesn't seem to be exposed in the Index.h file

Would I just add new routines to that file?
Where are the index.h routines at?
Would I add a new routine
int getSizeOfCursor(Cursor)
Get the ASTContext from the cursor,
and then do GetTypeInfo from the ASTContext?

and then expose it on the cindex.py routine?

-- 
Thanks,

Sam Price
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130220/b95838a7/attachment.html>


More information about the cfe-dev mailing list