TsXor wrote:

> 17. this does not work out of the box, at least not without further changes. 
> E.g. the exact example you gave there results in an error for me.
If you mean `conf.lib.clang_Cursor_getTemplateArgumentKind`, then it just 
happened to be that exception. This function uses a deprecated ctypes feature: 
if you assign a callable to restype, then the return type of the C function 
will be treated as int, and this int will be passed to the callable, and the 
result is returned.


https://github.com/llvm/llvm-project/pull/101941
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to