[clang] [libclang/python] Fix some type errors, add type annotations (PR #98745)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 20 16:45:03 PDT 2024
================
@@ -115,9 +146,7 @@ def b(x):
# object. This is a problem, because it means that from_parameter will see an
# integer and pass the wrong value on platforms where int != void*. Work around
# this by marshalling object arguments as void**.
-c_object_p = POINTER(c_void_p)
-
-callbacks = {}
----------------
Endilll wrote:
If it's not used, I don't see a reason to keep it.
https://github.com/llvm/llvm-project/pull/98745
More information about the cfe-commits
mailing list