diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-22 11:35:15 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-22 11:35:15 +0000 |
commit | 4555b7e2409304da96f016e2ea99ae67f53b19f3 (patch) | |
tree | 4a81d10272c8328f646b311b6a032410471b55b4 | |
parent | 194a9d8ebdd8380c4e61be51d400533ae40886b5 (diff) |
Merging r142474:
------------------------------------------------------------------------
r142474 | dgregor | 2011-10-18 22:47:46 -0700 (Tue, 18 Oct 2011) | 5 lines
This new field was introduced in clang-c in r141277
Python needs this in its structure definition so it allocates enough
memory. From Anders Waldenborg!
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_30@142722 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | bindings/python/clang/cindex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/clang/cindex.py b/bindings/python/clang/cindex.py index 35c423d7d8..5ea371426c 100644 --- a/bindings/python/clang/cindex.py +++ b/bindings/python/clang/cindex.py @@ -815,7 +815,7 @@ class Cursor(Structure): The Cursor class represents a reference to an element within the AST. It acts as a kind of iterator. """ - _fields_ = [("_kind_id", c_int), ("data", c_void_p * 3)] + _fields_ = [("_kind_id", c_int), ("xdata", c_int), ("data", c_void_p * 3)] def __eq__(self, other): return Cursor_eq(self, other) |