[cfe-dev] some questions about index.h
Ted Kremenek
kremenek at apple.com
Thu Mar 15 09:51:39 PDT 2012
On Mar 15, 2012, at 9:18 AM, Zhe Chen <mr.zhechen at gmail.com> wrote:
> Dear collegues,
> I have some questions about index.h in clang-c.
> 1. why CINDEX_LINKAGE is defined? what is its role?
This is needed for the library to build correctly on Windows.
> 2. Does somebody have a complete simple example to show the use of
> index.h in your own program?
The c-index-test program is a good example of how the APIs can be used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120315/fcdddbc7/attachment.html>
More information about the cfe-dev
mailing list