]> granicus.if.org Git - clang/commit
[cindex.py] Allow to configure the path of libclang
authorTobias Grosser <grosser@fim.uni-passau.de>
Mon, 3 Sep 2012 18:32:30 +0000 (18:32 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Mon, 3 Sep 2012 18:32:30 +0000 (18:32 +0000)
commitfcbc0fbaa480e6707af6ef437f5c43ea9f477d3a
tree394fd2d53468417bfaa332fc2e8089e913ecf732
parentccbbac8b105b6168f8f80a82f3d35679da9c3d79
[cindex.py] Allow to configure the path of libclang

By calling cindex.Config.set_library_path(path) or
cindex.Config.set_library_file(file) it is possible to specify from where
we load libclang. This fixes an open FIXME.

We also point the user to these functions, in case libclang can not be
loaded sucessfully.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163121 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/clang/cindex.py