diff options
| author | nyamatongwe <nyamatongwe@gmail.com> | 2013-08-10 12:13:08 +1000 |
|---|---|---|
| committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-08-10 12:13:08 +1000 |
| commit | 774b9b6ccaacf8f5394c6a08e4509f7c25cc12e6 (patch) | |
| tree | 12a25dafeb00685b52508b6e61678869392844b5 /qt/ScintillaEditPy/sepbuild.py | |
| parent | d0156d864f334f36cb11e1a0a19c1b7749ce6e36 (diff) | |
| download | scintilla-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.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 + ", " |
