aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/support/signature/mapping.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2017-11-28 12:10:17 +0100
committerChristian Tismer <tismer@stackless.com>2017-11-28 11:46:15 +0000
commit03a0c8025281025b8e6567a1d5c2d81368e9cec9 (patch)
tree33a83d92b052eeae910939a6a7c129e2f2e10b52 /sources/pyside2/PySide2/support/signature/mapping.py
parent313d70089b365e2fcb9c7226911b201301204bc6 (diff)
signature: Support a new constant for QOpenGL
There are QOpenGLFunctions::glGetString() etc. Some platforms have new, unrecognized constants. I also reverted a change to parser.py to accept all regular exceptions, again. It makes little sense to be explicit, here. Change-Id: I7e0289ed074c1452ad163f68fdc6d35f046844e2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/support/signature/mapping.py')
-rw-r--r--sources/pyside2/PySide2/support/signature/mapping.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/support/signature/mapping.py b/sources/pyside2/PySide2/support/signature/mapping.py
index 318f934d5..144e6d855 100644
--- a/sources/pyside2/PySide2/support/signature/mapping.py
+++ b/sources/pyside2/PySide2/support/signature/mapping.py
@@ -310,6 +310,7 @@ def init_QtGui():
"PySide2.QtGui.QPlatformSurface": Virtual("PySide2.QtGui.QPlatformSurface"), # hmm...
"QList< QTouchEvent.TouchPoint >()": [], # XXX improve?
"QPixmap()": Default("PySide2.QtGui.QPixmap"), # can't create without qApp
+ "PySide2.QtCore.uint8_t": int, # macOS 5.9
"zero(uint32_t)": 0,
"zero(PySide2.QtGui.QWindow)": None,
"zero(PySide2.QtGui.QOpenGLContext)": None,