summaryrefslogtreecommitdiffstats
path: root/clang/bindings/python
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-30 23:58:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-30 23:58:50 +0000
commit15635b8f5caa6923907ecb751c238bec2c4a14b6 (patch)
tree86c980a587c780bb0075c7cbeabe66bd92d199b1 /clang/bindings/python
parent1e079a48ad5176f0f9a39f972af8f2ad9133e4a2 (diff)
downloadbcm5719-llvm-15635b8f5caa6923907ecb751c238bec2c4a14b6.tar.gz
bcm5719-llvm-15635b8f5caa6923907ecb751c238bec2c4a14b6.zip
cindex/Python: Update SourceLocation and SourceRange structures to match API changes.
Hurray for exposing implementation details!!! llvm-svn: 94932
Diffstat (limited to 'clang/bindings/python')
-rw-r--r--clang/bindings/python/clang/cindex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py
index 7398cbbe558..e0858715a85 100644
--- a/clang/bindings/python/clang/cindex.py
+++ b/clang/bindings/python/clang/cindex.py
@@ -100,7 +100,7 @@ class SourceLocation(Structure):
"""
A SourceLocation represents a particular location within a source file.
"""
- _fields_ = [("ptr_data", c_void_p), ("int_data", c_uint)]
+ _fields_ = [("ptr_data", c_void_p * 2), ("int_data", c_uint)]
_data = None
def _get_instantiation(self):
@@ -141,7 +141,7 @@ class SourceRange(Structure):
code.
"""
_fields_ = [
- ("ptr_data", c_void_p),
+ ("ptr_data", c_void_p * 2),
("begin_int_data", c_uint),
("end_int_data", c_uint)]
OpenPOWER on IntegriCloud