annotate generator/typesystem_opengl-java.xml @ 393:1049b01aebd2
Fixed generator segfaults on OS X 10.6.
Regarding the change to dgenerator.cpp, I am not actually sure if 0 is the correct value to pass, but it seems to work and the code which had been there before was just plain incorrect ? it read past the list boundaries.
author |
David Nadlinger <code@klickverbot.at> |
date |
Sat, 28 Aug 2010 02:55:55 +0200 |
parents |
34a37904ff77 |
children |
|
rev |
line source |
1
|
1 <?xml version="1.0"?>
|
254
|
2 <typesystem package="qt.opengl" default-superclass="QtdObject">
|
1
|
3 <inject-code>
|
|
4 qt.Utilities.loadQtLibrary("QtGui");
|
|
5 qt.Utilities.loadQtLibrary("QtOpenGL");
|
|
6 </inject-code>
|
|
7
|
|
8 <primitive-type name="GLuint" java-name="int" preferred-conversion="no" jni-name="jint"/>
|
|
9 <primitive-type name="GLint" java-name="int" preferred-conversion="no" jni-name="jint"/>
|
|
10 <primitive-type name="GLenum" java-name="int" preferred-conversion="no" jni-name="jint"/>
|
|
11
|
|
12
|
|
13 <value-type name="QGLColormap">
|
|
14 <inject-code>
|
|
15 <import-file name="typesystem_opengl-java.java" quote-after-line="class QGLColormap___" quote-before-line="}// class"/>
|
|
16 </inject-code>
|
|
17
|
|
18 </value-type>
|
|
19 </typesystem>
|