diff options
author | Neil <nyamatongwe@gmail.com> | 2019-06-18 11:55:43 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-06-18 11:55:43 +1000 |
commit | 040faa17c20562a11d445ee3e6d1a27dd168ec98 (patch) | |
tree | a3876c9cb5d39d1c2a1730f96eee97cf457829e5 | |
parent | 4dad149e7848122e6f205046ee5975c15ee943a8 (diff) | |
download | scintilla-mirror-040faa17c20562a11d445ee3e6d1a27dd168ec98.tar.gz |
Backport: Feature [feature-requests:#1297] 3: Add pointer type to WidgetGen.py.
Backport of changeset 7583:d6ca697df2a0.
-rw-r--r-- | qt/ScintillaEdit/WidgetGen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt/ScintillaEdit/WidgetGen.py b/qt/ScintillaEdit/WidgetGen.py index eefc717df..2fa63279e 100644 --- a/qt/ScintillaEdit/WidgetGen.py +++ b/qt/ScintillaEdit/WidgetGen.py @@ -40,6 +40,7 @@ def normalisedName(s, options, role=None): typeAliases = { "position": "int", "line": "int", + "pointer": "int", "colour": "int", "keymod": "int", "string": "const char *", @@ -53,7 +54,7 @@ def cppAlias(s): else: return s -understoodTypes = ["", "void", "int", "bool", "position", "line", +understoodTypes = ["", "void", "int", "bool", "position", "line", "pointer", "colour", "keymod", "string", "stringresult", "cells"] def checkTypes(name, v): |