aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEdit/WidgetGen.py
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-06-18 11:55:43 +1000
committerNeil <nyamatongwe@gmail.com>2019-06-18 11:55:43 +1000
commitd8fca6294ae59b61105ee779c0502599aa4ade55 (patch)
tree7f902f36d3075f6aa47ae59c89b5400a02e3c4ef /qt/ScintillaEdit/WidgetGen.py
parent2b7d0f1089c7517dc02972cb6dfdb6b2623c9985 (diff)
downloadscintilla-mirror-d8fca6294ae59b61105ee779c0502599aa4ade55.tar.gz
Feature [feature-requests:#1297] 3: Add pointer type to WidgetGen.py.
Diffstat (limited to 'qt/ScintillaEdit/WidgetGen.py')
-rw-r--r--qt/ScintillaEdit/WidgetGen.py3
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):