diff options
author | Unknown <nyamatongwe@gmail.com> | 2013-08-10 12:13:08 +1000 |
---|---|---|
committer | Unknown <nyamatongwe@gmail.com> | 2013-08-10 12:13:08 +1000 |
commit | c55793015e0b1911184002e3eef6b84bea61dda8 (patch) | |
tree | 59dd62694e2f6cd07cbf94ae1a11c68decb17ee1 /qt/ScintillaEditPy/sepbuild.py | |
parent | eef022a77a9b0c477e9b2f8de45566d42fb9f50c (diff) | |
download | scintilla-mirror-c55793015e0b1911184002e3eef6b84bea61dda8.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.py | 4 |
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 + ", " |