aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditPy/sepbuild.py
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-08-10 12:13:08 +1000
committernyamatongwe <nyamatongwe@gmail.com>2013-08-10 12:13:08 +1000
commit774b9b6ccaacf8f5394c6a08e4509f7c25cc12e6 (patch)
tree12a25dafeb00685b52508b6e61678869392844b5 /qt/ScintillaEditPy/sepbuild.py
parentd0156d864f334f36cb11e1a0a19c1b7749ce6e36 (diff)
downloadscintilla-mirror-774b9b6ccaacf8f5394c6a08e4509f7c25cc12e6.tar.gz
Fix PySide interface to match 64-bit fixes in ScintillaEdit.
Diffstat (limited to 'qt/ScintillaEditPy/sepbuild.py')
-rw-r--r--qt/ScintillaEditPy/sepbuild.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt/ScintillaEditPy/sepbuild.py b/qt/ScintillaEditPy/sepbuild.py
index 77d2cb221..43d9930fd 100644
--- a/qt/ScintillaEditPy/sepbuild.py
+++ b/qt/ScintillaEditPy/sepbuild.py
@@ -76,9 +76,13 @@ injectCheckN = """
def methodSignature(name, v, options):
argTypes = ""
p1Type = WidgetGen.cppAlias(v["Param1Type"])
+ if p1Type == "int":
+ p1Type = "uptr_t"
if p1Type:
argTypes = argTypes + p1Type
p2Type = WidgetGen.cppAlias(v["Param2Type"])
+ if p2Type == "int":
+ p2Type = "sptr_t"
if p2Type and v["Param2Type"] != "stringresult":
if p1Type:
argTypes = argTypes + ", "