annotate generator/typesystem_opengl-java.xml @ 248:7664de4a55e5
Fixed #23.
QtD_QObjectEntity is not created dynamically for shell classes any more.
Class initialization is now performed by static constructors.
When wrapping QObjects returned from functions, their run-time types are now taken into account.
QObjects are allocated on GC heap, a doubly-linked list is used to prevent them from been collected (arguably a better solution than allocating on C heap and adding GC ranges)
Minor changes (including unnecessary).
author |
maxter |
date |
Thu, 20 Aug 2009 14:47:17 +0000 |
parents |
e78566595089 |
children |
37eed70de029 |
rev |
line source |
1
|
1 <?xml version="1.0"?>
|
248
|
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>
|