clang-1/bindings
Tobias Grosser 010556ef87 [cindex.py] Add helper to initialize libclang functions
The helper allows us to define how the initialization of functions should
behave. We use this patch to provide an informative error message, in case a
function is not available:

"LibclangError: /home/grosser/Projekte/llvm/install/lib/libclang.so: undefined
symbol: clang_method_added_in_2020. Please ensure that your python bindings are
compatible with your libclang.so version."

This patch also ensures that no spelling mistakes slip into the library
initialization. At the moment, there are a couple of 'argtype' -> 'argtypes'
mispellings that have been overlooked.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163057 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-01 08:55:17 +00:00
..
python [cindex.py] Add helper to initialize libclang functions 2012-09-01 08:55:17 +00:00
xml Comment XML: use xml:space="preserve" in Verbatim tags, so that XML tidy does 2012-08-08 22:10:24 +00:00