summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-17 18:58:26 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:47:59 -0300
commit914398bbf3aad4b933b827b716c36377aa00f270 (patch)
tree14e82b66094686edc5b63cefd6dd53d5a0c0c59e
parentafd176ffaac193ab4b467efb4b7aa657909d92e6 (diff)
Add GLuint as primitive type.
If we don't do that any function with GLuint will be rejected by the generator on Windows.
-rw-r--r--PySide/QtOpenGL/typesystem_opengl.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/PySide/QtOpenGL/typesystem_opengl.xml b/PySide/QtOpenGL/typesystem_opengl.xml
index f58d8494..86a6d7b6 100644
--- a/PySide/QtOpenGL/typesystem_opengl.xml
+++ b/PySide/QtOpenGL/typesystem_opengl.xml
@@ -20,6 +20,7 @@
-->
<typesystem package="PySide.QtOpenGL">
<load-typesystem name="typesystem_gui.xml" generate="no" />
+ <primitive-type name="GLuint" target-lang-api-name="PyLong" />
<rejection class="QGLColormap::QGLColormapData"/>
<rejection class="QGLWidget" function-name="setMouseTracking"/>