File: annotations.py

package info (click to toggle)
pyopengl 3.0.1~b2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,148 kB
  • ctags: 25,165
  • sloc: python: 26,391; sh: 4; makefile: 2
file content (222 lines) | stat: -rw-r--r-- 8,181 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
"""Array-size annotations for OpenGL.raw.GLU

Automatically generated by the generateraw script, do not edit!
"""
from OpenGL.raw import GLU as raw

from ctypes import *
from OpenGL import platform, arrays
from OpenGL.constant import Constant
from OpenGL import constants as GLconstants
GLvoid = GLconstants.GLvoid



gluCheckExtension = arrays.setInputArraySizeType(
    arrays.setInputArraySizeType(
        raw.gluCheckExtension,
        None, # XXX Could not determine size of argument extName for gluCheckExtension arrays.GLubyteArray
        arrays.GLubyteArray, 
        'extName',
    ),
    None, # XXX Could not determine size of argument extString for gluCheckExtension arrays.GLubyteArray
    arrays.GLubyteArray, 
    'extString',
)

gluGetNurbsProperty = arrays.setInputArraySizeType(
    raw.gluGetNurbsProperty,
    None, # XXX Could not determine size of argument data for gluGetNurbsProperty arrays.GLfloatArray
    arrays.GLfloatArray, 
    'data',
)

gluGetTessProperty = arrays.setInputArraySizeType(
    raw.gluGetTessProperty,
    None, # XXX Could not determine size of argument data for gluGetTessProperty arrays.GLdoubleArray
    arrays.GLdoubleArray, 
    'data',
)

gluLoadSamplingMatrices = arrays.setInputArraySizeType(
    arrays.setInputArraySizeType(
        arrays.setInputArraySizeType(
            raw.gluLoadSamplingMatrices,
            None, # XXX Could not determine size of argument model for gluLoadSamplingMatrices arrays.GLfloatArray
            arrays.GLfloatArray, 
            'model',
        ),
        None, # XXX Could not determine size of argument perspective for gluLoadSamplingMatrices arrays.GLfloatArray
        arrays.GLfloatArray, 
        'perspective',
    ),
    None, # XXX Could not determine size of argument view for gluLoadSamplingMatrices arrays.GLintArray
    arrays.GLintArray, 
    'view',
)

gluNurbsCurve = arrays.setInputArraySizeType(
    arrays.setInputArraySizeType(
        raw.gluNurbsCurve,
        None, # XXX Could not determine size of argument knots for gluNurbsCurve arrays.GLfloatArray
        arrays.GLfloatArray, 
        'knots',
    ),
    None, # XXX Could not determine size of argument control for gluNurbsCurve arrays.GLfloatArray
    arrays.GLfloatArray, 
    'control',
)

gluNurbsSurface = arrays.setInputArraySizeType(
    arrays.setInputArraySizeType(
        arrays.setInputArraySizeType(
            raw.gluNurbsSurface,
            None, # XXX Could not determine size of argument sKnots for gluNurbsSurface arrays.GLfloatArray
            arrays.GLfloatArray, 
            'sKnots',
        ),
        None, # XXX Could not determine size of argument tKnots for gluNurbsSurface arrays.GLfloatArray
        arrays.GLfloatArray, 
        'tKnots',
    ),
    None, # XXX Could not determine size of argument control for gluNurbsSurface arrays.GLfloatArray
    arrays.GLfloatArray, 
    'control',
)

gluPickMatrix = arrays.setInputArraySizeType(
    raw.gluPickMatrix,
    None, # XXX Could not determine size of argument viewport for gluPickMatrix arrays.GLintArray
    arrays.GLintArray, 
    'viewport',
)

gluProject = arrays.setInputArraySizeType(
    arrays.setInputArraySizeType(
        arrays.setInputArraySizeType(
            arrays.setInputArraySizeType(
                arrays.setInputArraySizeType(
                    arrays.setInputArraySizeType(
                        raw.gluProject,
                        None, # XXX Could not determine size of argument model for gluProject arrays.GLdoubleArray
                        arrays.GLdoubleArray, 
                        'model',
                    ),
                    None, # XXX Could not determine size of argument proj for gluProject arrays.GLdoubleArray
                    arrays.GLdoubleArray, 
                    'proj',
                ),
                None, # XXX Could not determine size of argument view for gluProject arrays.GLintArray
                arrays.GLintArray, 
                'view',
            ),
            None, # XXX Could not determine size of argument winX for gluProject arrays.GLdoubleArray
            arrays.GLdoubleArray, 
            'winX',
        ),
        None, # XXX Could not determine size of argument winY for gluProject arrays.GLdoubleArray
        arrays.GLdoubleArray, 
        'winY',
    ),
    None, # XXX Could not determine size of argument winZ for gluProject arrays.GLdoubleArray
    arrays.GLdoubleArray, 
    'winZ',
)

gluPwlCurve = arrays.setInputArraySizeType(
    raw.gluPwlCurve,
    None, # XXX Could not determine size of argument data for gluPwlCurve arrays.GLfloatArray
    arrays.GLfloatArray, 
    'data',
)

gluTessVertex = arrays.setInputArraySizeType(
    raw.gluTessVertex,
    None, # XXX Could not determine size of argument location for gluTessVertex arrays.GLdoubleArray
    arrays.GLdoubleArray, 
    'location',
)

gluUnProject = arrays.setInputArraySizeType(
    arrays.setInputArraySizeType(
        arrays.setInputArraySizeType(
            arrays.setInputArraySizeType(
                arrays.setInputArraySizeType(
                    arrays.setInputArraySizeType(
                        raw.gluUnProject,
                        None, # XXX Could not determine size of argument model for gluUnProject arrays.GLdoubleArray
                        arrays.GLdoubleArray, 
                        'model',
                    ),
                    None, # XXX Could not determine size of argument proj for gluUnProject arrays.GLdoubleArray
                    arrays.GLdoubleArray, 
                    'proj',
                ),
                None, # XXX Could not determine size of argument view for gluUnProject arrays.GLintArray
                arrays.GLintArray, 
                'view',
            ),
            None, # XXX Could not determine size of argument objX for gluUnProject arrays.GLdoubleArray
            arrays.GLdoubleArray, 
            'objX',
        ),
        None, # XXX Could not determine size of argument objY for gluUnProject arrays.GLdoubleArray
        arrays.GLdoubleArray, 
        'objY',
    ),
    None, # XXX Could not determine size of argument objZ for gluUnProject arrays.GLdoubleArray
    arrays.GLdoubleArray, 
    'objZ',
)

gluUnProject4 = arrays.setInputArraySizeType(
    arrays.setInputArraySizeType(
        arrays.setInputArraySizeType(
            arrays.setInputArraySizeType(
                arrays.setInputArraySizeType(
                    arrays.setInputArraySizeType(
                        arrays.setInputArraySizeType(
                            raw.gluUnProject4,
                            None, # XXX Could not determine size of argument model for gluUnProject4 arrays.GLdoubleArray
                            arrays.GLdoubleArray, 
                            'model',
                        ),
                        None, # XXX Could not determine size of argument proj for gluUnProject4 arrays.GLdoubleArray
                        arrays.GLdoubleArray, 
                        'proj',
                    ),
                    None, # XXX Could not determine size of argument view for gluUnProject4 arrays.GLintArray
                    arrays.GLintArray, 
                    'view',
                ),
                None, # XXX Could not determine size of argument objX for gluUnProject4 arrays.GLdoubleArray
                arrays.GLdoubleArray, 
                'objX',
            ),
            None, # XXX Could not determine size of argument objY for gluUnProject4 arrays.GLdoubleArray
            arrays.GLdoubleArray, 
            'objY',
        ),
        None, # XXX Could not determine size of argument objZ for gluUnProject4 arrays.GLdoubleArray
        arrays.GLdoubleArray, 
        'objZ',
    ),
    None, # XXX Could not determine size of argument objW for gluUnProject4 arrays.GLdoubleArray
    arrays.GLdoubleArray, 
    'objW',
)

__all__ = [
    'gluCheckExtension',
    'gluGetNurbsProperty',
    'gluGetTessProperty',
    'gluLoadSamplingMatrices',
    'gluNurbsCurve',
    'gluNurbsSurface',
    'gluPickMatrix',
    'gluProject',
    'gluPwlCurve',
    'gluTessVertex',
    'gluUnProject',
    'gluUnProject4'
]