]>
Commit | Line | Data |
---|---|---|
a29cd6c0 HH |
1 | /* |
2 | * FILE : gtk/glcanvas.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
f786a3b2 | 6 | * Version 1.1 (Build 798) |
a29cd6c0 HH |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
f786a3b2 | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
a29cd6c0 HH |
28 | # else |
29 | # if defined(__BORLANDC__) | |
f786a3b2 | 30 | # define SWIGEXPORT(a) a _export |
a29cd6c0 | 31 | # else |
f786a3b2 | 32 | # define SWIGEXPORT(a) a |
a29cd6c0 HH |
33 | # endif |
34 | # endif | |
35 | #else | |
f786a3b2 | 36 | # define SWIGEXPORT(a) a |
a29cd6c0 HH |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
f786a3b2 | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
a29cd6c0 HH |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
a29cd6c0 HH |
52 | #define SWIG_init initglcanvasc |
53 | ||
54 | #define SWIG_name "glcanvasc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <glcanvas.h> | |
58 | ||
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
61 | PyObject* o3; | |
62 | if (!target) { | |
63 | target = o; | |
64 | } else if (target == Py_None) { | |
65 | Py_DECREF(Py_None); | |
66 | target = o; | |
67 | } else { | |
68 | if (!PyList_Check(target)) { | |
69 | o2 = target; | |
70 | target = PyList_New(0); | |
71 | PyList_Append(target, o2); | |
72 | Py_XDECREF(o2); | |
73 | } | |
74 | PyList_Append(target,o); | |
75 | Py_XDECREF(o); | |
76 | } | |
77 | return target; | |
78 | } | |
79 | ||
80 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
81 | PyObject* o2; | |
82 | PyObject* o3; | |
83 | ||
84 | if (!target) { | |
85 | target = o; | |
86 | } else if (target == Py_None) { | |
87 | Py_DECREF(Py_None); | |
88 | target = o; | |
89 | } else { | |
90 | if (!PyTuple_Check(target)) { | |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
95 | o3 = PyTuple_New(1); | |
96 | PyTuple_SetItem(o3, 0, o); | |
97 | ||
98 | o2 = target; | |
99 | target = PySequence_Concat(o2, o3); | |
100 | Py_DECREF(o2); | |
101 | Py_DECREF(o3); | |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
106 | ||
107 | extern byte* byte_LIST_helper(PyObject* source); | |
108 | extern int* int_LIST_helper(PyObject* source); | |
109 | extern long* long_LIST_helper(PyObject* source); | |
110 | extern char** string_LIST_helper(PyObject* source); | |
111 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
112 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
113 | extern wxString* wxString_LIST_helper(PyObject* source); | |
114 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); | |
115 | ||
116 | ||
117 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
118 | ||
f786a3b2 | 119 | #if defined(__WXMSW__) |
a29cd6c0 HH |
120 | static wxString wxPyEmptyStr(""); |
121 | static wxPoint wxPyDefaultPosition(-1, -1); | |
122 | static wxSize wxPyDefaultSize(-1, -1); | |
123 | #endif | |
f786a3b2 HH |
124 | #ifdef __cplusplus |
125 | extern "C" { | |
126 | #endif | |
a29cd6c0 HH |
127 | static PyObject *_wrap_glArrayElementEXT(PyObject *self, PyObject *args) { |
128 | PyObject * _resultobj; | |
129 | GLint _arg0; | |
130 | ||
131 | self = self; | |
132 | if(!PyArg_ParseTuple(args,"i:glArrayElementEXT",&_arg0)) | |
133 | return NULL; | |
134 | { | |
135 | wxPy_BEGIN_ALLOW_THREADS; | |
136 | glArrayElementEXT(_arg0); | |
137 | ||
138 | wxPy_END_ALLOW_THREADS; | |
139 | } Py_INCREF(Py_None); | |
140 | _resultobj = Py_None; | |
141 | return _resultobj; | |
142 | } | |
143 | ||
144 | static PyObject *_wrap_glColorPointerEXT(PyObject *self, PyObject *args) { | |
145 | PyObject * _resultobj; | |
146 | GLint _arg0; | |
147 | GLenum _arg1; | |
148 | GLsizei _arg2; | |
149 | GLsizei _arg3; | |
150 | GLvoid * _arg4; | |
f786a3b2 | 151 | PyObject * _argo4 = 0; |
a29cd6c0 HH |
152 | |
153 | self = self; | |
f786a3b2 | 154 | if(!PyArg_ParseTuple(args,"iiiiO:glColorPointerEXT",&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
a29cd6c0 | 155 | return NULL; |
f786a3b2 HH |
156 | if (_argo4) { |
157 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
158 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) { | |
a29cd6c0 HH |
159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glColorPointerEXT. Expected _GLvoid_p."); |
160 | return NULL; | |
161 | } | |
162 | } | |
163 | { | |
164 | wxPy_BEGIN_ALLOW_THREADS; | |
165 | glColorPointerEXT(_arg0,_arg1,_arg2,_arg3,_arg4); | |
166 | ||
167 | wxPy_END_ALLOW_THREADS; | |
168 | } Py_INCREF(Py_None); | |
169 | _resultobj = Py_None; | |
170 | return _resultobj; | |
171 | } | |
172 | ||
173 | static PyObject *_wrap_glDrawArraysEXT(PyObject *self, PyObject *args) { | |
174 | PyObject * _resultobj; | |
175 | GLenum _arg0; | |
176 | GLint _arg1; | |
177 | GLsizei _arg2; | |
178 | ||
179 | self = self; | |
180 | if(!PyArg_ParseTuple(args,"iii:glDrawArraysEXT",&_arg0,&_arg1,&_arg2)) | |
181 | return NULL; | |
182 | { | |
183 | wxPy_BEGIN_ALLOW_THREADS; | |
184 | glDrawArraysEXT(_arg0,_arg1,_arg2); | |
185 | ||
186 | wxPy_END_ALLOW_THREADS; | |
187 | } Py_INCREF(Py_None); | |
188 | _resultobj = Py_None; | |
189 | return _resultobj; | |
190 | } | |
191 | ||
192 | static PyObject *_wrap_glEdgeFlagPointerEXT(PyObject *self, PyObject *args) { | |
193 | PyObject * _resultobj; | |
194 | GLsizei _arg0; | |
195 | GLsizei _arg1; | |
196 | GLboolean * _arg2; | |
f786a3b2 | 197 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
198 | |
199 | self = self; | |
f786a3b2 | 200 | if(!PyArg_ParseTuple(args,"iiO:glEdgeFlagPointerEXT",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 201 | return NULL; |
f786a3b2 HH |
202 | if (_argo2) { |
203 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
204 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLboolean_p")) { | |
a29cd6c0 HH |
205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glEdgeFlagPointerEXT. Expected _GLboolean_p."); |
206 | return NULL; | |
207 | } | |
208 | } | |
209 | { | |
210 | wxPy_BEGIN_ALLOW_THREADS; | |
211 | glEdgeFlagPointerEXT(_arg0,_arg1,_arg2); | |
212 | ||
213 | wxPy_END_ALLOW_THREADS; | |
214 | } Py_INCREF(Py_None); | |
215 | _resultobj = Py_None; | |
216 | return _resultobj; | |
217 | } | |
218 | ||
219 | static PyObject *_wrap_glGetPointervEXT(PyObject *self, PyObject *args) { | |
220 | PyObject * _resultobj; | |
221 | GLenum _arg0; | |
222 | GLvoid ** _arg1; | |
f786a3b2 | 223 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
224 | |
225 | self = self; | |
f786a3b2 | 226 | if(!PyArg_ParseTuple(args,"iO:glGetPointervEXT",&_arg0,&_argo1)) |
a29cd6c0 | 227 | return NULL; |
f786a3b2 HH |
228 | if (_argo1) { |
229 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
230 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
a29cd6c0 HH |
231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPointervEXT. Expected _GLvoid_pp."); |
232 | return NULL; | |
233 | } | |
234 | } | |
235 | { | |
236 | wxPy_BEGIN_ALLOW_THREADS; | |
237 | glGetPointervEXT(_arg0,_arg1); | |
238 | ||
239 | wxPy_END_ALLOW_THREADS; | |
240 | } Py_INCREF(Py_None); | |
241 | _resultobj = Py_None; | |
242 | return _resultobj; | |
243 | } | |
244 | ||
245 | static PyObject *_wrap_glIndexPointerEXT(PyObject *self, PyObject *args) { | |
246 | PyObject * _resultobj; | |
247 | GLenum _arg0; | |
248 | GLsizei _arg1; | |
249 | GLsizei _arg2; | |
250 | GLvoid * _arg3; | |
f786a3b2 | 251 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
252 | |
253 | self = self; | |
f786a3b2 | 254 | if(!PyArg_ParseTuple(args,"iiiO:glIndexPointerEXT",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 255 | return NULL; |
f786a3b2 HH |
256 | if (_argo3) { |
257 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
258 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
a29cd6c0 HH |
259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glIndexPointerEXT. Expected _GLvoid_p."); |
260 | return NULL; | |
261 | } | |
262 | } | |
263 | { | |
264 | wxPy_BEGIN_ALLOW_THREADS; | |
265 | glIndexPointerEXT(_arg0,_arg1,_arg2,_arg3); | |
266 | ||
267 | wxPy_END_ALLOW_THREADS; | |
268 | } Py_INCREF(Py_None); | |
269 | _resultobj = Py_None; | |
270 | return _resultobj; | |
271 | } | |
272 | ||
273 | static PyObject *_wrap_glNormalPointerEXT(PyObject *self, PyObject *args) { | |
274 | PyObject * _resultobj; | |
275 | GLenum _arg0; | |
276 | GLsizei _arg1; | |
277 | GLsizei _arg2; | |
278 | GLvoid * _arg3; | |
f786a3b2 | 279 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
280 | |
281 | self = self; | |
f786a3b2 | 282 | if(!PyArg_ParseTuple(args,"iiiO:glNormalPointerEXT",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 283 | return NULL; |
f786a3b2 HH |
284 | if (_argo3) { |
285 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
286 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
a29cd6c0 HH |
287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glNormalPointerEXT. Expected _GLvoid_p."); |
288 | return NULL; | |
289 | } | |
290 | } | |
291 | { | |
292 | wxPy_BEGIN_ALLOW_THREADS; | |
293 | glNormalPointerEXT(_arg0,_arg1,_arg2,_arg3); | |
294 | ||
295 | wxPy_END_ALLOW_THREADS; | |
296 | } Py_INCREF(Py_None); | |
297 | _resultobj = Py_None; | |
298 | return _resultobj; | |
299 | } | |
300 | ||
301 | static PyObject *_wrap_glTexCoordPointerEXT(PyObject *self, PyObject *args) { | |
302 | PyObject * _resultobj; | |
303 | GLint _arg0; | |
304 | GLenum _arg1; | |
305 | GLsizei _arg2; | |
306 | GLsizei _arg3; | |
307 | GLvoid * _arg4; | |
f786a3b2 | 308 | PyObject * _argo4 = 0; |
a29cd6c0 HH |
309 | |
310 | self = self; | |
f786a3b2 | 311 | if(!PyArg_ParseTuple(args,"iiiiO:glTexCoordPointerEXT",&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
a29cd6c0 | 312 | return NULL; |
f786a3b2 HH |
313 | if (_argo4) { |
314 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
315 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) { | |
a29cd6c0 HH |
316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glTexCoordPointerEXT. Expected _GLvoid_p."); |
317 | return NULL; | |
318 | } | |
319 | } | |
320 | { | |
321 | wxPy_BEGIN_ALLOW_THREADS; | |
322 | glTexCoordPointerEXT(_arg0,_arg1,_arg2,_arg3,_arg4); | |
323 | ||
324 | wxPy_END_ALLOW_THREADS; | |
325 | } Py_INCREF(Py_None); | |
326 | _resultobj = Py_None; | |
327 | return _resultobj; | |
328 | } | |
329 | ||
330 | static PyObject *_wrap_glVertexPointerEXT(PyObject *self, PyObject *args) { | |
331 | PyObject * _resultobj; | |
332 | GLint _arg0; | |
333 | GLenum _arg1; | |
334 | GLsizei _arg2; | |
335 | GLsizei _arg3; | |
336 | GLvoid * _arg4; | |
f786a3b2 | 337 | PyObject * _argo4 = 0; |
a29cd6c0 HH |
338 | |
339 | self = self; | |
f786a3b2 | 340 | if(!PyArg_ParseTuple(args,"iiiiO:glVertexPointerEXT",&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
a29cd6c0 | 341 | return NULL; |
f786a3b2 HH |
342 | if (_argo4) { |
343 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
344 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) { | |
a29cd6c0 HH |
345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glVertexPointerEXT. Expected _GLvoid_p."); |
346 | return NULL; | |
347 | } | |
348 | } | |
349 | { | |
350 | wxPy_BEGIN_ALLOW_THREADS; | |
351 | glVertexPointerEXT(_arg0,_arg1,_arg2,_arg3,_arg4); | |
352 | ||
353 | wxPy_END_ALLOW_THREADS; | |
354 | } Py_INCREF(Py_None); | |
355 | _resultobj = Py_None; | |
356 | return _resultobj; | |
357 | } | |
358 | ||
359 | static PyObject *_wrap_glColorTableEXT(PyObject *self, PyObject *args) { | |
360 | PyObject * _resultobj; | |
361 | GLenum _arg0; | |
362 | GLenum _arg1; | |
363 | GLsizei _arg2; | |
364 | GLenum _arg3; | |
365 | GLenum _arg4; | |
366 | GLvoid * _arg5; | |
f786a3b2 | 367 | PyObject * _argo5 = 0; |
a29cd6c0 HH |
368 | |
369 | self = self; | |
f786a3b2 | 370 | if(!PyArg_ParseTuple(args,"iiiiiO:glColorTableEXT",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5)) |
a29cd6c0 | 371 | return NULL; |
f786a3b2 HH |
372 | if (_argo5) { |
373 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
374 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,(char *) 0 )) { | |
a29cd6c0 HH |
375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glColorTableEXT. Expected _GLvoid_p."); |
376 | return NULL; | |
377 | } | |
378 | } | |
379 | { | |
380 | wxPy_BEGIN_ALLOW_THREADS; | |
381 | glColorTableEXT(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
382 | ||
383 | wxPy_END_ALLOW_THREADS; | |
384 | } Py_INCREF(Py_None); | |
385 | _resultobj = Py_None; | |
386 | return _resultobj; | |
387 | } | |
388 | ||
389 | static PyObject *_wrap_glGetColorTableEXT(PyObject *self, PyObject *args) { | |
390 | PyObject * _resultobj; | |
391 | GLenum _arg0; | |
392 | GLenum _arg1; | |
393 | GLenum _arg2; | |
394 | GLvoid * _arg3; | |
f786a3b2 | 395 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
396 | |
397 | self = self; | |
f786a3b2 | 398 | if(!PyArg_ParseTuple(args,"iiiO:glGetColorTableEXT",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 399 | return NULL; |
f786a3b2 HH |
400 | if (_argo3) { |
401 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
402 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
a29cd6c0 HH |
403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetColorTableEXT. Expected _GLvoid_p."); |
404 | return NULL; | |
405 | } | |
406 | } | |
407 | { | |
408 | wxPy_BEGIN_ALLOW_THREADS; | |
409 | glGetColorTableEXT(_arg0,_arg1,_arg2,_arg3); | |
410 | ||
411 | wxPy_END_ALLOW_THREADS; | |
412 | } Py_INCREF(Py_None); | |
413 | _resultobj = Py_None; | |
414 | return _resultobj; | |
415 | } | |
416 | ||
417 | static PyObject *_wrap_glAccum(PyObject *self, PyObject *args) { | |
418 | PyObject * _resultobj; | |
419 | GLenum _arg0; | |
420 | GLfloat _arg1; | |
421 | ||
422 | self = self; | |
423 | if(!PyArg_ParseTuple(args,"if:glAccum",&_arg0,&_arg1)) | |
424 | return NULL; | |
425 | { | |
426 | wxPy_BEGIN_ALLOW_THREADS; | |
427 | glAccum(_arg0,_arg1); | |
428 | ||
429 | wxPy_END_ALLOW_THREADS; | |
430 | } Py_INCREF(Py_None); | |
431 | _resultobj = Py_None; | |
432 | return _resultobj; | |
433 | } | |
434 | ||
435 | static PyObject *_wrap_glAlphaFunc(PyObject *self, PyObject *args) { | |
436 | PyObject * _resultobj; | |
437 | GLenum _arg0; | |
438 | GLclampf _arg1; | |
439 | ||
440 | self = self; | |
441 | if(!PyArg_ParseTuple(args,"if:glAlphaFunc",&_arg0,&_arg1)) | |
442 | return NULL; | |
443 | { | |
444 | wxPy_BEGIN_ALLOW_THREADS; | |
445 | glAlphaFunc(_arg0,_arg1); | |
446 | ||
447 | wxPy_END_ALLOW_THREADS; | |
448 | } Py_INCREF(Py_None); | |
449 | _resultobj = Py_None; | |
450 | return _resultobj; | |
451 | } | |
452 | ||
453 | static PyObject *_wrap_glAreTexturesResident(PyObject *self, PyObject *args) { | |
454 | PyObject * _resultobj; | |
455 | GLboolean _result; | |
456 | GLsizei _arg0; | |
457 | GLuint * _arg1; | |
458 | GLboolean * _arg2; | |
f786a3b2 HH |
459 | PyObject * _argo1 = 0; |
460 | PyObject * _argo2 = 0; | |
a29cd6c0 HH |
461 | |
462 | self = self; | |
f786a3b2 | 463 | if(!PyArg_ParseTuple(args,"iOO:glAreTexturesResident",&_arg0,&_argo1,&_argo2)) |
a29cd6c0 | 464 | return NULL; |
f786a3b2 HH |
465 | if (_argo1) { |
466 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
467 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
a29cd6c0 HH |
468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glAreTexturesResident. Expected _GLuint_p."); |
469 | return NULL; | |
470 | } | |
471 | } | |
f786a3b2 HH |
472 | if (_argo2) { |
473 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
474 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLboolean_p")) { | |
a29cd6c0 HH |
475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glAreTexturesResident. Expected _GLboolean_p."); |
476 | return NULL; | |
477 | } | |
478 | } | |
479 | { | |
480 | wxPy_BEGIN_ALLOW_THREADS; | |
481 | _result = (GLboolean )glAreTexturesResident(_arg0,_arg1,_arg2); | |
482 | ||
483 | wxPy_END_ALLOW_THREADS; | |
484 | } _resultobj = Py_BuildValue("b",_result); | |
485 | return _resultobj; | |
486 | } | |
487 | ||
488 | static PyObject *_wrap_glArrayElement(PyObject *self, PyObject *args) { | |
489 | PyObject * _resultobj; | |
490 | GLint _arg0; | |
491 | ||
492 | self = self; | |
493 | if(!PyArg_ParseTuple(args,"i:glArrayElement",&_arg0)) | |
494 | return NULL; | |
495 | { | |
496 | wxPy_BEGIN_ALLOW_THREADS; | |
497 | glArrayElement(_arg0); | |
498 | ||
499 | wxPy_END_ALLOW_THREADS; | |
500 | } Py_INCREF(Py_None); | |
501 | _resultobj = Py_None; | |
502 | return _resultobj; | |
503 | } | |
504 | ||
505 | static PyObject *_wrap_glBegin(PyObject *self, PyObject *args) { | |
506 | PyObject * _resultobj; | |
507 | GLenum _arg0; | |
508 | ||
509 | self = self; | |
510 | if(!PyArg_ParseTuple(args,"i:glBegin",&_arg0)) | |
511 | return NULL; | |
512 | { | |
513 | wxPy_BEGIN_ALLOW_THREADS; | |
514 | glBegin(_arg0); | |
515 | ||
516 | wxPy_END_ALLOW_THREADS; | |
517 | } Py_INCREF(Py_None); | |
518 | _resultobj = Py_None; | |
519 | return _resultobj; | |
520 | } | |
521 | ||
522 | static PyObject *_wrap_glBindTexture(PyObject *self, PyObject *args) { | |
523 | PyObject * _resultobj; | |
524 | GLenum _arg0; | |
525 | GLuint _arg1; | |
526 | ||
527 | self = self; | |
528 | if(!PyArg_ParseTuple(args,"ii:glBindTexture",&_arg0,&_arg1)) | |
529 | return NULL; | |
530 | { | |
531 | wxPy_BEGIN_ALLOW_THREADS; | |
532 | glBindTexture(_arg0,_arg1); | |
533 | ||
534 | wxPy_END_ALLOW_THREADS; | |
535 | } Py_INCREF(Py_None); | |
536 | _resultobj = Py_None; | |
537 | return _resultobj; | |
538 | } | |
539 | ||
540 | static PyObject *_wrap_glBitmap(PyObject *self, PyObject *args) { | |
541 | PyObject * _resultobj; | |
542 | GLsizei _arg0; | |
543 | GLsizei _arg1; | |
544 | GLfloat _arg2; | |
545 | GLfloat _arg3; | |
546 | GLfloat _arg4; | |
547 | GLfloat _arg5; | |
548 | GLubyte * _arg6; | |
f786a3b2 | 549 | PyObject * _argo6 = 0; |
a29cd6c0 HH |
550 | |
551 | self = self; | |
f786a3b2 | 552 | if(!PyArg_ParseTuple(args,"iiffffO:glBitmap",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6)) |
a29cd6c0 | 553 | return NULL; |
f786a3b2 HH |
554 | if (_argo6) { |
555 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
556 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_GLubyte_p")) { | |
a29cd6c0 HH |
557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glBitmap. Expected _GLubyte_p."); |
558 | return NULL; | |
559 | } | |
560 | } | |
561 | { | |
562 | wxPy_BEGIN_ALLOW_THREADS; | |
563 | glBitmap(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
564 | ||
565 | wxPy_END_ALLOW_THREADS; | |
566 | } Py_INCREF(Py_None); | |
567 | _resultobj = Py_None; | |
568 | return _resultobj; | |
569 | } | |
570 | ||
571 | static PyObject *_wrap_glBlendFunc(PyObject *self, PyObject *args) { | |
572 | PyObject * _resultobj; | |
573 | GLenum _arg0; | |
574 | GLenum _arg1; | |
575 | ||
576 | self = self; | |
577 | if(!PyArg_ParseTuple(args,"ii:glBlendFunc",&_arg0,&_arg1)) | |
578 | return NULL; | |
579 | { | |
580 | wxPy_BEGIN_ALLOW_THREADS; | |
581 | glBlendFunc(_arg0,_arg1); | |
582 | ||
583 | wxPy_END_ALLOW_THREADS; | |
584 | } Py_INCREF(Py_None); | |
585 | _resultobj = Py_None; | |
586 | return _resultobj; | |
587 | } | |
588 | ||
589 | static PyObject *_wrap_glCallList(PyObject *self, PyObject *args) { | |
590 | PyObject * _resultobj; | |
591 | GLuint _arg0; | |
592 | ||
593 | self = self; | |
594 | if(!PyArg_ParseTuple(args,"i:glCallList",&_arg0)) | |
595 | return NULL; | |
596 | { | |
597 | wxPy_BEGIN_ALLOW_THREADS; | |
598 | glCallList(_arg0); | |
599 | ||
600 | wxPy_END_ALLOW_THREADS; | |
601 | } Py_INCREF(Py_None); | |
602 | _resultobj = Py_None; | |
603 | return _resultobj; | |
604 | } | |
605 | ||
606 | static PyObject *_wrap_glCallLists(PyObject *self, PyObject *args) { | |
607 | PyObject * _resultobj; | |
608 | GLsizei _arg0; | |
609 | GLenum _arg1; | |
610 | GLvoid * _arg2; | |
f786a3b2 | 611 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
612 | |
613 | self = self; | |
f786a3b2 | 614 | if(!PyArg_ParseTuple(args,"iiO:glCallLists",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 615 | return NULL; |
f786a3b2 HH |
616 | if (_argo2) { |
617 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
618 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
a29cd6c0 HH |
619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glCallLists. Expected _GLvoid_p."); |
620 | return NULL; | |
621 | } | |
622 | } | |
623 | { | |
624 | wxPy_BEGIN_ALLOW_THREADS; | |
625 | glCallLists(_arg0,_arg1,_arg2); | |
626 | ||
627 | wxPy_END_ALLOW_THREADS; | |
628 | } Py_INCREF(Py_None); | |
629 | _resultobj = Py_None; | |
630 | return _resultobj; | |
631 | } | |
632 | ||
633 | static PyObject *_wrap_glClear(PyObject *self, PyObject *args) { | |
634 | PyObject * _resultobj; | |
635 | GLbitfield _arg0; | |
636 | ||
637 | self = self; | |
638 | if(!PyArg_ParseTuple(args,"i:glClear",&_arg0)) | |
639 | return NULL; | |
640 | { | |
641 | wxPy_BEGIN_ALLOW_THREADS; | |
642 | glClear(_arg0); | |
643 | ||
644 | wxPy_END_ALLOW_THREADS; | |
645 | } Py_INCREF(Py_None); | |
646 | _resultobj = Py_None; | |
647 | return _resultobj; | |
648 | } | |
649 | ||
650 | static PyObject *_wrap_glClearAccum(PyObject *self, PyObject *args) { | |
651 | PyObject * _resultobj; | |
652 | GLfloat _arg0; | |
653 | GLfloat _arg1; | |
654 | GLfloat _arg2; | |
655 | GLfloat _arg3; | |
656 | ||
657 | self = self; | |
658 | if(!PyArg_ParseTuple(args,"ffff:glClearAccum",&_arg0,&_arg1,&_arg2,&_arg3)) | |
659 | return NULL; | |
660 | { | |
661 | wxPy_BEGIN_ALLOW_THREADS; | |
662 | glClearAccum(_arg0,_arg1,_arg2,_arg3); | |
663 | ||
664 | wxPy_END_ALLOW_THREADS; | |
665 | } Py_INCREF(Py_None); | |
666 | _resultobj = Py_None; | |
667 | return _resultobj; | |
668 | } | |
669 | ||
670 | static PyObject *_wrap_glClearColor(PyObject *self, PyObject *args) { | |
671 | PyObject * _resultobj; | |
672 | GLclampf _arg0; | |
673 | GLclampf _arg1; | |
674 | GLclampf _arg2; | |
675 | GLclampf _arg3; | |
676 | ||
677 | self = self; | |
678 | if(!PyArg_ParseTuple(args,"ffff:glClearColor",&_arg0,&_arg1,&_arg2,&_arg3)) | |
679 | return NULL; | |
680 | { | |
681 | wxPy_BEGIN_ALLOW_THREADS; | |
682 | glClearColor(_arg0,_arg1,_arg2,_arg3); | |
683 | ||
684 | wxPy_END_ALLOW_THREADS; | |
685 | } Py_INCREF(Py_None); | |
686 | _resultobj = Py_None; | |
687 | return _resultobj; | |
688 | } | |
689 | ||
690 | static PyObject *_wrap_glClearDepth(PyObject *self, PyObject *args) { | |
691 | PyObject * _resultobj; | |
692 | GLclampd _arg0; | |
693 | ||
694 | self = self; | |
695 | if(!PyArg_ParseTuple(args,"d:glClearDepth",&_arg0)) | |
696 | return NULL; | |
697 | { | |
698 | wxPy_BEGIN_ALLOW_THREADS; | |
699 | glClearDepth(_arg0); | |
700 | ||
701 | wxPy_END_ALLOW_THREADS; | |
702 | } Py_INCREF(Py_None); | |
703 | _resultobj = Py_None; | |
704 | return _resultobj; | |
705 | } | |
706 | ||
707 | static PyObject *_wrap_glClearIndex(PyObject *self, PyObject *args) { | |
708 | PyObject * _resultobj; | |
709 | GLfloat _arg0; | |
710 | ||
711 | self = self; | |
712 | if(!PyArg_ParseTuple(args,"f:glClearIndex",&_arg0)) | |
713 | return NULL; | |
714 | { | |
715 | wxPy_BEGIN_ALLOW_THREADS; | |
716 | glClearIndex(_arg0); | |
717 | ||
718 | wxPy_END_ALLOW_THREADS; | |
719 | } Py_INCREF(Py_None); | |
720 | _resultobj = Py_None; | |
721 | return _resultobj; | |
722 | } | |
723 | ||
724 | static PyObject *_wrap_glClearStencil(PyObject *self, PyObject *args) { | |
725 | PyObject * _resultobj; | |
726 | GLint _arg0; | |
727 | ||
728 | self = self; | |
729 | if(!PyArg_ParseTuple(args,"i:glClearStencil",&_arg0)) | |
730 | return NULL; | |
731 | { | |
732 | wxPy_BEGIN_ALLOW_THREADS; | |
733 | glClearStencil(_arg0); | |
734 | ||
735 | wxPy_END_ALLOW_THREADS; | |
736 | } Py_INCREF(Py_None); | |
737 | _resultobj = Py_None; | |
738 | return _resultobj; | |
739 | } | |
740 | ||
741 | static PyObject *_wrap_glClipPlane(PyObject *self, PyObject *args) { | |
742 | PyObject * _resultobj; | |
743 | GLenum _arg0; | |
744 | GLdouble * _arg1; | |
f786a3b2 | 745 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
746 | |
747 | self = self; | |
f786a3b2 | 748 | if(!PyArg_ParseTuple(args,"iO:glClipPlane",&_arg0,&_argo1)) |
a29cd6c0 | 749 | return NULL; |
f786a3b2 HH |
750 | if (_argo1) { |
751 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
752 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
a29cd6c0 HH |
753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glClipPlane. Expected _GLdouble_p."); |
754 | return NULL; | |
755 | } | |
756 | } | |
757 | { | |
758 | wxPy_BEGIN_ALLOW_THREADS; | |
759 | glClipPlane(_arg0,_arg1); | |
760 | ||
761 | wxPy_END_ALLOW_THREADS; | |
762 | } Py_INCREF(Py_None); | |
763 | _resultobj = Py_None; | |
764 | return _resultobj; | |
765 | } | |
766 | ||
767 | static PyObject *_wrap_glColor3b(PyObject *self, PyObject *args) { | |
768 | PyObject * _resultobj; | |
769 | GLbyte _arg0; | |
770 | GLbyte _arg1; | |
771 | GLbyte _arg2; | |
772 | ||
773 | self = self; | |
774 | if(!PyArg_ParseTuple(args,"bbb:glColor3b",&_arg0,&_arg1,&_arg2)) | |
775 | return NULL; | |
776 | { | |
777 | wxPy_BEGIN_ALLOW_THREADS; | |
778 | glColor3b(_arg0,_arg1,_arg2); | |
779 | ||
780 | wxPy_END_ALLOW_THREADS; | |
781 | } Py_INCREF(Py_None); | |
782 | _resultobj = Py_None; | |
783 | return _resultobj; | |
784 | } | |
785 | ||
786 | static PyObject *_wrap_glColor3bv(PyObject *self, PyObject *args) { | |
787 | PyObject * _resultobj; | |
788 | GLbyte * _arg0; | |
f786a3b2 | 789 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
790 | |
791 | self = self; | |
f786a3b2 | 792 | if(!PyArg_ParseTuple(args,"O:glColor3bv",&_argo0)) |
a29cd6c0 | 793 | return NULL; |
f786a3b2 HH |
794 | if (_argo0) { |
795 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
796 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) { | |
a29cd6c0 HH |
797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3bv. Expected _GLbyte_p."); |
798 | return NULL; | |
799 | } | |
800 | } | |
801 | { | |
802 | wxPy_BEGIN_ALLOW_THREADS; | |
803 | glColor3bv(_arg0); | |
804 | ||
805 | wxPy_END_ALLOW_THREADS; | |
806 | } Py_INCREF(Py_None); | |
807 | _resultobj = Py_None; | |
808 | return _resultobj; | |
809 | } | |
810 | ||
811 | static PyObject *_wrap_glColor3d(PyObject *self, PyObject *args) { | |
812 | PyObject * _resultobj; | |
813 | GLdouble _arg0; | |
814 | GLdouble _arg1; | |
815 | GLdouble _arg2; | |
816 | ||
817 | self = self; | |
818 | if(!PyArg_ParseTuple(args,"ddd:glColor3d",&_arg0,&_arg1,&_arg2)) | |
819 | return NULL; | |
820 | { | |
821 | wxPy_BEGIN_ALLOW_THREADS; | |
822 | glColor3d(_arg0,_arg1,_arg2); | |
823 | ||
824 | wxPy_END_ALLOW_THREADS; | |
825 | } Py_INCREF(Py_None); | |
826 | _resultobj = Py_None; | |
827 | return _resultobj; | |
828 | } | |
829 | ||
830 | static PyObject *_wrap_glColor3dv(PyObject *self, PyObject *args) { | |
831 | PyObject * _resultobj; | |
832 | GLdouble * _arg0; | |
f786a3b2 | 833 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
834 | |
835 | self = self; | |
f786a3b2 | 836 | if(!PyArg_ParseTuple(args,"O:glColor3dv",&_argo0)) |
a29cd6c0 | 837 | return NULL; |
f786a3b2 HH |
838 | if (_argo0) { |
839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3dv. Expected _GLdouble_p."); |
842 | return NULL; | |
843 | } | |
844 | } | |
845 | { | |
846 | wxPy_BEGIN_ALLOW_THREADS; | |
847 | glColor3dv(_arg0); | |
848 | ||
849 | wxPy_END_ALLOW_THREADS; | |
850 | } Py_INCREF(Py_None); | |
851 | _resultobj = Py_None; | |
852 | return _resultobj; | |
853 | } | |
854 | ||
855 | static PyObject *_wrap_glColor3f(PyObject *self, PyObject *args) { | |
856 | PyObject * _resultobj; | |
857 | GLfloat _arg0; | |
858 | GLfloat _arg1; | |
859 | GLfloat _arg2; | |
860 | ||
861 | self = self; | |
862 | if(!PyArg_ParseTuple(args,"fff:glColor3f",&_arg0,&_arg1,&_arg2)) | |
863 | return NULL; | |
864 | { | |
865 | wxPy_BEGIN_ALLOW_THREADS; | |
866 | glColor3f(_arg0,_arg1,_arg2); | |
867 | ||
868 | wxPy_END_ALLOW_THREADS; | |
869 | } Py_INCREF(Py_None); | |
870 | _resultobj = Py_None; | |
871 | return _resultobj; | |
872 | } | |
873 | ||
874 | static PyObject *_wrap_glColor3fv(PyObject *self, PyObject *args) { | |
875 | PyObject * _resultobj; | |
876 | GLfloat * _arg0; | |
f786a3b2 | 877 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
878 | |
879 | self = self; | |
f786a3b2 | 880 | if(!PyArg_ParseTuple(args,"O:glColor3fv",&_argo0)) |
a29cd6c0 | 881 | return NULL; |
f786a3b2 HH |
882 | if (_argo0) { |
883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3fv. Expected _GLfloat_p."); |
886 | return NULL; | |
887 | } | |
888 | } | |
889 | { | |
890 | wxPy_BEGIN_ALLOW_THREADS; | |
891 | glColor3fv(_arg0); | |
892 | ||
893 | wxPy_END_ALLOW_THREADS; | |
894 | } Py_INCREF(Py_None); | |
895 | _resultobj = Py_None; | |
896 | return _resultobj; | |
897 | } | |
898 | ||
899 | static PyObject *_wrap_glColor3i(PyObject *self, PyObject *args) { | |
900 | PyObject * _resultobj; | |
901 | GLint _arg0; | |
902 | GLint _arg1; | |
903 | GLint _arg2; | |
904 | ||
905 | self = self; | |
906 | if(!PyArg_ParseTuple(args,"iii:glColor3i",&_arg0,&_arg1,&_arg2)) | |
907 | return NULL; | |
908 | { | |
909 | wxPy_BEGIN_ALLOW_THREADS; | |
910 | glColor3i(_arg0,_arg1,_arg2); | |
911 | ||
912 | wxPy_END_ALLOW_THREADS; | |
913 | } Py_INCREF(Py_None); | |
914 | _resultobj = Py_None; | |
915 | return _resultobj; | |
916 | } | |
917 | ||
918 | static PyObject *_wrap_glColor3iv(PyObject *self, PyObject *args) { | |
919 | PyObject * _resultobj; | |
920 | GLint * _arg0; | |
f786a3b2 | 921 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
922 | |
923 | self = self; | |
f786a3b2 | 924 | if(!PyArg_ParseTuple(args,"O:glColor3iv",&_argo0)) |
a29cd6c0 | 925 | return NULL; |
f786a3b2 HH |
926 | if (_argo0) { |
927 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
928 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3iv. Expected _GLint_p."); |
930 | return NULL; | |
931 | } | |
932 | } | |
933 | { | |
934 | wxPy_BEGIN_ALLOW_THREADS; | |
935 | glColor3iv(_arg0); | |
936 | ||
937 | wxPy_END_ALLOW_THREADS; | |
938 | } Py_INCREF(Py_None); | |
939 | _resultobj = Py_None; | |
940 | return _resultobj; | |
941 | } | |
942 | ||
943 | static PyObject *_wrap_glColor3s(PyObject *self, PyObject *args) { | |
944 | PyObject * _resultobj; | |
945 | GLshort _arg0; | |
946 | GLshort _arg1; | |
947 | GLshort _arg2; | |
948 | ||
949 | self = self; | |
950 | if(!PyArg_ParseTuple(args,"hhh:glColor3s",&_arg0,&_arg1,&_arg2)) | |
951 | return NULL; | |
952 | { | |
953 | wxPy_BEGIN_ALLOW_THREADS; | |
954 | glColor3s(_arg0,_arg1,_arg2); | |
955 | ||
956 | wxPy_END_ALLOW_THREADS; | |
957 | } Py_INCREF(Py_None); | |
958 | _resultobj = Py_None; | |
959 | return _resultobj; | |
960 | } | |
961 | ||
962 | static PyObject *_wrap_glColor3sv(PyObject *self, PyObject *args) { | |
963 | PyObject * _resultobj; | |
964 | GLshort * _arg0; | |
f786a3b2 | 965 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
966 | |
967 | self = self; | |
f786a3b2 | 968 | if(!PyArg_ParseTuple(args,"O:glColor3sv",&_argo0)) |
a29cd6c0 | 969 | return NULL; |
f786a3b2 HH |
970 | if (_argo0) { |
971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3sv. Expected _GLshort_p."); |
974 | return NULL; | |
975 | } | |
976 | } | |
977 | { | |
978 | wxPy_BEGIN_ALLOW_THREADS; | |
979 | glColor3sv(_arg0); | |
980 | ||
981 | wxPy_END_ALLOW_THREADS; | |
982 | } Py_INCREF(Py_None); | |
983 | _resultobj = Py_None; | |
984 | return _resultobj; | |
985 | } | |
986 | ||
987 | static PyObject *_wrap_glColor3ub(PyObject *self, PyObject *args) { | |
988 | PyObject * _resultobj; | |
989 | GLubyte _arg0; | |
990 | GLubyte _arg1; | |
991 | GLubyte _arg2; | |
992 | ||
993 | self = self; | |
994 | if(!PyArg_ParseTuple(args,"bbb:glColor3ub",&_arg0,&_arg1,&_arg2)) | |
995 | return NULL; | |
996 | { | |
997 | wxPy_BEGIN_ALLOW_THREADS; | |
998 | glColor3ub(_arg0,_arg1,_arg2); | |
999 | ||
1000 | wxPy_END_ALLOW_THREADS; | |
1001 | } Py_INCREF(Py_None); | |
1002 | _resultobj = Py_None; | |
1003 | return _resultobj; | |
1004 | } | |
1005 | ||
1006 | static PyObject *_wrap_glColor3ubv(PyObject *self, PyObject *args) { | |
1007 | PyObject * _resultobj; | |
1008 | GLubyte * _arg0; | |
f786a3b2 | 1009 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1010 | |
1011 | self = self; | |
f786a3b2 | 1012 | if(!PyArg_ParseTuple(args,"O:glColor3ubv",&_argo0)) |
a29cd6c0 | 1013 | return NULL; |
f786a3b2 HH |
1014 | if (_argo0) { |
1015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
a29cd6c0 HH |
1017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3ubv. Expected _GLubyte_p."); |
1018 | return NULL; | |
1019 | } | |
1020 | } | |
1021 | { | |
1022 | wxPy_BEGIN_ALLOW_THREADS; | |
1023 | glColor3ubv(_arg0); | |
1024 | ||
1025 | wxPy_END_ALLOW_THREADS; | |
1026 | } Py_INCREF(Py_None); | |
1027 | _resultobj = Py_None; | |
1028 | return _resultobj; | |
1029 | } | |
1030 | ||
1031 | static PyObject *_wrap_glColor3ui(PyObject *self, PyObject *args) { | |
1032 | PyObject * _resultobj; | |
1033 | GLuint _arg0; | |
1034 | GLuint _arg1; | |
1035 | GLuint _arg2; | |
1036 | ||
1037 | self = self; | |
1038 | if(!PyArg_ParseTuple(args,"iii:glColor3ui",&_arg0,&_arg1,&_arg2)) | |
1039 | return NULL; | |
1040 | { | |
1041 | wxPy_BEGIN_ALLOW_THREADS; | |
1042 | glColor3ui(_arg0,_arg1,_arg2); | |
1043 | ||
1044 | wxPy_END_ALLOW_THREADS; | |
1045 | } Py_INCREF(Py_None); | |
1046 | _resultobj = Py_None; | |
1047 | return _resultobj; | |
1048 | } | |
1049 | ||
1050 | static PyObject *_wrap_glColor3uiv(PyObject *self, PyObject *args) { | |
1051 | PyObject * _resultobj; | |
1052 | GLuint * _arg0; | |
f786a3b2 | 1053 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1054 | |
1055 | self = self; | |
f786a3b2 | 1056 | if(!PyArg_ParseTuple(args,"O:glColor3uiv",&_argo0)) |
a29cd6c0 | 1057 | return NULL; |
f786a3b2 HH |
1058 | if (_argo0) { |
1059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLuint_p")) { | |
a29cd6c0 HH |
1061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3uiv. Expected _GLuint_p."); |
1062 | return NULL; | |
1063 | } | |
1064 | } | |
1065 | { | |
1066 | wxPy_BEGIN_ALLOW_THREADS; | |
1067 | glColor3uiv(_arg0); | |
1068 | ||
1069 | wxPy_END_ALLOW_THREADS; | |
1070 | } Py_INCREF(Py_None); | |
1071 | _resultobj = Py_None; | |
1072 | return _resultobj; | |
1073 | } | |
1074 | ||
1075 | static PyObject *_wrap_glColor3us(PyObject *self, PyObject *args) { | |
1076 | PyObject * _resultobj; | |
1077 | GLushort _arg0; | |
1078 | GLushort _arg1; | |
1079 | GLushort _arg2; | |
1080 | ||
1081 | self = self; | |
1082 | if(!PyArg_ParseTuple(args,"hhh:glColor3us",&_arg0,&_arg1,&_arg2)) | |
1083 | return NULL; | |
1084 | { | |
1085 | wxPy_BEGIN_ALLOW_THREADS; | |
1086 | glColor3us(_arg0,_arg1,_arg2); | |
1087 | ||
1088 | wxPy_END_ALLOW_THREADS; | |
1089 | } Py_INCREF(Py_None); | |
1090 | _resultobj = Py_None; | |
1091 | return _resultobj; | |
1092 | } | |
1093 | ||
1094 | static PyObject *_wrap_glColor3usv(PyObject *self, PyObject *args) { | |
1095 | PyObject * _resultobj; | |
1096 | GLushort * _arg0; | |
f786a3b2 | 1097 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1098 | |
1099 | self = self; | |
f786a3b2 | 1100 | if(!PyArg_ParseTuple(args,"O:glColor3usv",&_argo0)) |
a29cd6c0 | 1101 | return NULL; |
f786a3b2 HH |
1102 | if (_argo0) { |
1103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLushort_p")) { | |
a29cd6c0 HH |
1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3usv. Expected _GLushort_p."); |
1106 | return NULL; | |
1107 | } | |
1108 | } | |
1109 | { | |
1110 | wxPy_BEGIN_ALLOW_THREADS; | |
1111 | glColor3usv(_arg0); | |
1112 | ||
1113 | wxPy_END_ALLOW_THREADS; | |
1114 | } Py_INCREF(Py_None); | |
1115 | _resultobj = Py_None; | |
1116 | return _resultobj; | |
1117 | } | |
1118 | ||
1119 | static PyObject *_wrap_glColor4b(PyObject *self, PyObject *args) { | |
1120 | PyObject * _resultobj; | |
1121 | GLbyte _arg0; | |
1122 | GLbyte _arg1; | |
1123 | GLbyte _arg2; | |
1124 | GLbyte _arg3; | |
1125 | ||
1126 | self = self; | |
1127 | if(!PyArg_ParseTuple(args,"bbbb:glColor4b",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1128 | return NULL; | |
1129 | { | |
1130 | wxPy_BEGIN_ALLOW_THREADS; | |
1131 | glColor4b(_arg0,_arg1,_arg2,_arg3); | |
1132 | ||
1133 | wxPy_END_ALLOW_THREADS; | |
1134 | } Py_INCREF(Py_None); | |
1135 | _resultobj = Py_None; | |
1136 | return _resultobj; | |
1137 | } | |
1138 | ||
1139 | static PyObject *_wrap_glColor4bv(PyObject *self, PyObject *args) { | |
1140 | PyObject * _resultobj; | |
1141 | GLbyte * _arg0; | |
f786a3b2 | 1142 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1143 | |
1144 | self = self; | |
f786a3b2 | 1145 | if(!PyArg_ParseTuple(args,"O:glColor4bv",&_argo0)) |
a29cd6c0 | 1146 | return NULL; |
f786a3b2 HH |
1147 | if (_argo0) { |
1148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) { | |
a29cd6c0 HH |
1150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4bv. Expected _GLbyte_p."); |
1151 | return NULL; | |
1152 | } | |
1153 | } | |
1154 | { | |
1155 | wxPy_BEGIN_ALLOW_THREADS; | |
1156 | glColor4bv(_arg0); | |
1157 | ||
1158 | wxPy_END_ALLOW_THREADS; | |
1159 | } Py_INCREF(Py_None); | |
1160 | _resultobj = Py_None; | |
1161 | return _resultobj; | |
1162 | } | |
1163 | ||
1164 | static PyObject *_wrap_glColor4d(PyObject *self, PyObject *args) { | |
1165 | PyObject * _resultobj; | |
1166 | GLdouble _arg0; | |
1167 | GLdouble _arg1; | |
1168 | GLdouble _arg2; | |
1169 | GLdouble _arg3; | |
1170 | ||
1171 | self = self; | |
1172 | if(!PyArg_ParseTuple(args,"dddd:glColor4d",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1173 | return NULL; | |
1174 | { | |
1175 | wxPy_BEGIN_ALLOW_THREADS; | |
1176 | glColor4d(_arg0,_arg1,_arg2,_arg3); | |
1177 | ||
1178 | wxPy_END_ALLOW_THREADS; | |
1179 | } Py_INCREF(Py_None); | |
1180 | _resultobj = Py_None; | |
1181 | return _resultobj; | |
1182 | } | |
1183 | ||
1184 | static PyObject *_wrap_glColor4dv(PyObject *self, PyObject *args) { | |
1185 | PyObject * _resultobj; | |
1186 | GLdouble * _arg0; | |
f786a3b2 | 1187 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1188 | |
1189 | self = self; | |
f786a3b2 | 1190 | if(!PyArg_ParseTuple(args,"O:glColor4dv",&_argo0)) |
a29cd6c0 | 1191 | return NULL; |
f786a3b2 HH |
1192 | if (_argo0) { |
1193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
1195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4dv. Expected _GLdouble_p."); |
1196 | return NULL; | |
1197 | } | |
1198 | } | |
1199 | { | |
1200 | wxPy_BEGIN_ALLOW_THREADS; | |
1201 | glColor4dv(_arg0); | |
1202 | ||
1203 | wxPy_END_ALLOW_THREADS; | |
1204 | } Py_INCREF(Py_None); | |
1205 | _resultobj = Py_None; | |
1206 | return _resultobj; | |
1207 | } | |
1208 | ||
1209 | static PyObject *_wrap_glColor4f(PyObject *self, PyObject *args) { | |
1210 | PyObject * _resultobj; | |
1211 | GLfloat _arg0; | |
1212 | GLfloat _arg1; | |
1213 | GLfloat _arg2; | |
1214 | GLfloat _arg3; | |
1215 | ||
1216 | self = self; | |
1217 | if(!PyArg_ParseTuple(args,"ffff:glColor4f",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1218 | return NULL; | |
1219 | { | |
1220 | wxPy_BEGIN_ALLOW_THREADS; | |
1221 | glColor4f(_arg0,_arg1,_arg2,_arg3); | |
1222 | ||
1223 | wxPy_END_ALLOW_THREADS; | |
1224 | } Py_INCREF(Py_None); | |
1225 | _resultobj = Py_None; | |
1226 | return _resultobj; | |
1227 | } | |
1228 | ||
1229 | static PyObject *_wrap_glColor4fv(PyObject *self, PyObject *args) { | |
1230 | PyObject * _resultobj; | |
1231 | GLfloat * _arg0; | |
f786a3b2 | 1232 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1233 | |
1234 | self = self; | |
f786a3b2 | 1235 | if(!PyArg_ParseTuple(args,"O:glColor4fv",&_argo0)) |
a29cd6c0 | 1236 | return NULL; |
f786a3b2 HH |
1237 | if (_argo0) { |
1238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
1240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4fv. Expected _GLfloat_p."); |
1241 | return NULL; | |
1242 | } | |
1243 | } | |
1244 | { | |
1245 | wxPy_BEGIN_ALLOW_THREADS; | |
1246 | glColor4fv(_arg0); | |
1247 | ||
1248 | wxPy_END_ALLOW_THREADS; | |
1249 | } Py_INCREF(Py_None); | |
1250 | _resultobj = Py_None; | |
1251 | return _resultobj; | |
1252 | } | |
1253 | ||
1254 | static PyObject *_wrap_glColor4i(PyObject *self, PyObject *args) { | |
1255 | PyObject * _resultobj; | |
1256 | GLint _arg0; | |
1257 | GLint _arg1; | |
1258 | GLint _arg2; | |
1259 | GLint _arg3; | |
1260 | ||
1261 | self = self; | |
1262 | if(!PyArg_ParseTuple(args,"iiii:glColor4i",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1263 | return NULL; | |
1264 | { | |
1265 | wxPy_BEGIN_ALLOW_THREADS; | |
1266 | glColor4i(_arg0,_arg1,_arg2,_arg3); | |
1267 | ||
1268 | wxPy_END_ALLOW_THREADS; | |
1269 | } Py_INCREF(Py_None); | |
1270 | _resultobj = Py_None; | |
1271 | return _resultobj; | |
1272 | } | |
1273 | ||
1274 | static PyObject *_wrap_glColor4iv(PyObject *self, PyObject *args) { | |
1275 | PyObject * _resultobj; | |
1276 | GLint * _arg0; | |
f786a3b2 | 1277 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1278 | |
1279 | self = self; | |
f786a3b2 | 1280 | if(!PyArg_ParseTuple(args,"O:glColor4iv",&_argo0)) |
a29cd6c0 | 1281 | return NULL; |
f786a3b2 HH |
1282 | if (_argo0) { |
1283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
1285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4iv. Expected _GLint_p."); |
1286 | return NULL; | |
1287 | } | |
1288 | } | |
1289 | { | |
1290 | wxPy_BEGIN_ALLOW_THREADS; | |
1291 | glColor4iv(_arg0); | |
1292 | ||
1293 | wxPy_END_ALLOW_THREADS; | |
1294 | } Py_INCREF(Py_None); | |
1295 | _resultobj = Py_None; | |
1296 | return _resultobj; | |
1297 | } | |
1298 | ||
1299 | static PyObject *_wrap_glColor4s(PyObject *self, PyObject *args) { | |
1300 | PyObject * _resultobj; | |
1301 | GLshort _arg0; | |
1302 | GLshort _arg1; | |
1303 | GLshort _arg2; | |
1304 | GLshort _arg3; | |
1305 | ||
1306 | self = self; | |
1307 | if(!PyArg_ParseTuple(args,"hhhh:glColor4s",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1308 | return NULL; | |
1309 | { | |
1310 | wxPy_BEGIN_ALLOW_THREADS; | |
1311 | glColor4s(_arg0,_arg1,_arg2,_arg3); | |
1312 | ||
1313 | wxPy_END_ALLOW_THREADS; | |
1314 | } Py_INCREF(Py_None); | |
1315 | _resultobj = Py_None; | |
1316 | return _resultobj; | |
1317 | } | |
1318 | ||
1319 | static PyObject *_wrap_glColor4sv(PyObject *self, PyObject *args) { | |
1320 | PyObject * _resultobj; | |
1321 | GLshort * _arg0; | |
f786a3b2 | 1322 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1323 | |
1324 | self = self; | |
f786a3b2 | 1325 | if(!PyArg_ParseTuple(args,"O:glColor4sv",&_argo0)) |
a29cd6c0 | 1326 | return NULL; |
f786a3b2 HH |
1327 | if (_argo0) { |
1328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
1330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4sv. Expected _GLshort_p."); |
1331 | return NULL; | |
1332 | } | |
1333 | } | |
1334 | { | |
1335 | wxPy_BEGIN_ALLOW_THREADS; | |
1336 | glColor4sv(_arg0); | |
1337 | ||
1338 | wxPy_END_ALLOW_THREADS; | |
1339 | } Py_INCREF(Py_None); | |
1340 | _resultobj = Py_None; | |
1341 | return _resultobj; | |
1342 | } | |
1343 | ||
1344 | static PyObject *_wrap_glColor4ub(PyObject *self, PyObject *args) { | |
1345 | PyObject * _resultobj; | |
1346 | GLubyte _arg0; | |
1347 | GLubyte _arg1; | |
1348 | GLubyte _arg2; | |
1349 | GLubyte _arg3; | |
1350 | ||
1351 | self = self; | |
1352 | if(!PyArg_ParseTuple(args,"bbbb:glColor4ub",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1353 | return NULL; | |
1354 | { | |
1355 | wxPy_BEGIN_ALLOW_THREADS; | |
1356 | glColor4ub(_arg0,_arg1,_arg2,_arg3); | |
1357 | ||
1358 | wxPy_END_ALLOW_THREADS; | |
1359 | } Py_INCREF(Py_None); | |
1360 | _resultobj = Py_None; | |
1361 | return _resultobj; | |
1362 | } | |
1363 | ||
1364 | static PyObject *_wrap_glColor4ubv(PyObject *self, PyObject *args) { | |
1365 | PyObject * _resultobj; | |
1366 | GLubyte * _arg0; | |
f786a3b2 | 1367 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1368 | |
1369 | self = self; | |
f786a3b2 | 1370 | if(!PyArg_ParseTuple(args,"O:glColor4ubv",&_argo0)) |
a29cd6c0 | 1371 | return NULL; |
f786a3b2 HH |
1372 | if (_argo0) { |
1373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
a29cd6c0 HH |
1375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4ubv. Expected _GLubyte_p."); |
1376 | return NULL; | |
1377 | } | |
1378 | } | |
1379 | { | |
1380 | wxPy_BEGIN_ALLOW_THREADS; | |
1381 | glColor4ubv(_arg0); | |
1382 | ||
1383 | wxPy_END_ALLOW_THREADS; | |
1384 | } Py_INCREF(Py_None); | |
1385 | _resultobj = Py_None; | |
1386 | return _resultobj; | |
1387 | } | |
1388 | ||
1389 | static PyObject *_wrap_glColor4ui(PyObject *self, PyObject *args) { | |
1390 | PyObject * _resultobj; | |
1391 | GLuint _arg0; | |
1392 | GLuint _arg1; | |
1393 | GLuint _arg2; | |
1394 | GLuint _arg3; | |
1395 | ||
1396 | self = self; | |
1397 | if(!PyArg_ParseTuple(args,"iiii:glColor4ui",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1398 | return NULL; | |
1399 | { | |
1400 | wxPy_BEGIN_ALLOW_THREADS; | |
1401 | glColor4ui(_arg0,_arg1,_arg2,_arg3); | |
1402 | ||
1403 | wxPy_END_ALLOW_THREADS; | |
1404 | } Py_INCREF(Py_None); | |
1405 | _resultobj = Py_None; | |
1406 | return _resultobj; | |
1407 | } | |
1408 | ||
1409 | static PyObject *_wrap_glColor4uiv(PyObject *self, PyObject *args) { | |
1410 | PyObject * _resultobj; | |
1411 | GLuint * _arg0; | |
f786a3b2 | 1412 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1413 | |
1414 | self = self; | |
f786a3b2 | 1415 | if(!PyArg_ParseTuple(args,"O:glColor4uiv",&_argo0)) |
a29cd6c0 | 1416 | return NULL; |
f786a3b2 HH |
1417 | if (_argo0) { |
1418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLuint_p")) { | |
a29cd6c0 HH |
1420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4uiv. Expected _GLuint_p."); |
1421 | return NULL; | |
1422 | } | |
1423 | } | |
1424 | { | |
1425 | wxPy_BEGIN_ALLOW_THREADS; | |
1426 | glColor4uiv(_arg0); | |
1427 | ||
1428 | wxPy_END_ALLOW_THREADS; | |
1429 | } Py_INCREF(Py_None); | |
1430 | _resultobj = Py_None; | |
1431 | return _resultobj; | |
1432 | } | |
1433 | ||
1434 | static PyObject *_wrap_glColor4us(PyObject *self, PyObject *args) { | |
1435 | PyObject * _resultobj; | |
1436 | GLushort _arg0; | |
1437 | GLushort _arg1; | |
1438 | GLushort _arg2; | |
1439 | GLushort _arg3; | |
1440 | ||
1441 | self = self; | |
1442 | if(!PyArg_ParseTuple(args,"hhhh:glColor4us",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1443 | return NULL; | |
1444 | { | |
1445 | wxPy_BEGIN_ALLOW_THREADS; | |
1446 | glColor4us(_arg0,_arg1,_arg2,_arg3); | |
1447 | ||
1448 | wxPy_END_ALLOW_THREADS; | |
1449 | } Py_INCREF(Py_None); | |
1450 | _resultobj = Py_None; | |
1451 | return _resultobj; | |
1452 | } | |
1453 | ||
1454 | static PyObject *_wrap_glColor4usv(PyObject *self, PyObject *args) { | |
1455 | PyObject * _resultobj; | |
1456 | GLushort * _arg0; | |
f786a3b2 | 1457 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1458 | |
1459 | self = self; | |
f786a3b2 | 1460 | if(!PyArg_ParseTuple(args,"O:glColor4usv",&_argo0)) |
a29cd6c0 | 1461 | return NULL; |
f786a3b2 HH |
1462 | if (_argo0) { |
1463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLushort_p")) { | |
a29cd6c0 HH |
1465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4usv. Expected _GLushort_p."); |
1466 | return NULL; | |
1467 | } | |
1468 | } | |
1469 | { | |
1470 | wxPy_BEGIN_ALLOW_THREADS; | |
1471 | glColor4usv(_arg0); | |
1472 | ||
1473 | wxPy_END_ALLOW_THREADS; | |
1474 | } Py_INCREF(Py_None); | |
1475 | _resultobj = Py_None; | |
1476 | return _resultobj; | |
1477 | } | |
1478 | ||
1479 | static PyObject *_wrap_glColorMask(PyObject *self, PyObject *args) { | |
1480 | PyObject * _resultobj; | |
1481 | GLboolean _arg0; | |
1482 | GLboolean _arg1; | |
1483 | GLboolean _arg2; | |
1484 | GLboolean _arg3; | |
1485 | ||
1486 | self = self; | |
1487 | if(!PyArg_ParseTuple(args,"bbbb:glColorMask",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1488 | return NULL; | |
1489 | { | |
1490 | wxPy_BEGIN_ALLOW_THREADS; | |
1491 | glColorMask(_arg0,_arg1,_arg2,_arg3); | |
1492 | ||
1493 | wxPy_END_ALLOW_THREADS; | |
1494 | } Py_INCREF(Py_None); | |
1495 | _resultobj = Py_None; | |
1496 | return _resultobj; | |
1497 | } | |
1498 | ||
1499 | static PyObject *_wrap_glColorMaterial(PyObject *self, PyObject *args) { | |
1500 | PyObject * _resultobj; | |
1501 | GLenum _arg0; | |
1502 | GLenum _arg1; | |
1503 | ||
1504 | self = self; | |
1505 | if(!PyArg_ParseTuple(args,"ii:glColorMaterial",&_arg0,&_arg1)) | |
1506 | return NULL; | |
1507 | { | |
1508 | wxPy_BEGIN_ALLOW_THREADS; | |
1509 | glColorMaterial(_arg0,_arg1); | |
1510 | ||
1511 | wxPy_END_ALLOW_THREADS; | |
1512 | } Py_INCREF(Py_None); | |
1513 | _resultobj = Py_None; | |
1514 | return _resultobj; | |
1515 | } | |
1516 | ||
1517 | static PyObject *_wrap_glColorPointer(PyObject *self, PyObject *args) { | |
1518 | PyObject * _resultobj; | |
1519 | GLint _arg0; | |
1520 | GLenum _arg1; | |
1521 | GLsizei _arg2; | |
1522 | GLvoid * _arg3; | |
f786a3b2 | 1523 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
1524 | |
1525 | self = self; | |
f786a3b2 | 1526 | if(!PyArg_ParseTuple(args,"iiiO:glColorPointer",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 1527 | return NULL; |
f786a3b2 HH |
1528 | if (_argo3) { |
1529 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1530 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
a29cd6c0 HH |
1531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glColorPointer. Expected _GLvoid_p."); |
1532 | return NULL; | |
1533 | } | |
1534 | } | |
1535 | { | |
1536 | wxPy_BEGIN_ALLOW_THREADS; | |
1537 | glColorPointer(_arg0,_arg1,_arg2,_arg3); | |
1538 | ||
1539 | wxPy_END_ALLOW_THREADS; | |
1540 | } Py_INCREF(Py_None); | |
1541 | _resultobj = Py_None; | |
1542 | return _resultobj; | |
1543 | } | |
1544 | ||
1545 | static PyObject *_wrap_glCopyPixels(PyObject *self, PyObject *args) { | |
1546 | PyObject * _resultobj; | |
1547 | GLint _arg0; | |
1548 | GLint _arg1; | |
1549 | GLsizei _arg2; | |
1550 | GLsizei _arg3; | |
1551 | GLenum _arg4; | |
1552 | ||
1553 | self = self; | |
1554 | if(!PyArg_ParseTuple(args,"iiiii:glCopyPixels",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1555 | return NULL; | |
1556 | { | |
1557 | wxPy_BEGIN_ALLOW_THREADS; | |
1558 | glCopyPixels(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1559 | ||
1560 | wxPy_END_ALLOW_THREADS; | |
1561 | } Py_INCREF(Py_None); | |
1562 | _resultobj = Py_None; | |
1563 | return _resultobj; | |
1564 | } | |
1565 | ||
1566 | static PyObject *_wrap_glCopyTexImage1D(PyObject *self, PyObject *args) { | |
1567 | PyObject * _resultobj; | |
1568 | GLenum _arg0; | |
1569 | GLint _arg1; | |
1570 | GLenum _arg2; | |
1571 | GLint _arg3; | |
1572 | GLint _arg4; | |
1573 | GLsizei _arg5; | |
1574 | GLint _arg6; | |
1575 | ||
1576 | self = self; | |
1577 | if(!PyArg_ParseTuple(args,"iiiiiii:glCopyTexImage1D",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
1578 | return NULL; | |
1579 | { | |
1580 | wxPy_BEGIN_ALLOW_THREADS; | |
1581 | glCopyTexImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1582 | ||
1583 | wxPy_END_ALLOW_THREADS; | |
1584 | } Py_INCREF(Py_None); | |
1585 | _resultobj = Py_None; | |
1586 | return _resultobj; | |
1587 | } | |
1588 | ||
1589 | static PyObject *_wrap_glCopyTexImage2D(PyObject *self, PyObject *args) { | |
1590 | PyObject * _resultobj; | |
1591 | GLenum _arg0; | |
1592 | GLint _arg1; | |
1593 | GLenum _arg2; | |
1594 | GLint _arg3; | |
1595 | GLint _arg4; | |
1596 | GLsizei _arg5; | |
1597 | GLsizei _arg6; | |
1598 | GLint _arg7; | |
1599 | ||
1600 | self = self; | |
1601 | if(!PyArg_ParseTuple(args,"iiiiiiii:glCopyTexImage2D",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7)) | |
1602 | return NULL; | |
1603 | { | |
1604 | wxPy_BEGIN_ALLOW_THREADS; | |
1605 | glCopyTexImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
1606 | ||
1607 | wxPy_END_ALLOW_THREADS; | |
1608 | } Py_INCREF(Py_None); | |
1609 | _resultobj = Py_None; | |
1610 | return _resultobj; | |
1611 | } | |
1612 | ||
1613 | static PyObject *_wrap_glCopyTexSubImage1D(PyObject *self, PyObject *args) { | |
1614 | PyObject * _resultobj; | |
1615 | GLenum _arg0; | |
1616 | GLint _arg1; | |
1617 | GLint _arg2; | |
1618 | GLint _arg3; | |
1619 | GLint _arg4; | |
1620 | GLsizei _arg5; | |
1621 | ||
1622 | self = self; | |
1623 | if(!PyArg_ParseTuple(args,"iiiiii:glCopyTexSubImage1D",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1624 | return NULL; | |
1625 | { | |
1626 | wxPy_BEGIN_ALLOW_THREADS; | |
1627 | glCopyTexSubImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1628 | ||
1629 | wxPy_END_ALLOW_THREADS; | |
1630 | } Py_INCREF(Py_None); | |
1631 | _resultobj = Py_None; | |
1632 | return _resultobj; | |
1633 | } | |
1634 | ||
1635 | static PyObject *_wrap_glCopyTexSubImage2D(PyObject *self, PyObject *args) { | |
1636 | PyObject * _resultobj; | |
1637 | GLenum _arg0; | |
1638 | GLint _arg1; | |
1639 | GLint _arg2; | |
1640 | GLint _arg3; | |
1641 | GLint _arg4; | |
1642 | GLint _arg5; | |
1643 | GLsizei _arg6; | |
1644 | GLsizei _arg7; | |
1645 | ||
1646 | self = self; | |
1647 | if(!PyArg_ParseTuple(args,"iiiiiiii:glCopyTexSubImage2D",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7)) | |
1648 | return NULL; | |
1649 | { | |
1650 | wxPy_BEGIN_ALLOW_THREADS; | |
1651 | glCopyTexSubImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
1652 | ||
1653 | wxPy_END_ALLOW_THREADS; | |
1654 | } Py_INCREF(Py_None); | |
1655 | _resultobj = Py_None; | |
1656 | return _resultobj; | |
1657 | } | |
1658 | ||
1659 | static PyObject *_wrap_glCullFace(PyObject *self, PyObject *args) { | |
1660 | PyObject * _resultobj; | |
1661 | GLenum _arg0; | |
1662 | ||
1663 | self = self; | |
1664 | if(!PyArg_ParseTuple(args,"i:glCullFace",&_arg0)) | |
1665 | return NULL; | |
1666 | { | |
1667 | wxPy_BEGIN_ALLOW_THREADS; | |
1668 | glCullFace(_arg0); | |
1669 | ||
1670 | wxPy_END_ALLOW_THREADS; | |
1671 | } Py_INCREF(Py_None); | |
1672 | _resultobj = Py_None; | |
1673 | return _resultobj; | |
1674 | } | |
1675 | ||
1676 | static PyObject *_wrap_glDeleteLists(PyObject *self, PyObject *args) { | |
1677 | PyObject * _resultobj; | |
1678 | GLuint _arg0; | |
1679 | GLsizei _arg1; | |
1680 | ||
1681 | self = self; | |
1682 | if(!PyArg_ParseTuple(args,"ii:glDeleteLists",&_arg0,&_arg1)) | |
1683 | return NULL; | |
1684 | { | |
1685 | wxPy_BEGIN_ALLOW_THREADS; | |
1686 | glDeleteLists(_arg0,_arg1); | |
1687 | ||
1688 | wxPy_END_ALLOW_THREADS; | |
1689 | } Py_INCREF(Py_None); | |
1690 | _resultobj = Py_None; | |
1691 | return _resultobj; | |
1692 | } | |
1693 | ||
1694 | static PyObject *_wrap_glDeleteTextures(PyObject *self, PyObject *args) { | |
1695 | PyObject * _resultobj; | |
1696 | GLsizei _arg0; | |
1697 | GLuint * _arg1; | |
f786a3b2 | 1698 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
1699 | |
1700 | self = self; | |
f786a3b2 | 1701 | if(!PyArg_ParseTuple(args,"iO:glDeleteTextures",&_arg0,&_argo1)) |
a29cd6c0 | 1702 | return NULL; |
f786a3b2 HH |
1703 | if (_argo1) { |
1704 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1705 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
a29cd6c0 HH |
1706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glDeleteTextures. Expected _GLuint_p."); |
1707 | return NULL; | |
1708 | } | |
1709 | } | |
1710 | { | |
1711 | wxPy_BEGIN_ALLOW_THREADS; | |
1712 | glDeleteTextures(_arg0,_arg1); | |
1713 | ||
1714 | wxPy_END_ALLOW_THREADS; | |
1715 | } Py_INCREF(Py_None); | |
1716 | _resultobj = Py_None; | |
1717 | return _resultobj; | |
1718 | } | |
1719 | ||
1720 | static PyObject *_wrap_glDepthFunc(PyObject *self, PyObject *args) { | |
1721 | PyObject * _resultobj; | |
1722 | GLenum _arg0; | |
1723 | ||
1724 | self = self; | |
1725 | if(!PyArg_ParseTuple(args,"i:glDepthFunc",&_arg0)) | |
1726 | return NULL; | |
1727 | { | |
1728 | wxPy_BEGIN_ALLOW_THREADS; | |
1729 | glDepthFunc(_arg0); | |
1730 | ||
1731 | wxPy_END_ALLOW_THREADS; | |
1732 | } Py_INCREF(Py_None); | |
1733 | _resultobj = Py_None; | |
1734 | return _resultobj; | |
1735 | } | |
1736 | ||
1737 | static PyObject *_wrap_glDepthMask(PyObject *self, PyObject *args) { | |
1738 | PyObject * _resultobj; | |
1739 | GLboolean _arg0; | |
1740 | ||
1741 | self = self; | |
1742 | if(!PyArg_ParseTuple(args,"b:glDepthMask",&_arg0)) | |
1743 | return NULL; | |
1744 | { | |
1745 | wxPy_BEGIN_ALLOW_THREADS; | |
1746 | glDepthMask(_arg0); | |
1747 | ||
1748 | wxPy_END_ALLOW_THREADS; | |
1749 | } Py_INCREF(Py_None); | |
1750 | _resultobj = Py_None; | |
1751 | return _resultobj; | |
1752 | } | |
1753 | ||
1754 | static PyObject *_wrap_glDepthRange(PyObject *self, PyObject *args) { | |
1755 | PyObject * _resultobj; | |
1756 | GLclampd _arg0; | |
1757 | GLclampd _arg1; | |
1758 | ||
1759 | self = self; | |
1760 | if(!PyArg_ParseTuple(args,"dd:glDepthRange",&_arg0,&_arg1)) | |
1761 | return NULL; | |
1762 | { | |
1763 | wxPy_BEGIN_ALLOW_THREADS; | |
1764 | glDepthRange(_arg0,_arg1); | |
1765 | ||
1766 | wxPy_END_ALLOW_THREADS; | |
1767 | } Py_INCREF(Py_None); | |
1768 | _resultobj = Py_None; | |
1769 | return _resultobj; | |
1770 | } | |
1771 | ||
1772 | static PyObject *_wrap_glDisable(PyObject *self, PyObject *args) { | |
1773 | PyObject * _resultobj; | |
1774 | GLenum _arg0; | |
1775 | ||
1776 | self = self; | |
1777 | if(!PyArg_ParseTuple(args,"i:glDisable",&_arg0)) | |
1778 | return NULL; | |
1779 | { | |
1780 | wxPy_BEGIN_ALLOW_THREADS; | |
1781 | glDisable(_arg0); | |
1782 | ||
1783 | wxPy_END_ALLOW_THREADS; | |
1784 | } Py_INCREF(Py_None); | |
1785 | _resultobj = Py_None; | |
1786 | return _resultobj; | |
1787 | } | |
1788 | ||
1789 | static PyObject *_wrap_glDisableClientState(PyObject *self, PyObject *args) { | |
1790 | PyObject * _resultobj; | |
1791 | GLenum _arg0; | |
1792 | ||
1793 | self = self; | |
1794 | if(!PyArg_ParseTuple(args,"i:glDisableClientState",&_arg0)) | |
1795 | return NULL; | |
1796 | { | |
1797 | wxPy_BEGIN_ALLOW_THREADS; | |
1798 | glDisableClientState(_arg0); | |
1799 | ||
1800 | wxPy_END_ALLOW_THREADS; | |
1801 | } Py_INCREF(Py_None); | |
1802 | _resultobj = Py_None; | |
1803 | return _resultobj; | |
1804 | } | |
1805 | ||
1806 | static PyObject *_wrap_glDrawArrays(PyObject *self, PyObject *args) { | |
1807 | PyObject * _resultobj; | |
1808 | GLenum _arg0; | |
1809 | GLint _arg1; | |
1810 | GLsizei _arg2; | |
1811 | ||
1812 | self = self; | |
1813 | if(!PyArg_ParseTuple(args,"iii:glDrawArrays",&_arg0,&_arg1,&_arg2)) | |
1814 | return NULL; | |
1815 | { | |
1816 | wxPy_BEGIN_ALLOW_THREADS; | |
1817 | glDrawArrays(_arg0,_arg1,_arg2); | |
1818 | ||
1819 | wxPy_END_ALLOW_THREADS; | |
1820 | } Py_INCREF(Py_None); | |
1821 | _resultobj = Py_None; | |
1822 | return _resultobj; | |
1823 | } | |
1824 | ||
1825 | static PyObject *_wrap_glDrawBuffer(PyObject *self, PyObject *args) { | |
1826 | PyObject * _resultobj; | |
1827 | GLenum _arg0; | |
1828 | ||
1829 | self = self; | |
1830 | if(!PyArg_ParseTuple(args,"i:glDrawBuffer",&_arg0)) | |
1831 | return NULL; | |
1832 | { | |
1833 | wxPy_BEGIN_ALLOW_THREADS; | |
1834 | glDrawBuffer(_arg0); | |
1835 | ||
1836 | wxPy_END_ALLOW_THREADS; | |
1837 | } Py_INCREF(Py_None); | |
1838 | _resultobj = Py_None; | |
1839 | return _resultobj; | |
1840 | } | |
1841 | ||
1842 | static PyObject *_wrap_glDrawElements(PyObject *self, PyObject *args) { | |
1843 | PyObject * _resultobj; | |
1844 | GLenum _arg0; | |
1845 | GLsizei _arg1; | |
1846 | GLenum _arg2; | |
1847 | GLvoid * _arg3; | |
f786a3b2 | 1848 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
1849 | |
1850 | self = self; | |
f786a3b2 | 1851 | if(!PyArg_ParseTuple(args,"iiiO:glDrawElements",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 1852 | return NULL; |
f786a3b2 HH |
1853 | if (_argo3) { |
1854 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1855 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
a29cd6c0 HH |
1856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glDrawElements. Expected _GLvoid_p."); |
1857 | return NULL; | |
1858 | } | |
1859 | } | |
1860 | { | |
1861 | wxPy_BEGIN_ALLOW_THREADS; | |
1862 | glDrawElements(_arg0,_arg1,_arg2,_arg3); | |
1863 | ||
1864 | wxPy_END_ALLOW_THREADS; | |
1865 | } Py_INCREF(Py_None); | |
1866 | _resultobj = Py_None; | |
1867 | return _resultobj; | |
1868 | } | |
1869 | ||
1870 | static PyObject *_wrap_glDrawPixels(PyObject *self, PyObject *args) { | |
1871 | PyObject * _resultobj; | |
1872 | GLsizei _arg0; | |
1873 | GLsizei _arg1; | |
1874 | GLenum _arg2; | |
1875 | GLenum _arg3; | |
1876 | GLvoid * _arg4; | |
f786a3b2 | 1877 | PyObject * _argo4 = 0; |
a29cd6c0 HH |
1878 | |
1879 | self = self; | |
f786a3b2 | 1880 | if(!PyArg_ParseTuple(args,"iiiiO:glDrawPixels",&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
a29cd6c0 | 1881 | return NULL; |
f786a3b2 HH |
1882 | if (_argo4) { |
1883 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
1884 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) { | |
a29cd6c0 HH |
1885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glDrawPixels. Expected _GLvoid_p."); |
1886 | return NULL; | |
1887 | } | |
1888 | } | |
1889 | { | |
1890 | wxPy_BEGIN_ALLOW_THREADS; | |
1891 | glDrawPixels(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1892 | ||
1893 | wxPy_END_ALLOW_THREADS; | |
1894 | } Py_INCREF(Py_None); | |
1895 | _resultobj = Py_None; | |
1896 | return _resultobj; | |
1897 | } | |
1898 | ||
1899 | static PyObject *_wrap_glEdgeFlag(PyObject *self, PyObject *args) { | |
1900 | PyObject * _resultobj; | |
1901 | GLboolean _arg0; | |
1902 | ||
1903 | self = self; | |
1904 | if(!PyArg_ParseTuple(args,"b:glEdgeFlag",&_arg0)) | |
1905 | return NULL; | |
1906 | { | |
1907 | wxPy_BEGIN_ALLOW_THREADS; | |
1908 | glEdgeFlag(_arg0); | |
1909 | ||
1910 | wxPy_END_ALLOW_THREADS; | |
1911 | } Py_INCREF(Py_None); | |
1912 | _resultobj = Py_None; | |
1913 | return _resultobj; | |
1914 | } | |
1915 | ||
1916 | static PyObject *_wrap_glEdgeFlagPointer(PyObject *self, PyObject *args) { | |
1917 | PyObject * _resultobj; | |
1918 | GLsizei _arg0; | |
f786a3b2 HH |
1919 | GLboolean * _arg1; |
1920 | PyObject * _argo1 = 0; | |
a29cd6c0 HH |
1921 | |
1922 | self = self; | |
f786a3b2 | 1923 | if(!PyArg_ParseTuple(args,"iO:glEdgeFlagPointer",&_arg0,&_argo1)) |
a29cd6c0 | 1924 | return NULL; |
f786a3b2 HH |
1925 | if (_argo1) { |
1926 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1927 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLboolean_p")) { | |
1928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glEdgeFlagPointer. Expected _GLboolean_p."); | |
a29cd6c0 HH |
1929 | return NULL; |
1930 | } | |
1931 | } | |
1932 | { | |
1933 | wxPy_BEGIN_ALLOW_THREADS; | |
1934 | glEdgeFlagPointer(_arg0,_arg1); | |
1935 | ||
1936 | wxPy_END_ALLOW_THREADS; | |
1937 | } Py_INCREF(Py_None); | |
1938 | _resultobj = Py_None; | |
1939 | return _resultobj; | |
1940 | } | |
1941 | ||
1942 | static PyObject *_wrap_glEdgeFlagv(PyObject *self, PyObject *args) { | |
1943 | PyObject * _resultobj; | |
1944 | GLboolean * _arg0; | |
f786a3b2 | 1945 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
1946 | |
1947 | self = self; | |
f786a3b2 | 1948 | if(!PyArg_ParseTuple(args,"O:glEdgeFlagv",&_argo0)) |
a29cd6c0 | 1949 | return NULL; |
f786a3b2 HH |
1950 | if (_argo0) { |
1951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLboolean_p")) { | |
a29cd6c0 HH |
1953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEdgeFlagv. Expected _GLboolean_p."); |
1954 | return NULL; | |
1955 | } | |
1956 | } | |
1957 | { | |
1958 | wxPy_BEGIN_ALLOW_THREADS; | |
1959 | glEdgeFlagv(_arg0); | |
1960 | ||
1961 | wxPy_END_ALLOW_THREADS; | |
1962 | } Py_INCREF(Py_None); | |
1963 | _resultobj = Py_None; | |
1964 | return _resultobj; | |
1965 | } | |
1966 | ||
1967 | static PyObject *_wrap_glEnable(PyObject *self, PyObject *args) { | |
1968 | PyObject * _resultobj; | |
1969 | GLenum _arg0; | |
1970 | ||
1971 | self = self; | |
1972 | if(!PyArg_ParseTuple(args,"i:glEnable",&_arg0)) | |
1973 | return NULL; | |
1974 | { | |
1975 | wxPy_BEGIN_ALLOW_THREADS; | |
1976 | glEnable(_arg0); | |
1977 | ||
1978 | wxPy_END_ALLOW_THREADS; | |
1979 | } Py_INCREF(Py_None); | |
1980 | _resultobj = Py_None; | |
1981 | return _resultobj; | |
1982 | } | |
1983 | ||
1984 | static PyObject *_wrap_glEnableClientState(PyObject *self, PyObject *args) { | |
1985 | PyObject * _resultobj; | |
1986 | GLenum _arg0; | |
1987 | ||
1988 | self = self; | |
1989 | if(!PyArg_ParseTuple(args,"i:glEnableClientState",&_arg0)) | |
1990 | return NULL; | |
1991 | { | |
1992 | wxPy_BEGIN_ALLOW_THREADS; | |
1993 | glEnableClientState(_arg0); | |
1994 | ||
1995 | wxPy_END_ALLOW_THREADS; | |
1996 | } Py_INCREF(Py_None); | |
1997 | _resultobj = Py_None; | |
1998 | return _resultobj; | |
1999 | } | |
2000 | ||
2001 | static PyObject *_wrap_glEnd(PyObject *self, PyObject *args) { | |
2002 | PyObject * _resultobj; | |
2003 | ||
2004 | self = self; | |
2005 | if(!PyArg_ParseTuple(args,":glEnd")) | |
2006 | return NULL; | |
2007 | { | |
2008 | wxPy_BEGIN_ALLOW_THREADS; | |
2009 | glEnd(); | |
2010 | ||
2011 | wxPy_END_ALLOW_THREADS; | |
2012 | } Py_INCREF(Py_None); | |
2013 | _resultobj = Py_None; | |
2014 | return _resultobj; | |
2015 | } | |
2016 | ||
2017 | static PyObject *_wrap_glEndList(PyObject *self, PyObject *args) { | |
2018 | PyObject * _resultobj; | |
2019 | ||
2020 | self = self; | |
2021 | if(!PyArg_ParseTuple(args,":glEndList")) | |
2022 | return NULL; | |
2023 | { | |
2024 | wxPy_BEGIN_ALLOW_THREADS; | |
2025 | glEndList(); | |
2026 | ||
2027 | wxPy_END_ALLOW_THREADS; | |
2028 | } Py_INCREF(Py_None); | |
2029 | _resultobj = Py_None; | |
2030 | return _resultobj; | |
2031 | } | |
2032 | ||
2033 | static PyObject *_wrap_glEvalCoord1d(PyObject *self, PyObject *args) { | |
2034 | PyObject * _resultobj; | |
2035 | GLdouble _arg0; | |
2036 | ||
2037 | self = self; | |
2038 | if(!PyArg_ParseTuple(args,"d:glEvalCoord1d",&_arg0)) | |
2039 | return NULL; | |
2040 | { | |
2041 | wxPy_BEGIN_ALLOW_THREADS; | |
2042 | glEvalCoord1d(_arg0); | |
2043 | ||
2044 | wxPy_END_ALLOW_THREADS; | |
2045 | } Py_INCREF(Py_None); | |
2046 | _resultobj = Py_None; | |
2047 | return _resultobj; | |
2048 | } | |
2049 | ||
2050 | static PyObject *_wrap_glEvalCoord1dv(PyObject *self, PyObject *args) { | |
2051 | PyObject * _resultobj; | |
2052 | GLdouble * _arg0; | |
f786a3b2 | 2053 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
2054 | |
2055 | self = self; | |
f786a3b2 | 2056 | if(!PyArg_ParseTuple(args,"O:glEvalCoord1dv",&_argo0)) |
a29cd6c0 | 2057 | return NULL; |
f786a3b2 HH |
2058 | if (_argo0) { |
2059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
2061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord1dv. Expected _GLdouble_p."); |
2062 | return NULL; | |
2063 | } | |
2064 | } | |
2065 | { | |
2066 | wxPy_BEGIN_ALLOW_THREADS; | |
2067 | glEvalCoord1dv(_arg0); | |
2068 | ||
2069 | wxPy_END_ALLOW_THREADS; | |
2070 | } Py_INCREF(Py_None); | |
2071 | _resultobj = Py_None; | |
2072 | return _resultobj; | |
2073 | } | |
2074 | ||
2075 | static PyObject *_wrap_glEvalCoord1f(PyObject *self, PyObject *args) { | |
2076 | PyObject * _resultobj; | |
2077 | GLfloat _arg0; | |
2078 | ||
2079 | self = self; | |
2080 | if(!PyArg_ParseTuple(args,"f:glEvalCoord1f",&_arg0)) | |
2081 | return NULL; | |
2082 | { | |
2083 | wxPy_BEGIN_ALLOW_THREADS; | |
2084 | glEvalCoord1f(_arg0); | |
2085 | ||
2086 | wxPy_END_ALLOW_THREADS; | |
2087 | } Py_INCREF(Py_None); | |
2088 | _resultobj = Py_None; | |
2089 | return _resultobj; | |
2090 | } | |
2091 | ||
2092 | static PyObject *_wrap_glEvalCoord1fv(PyObject *self, PyObject *args) { | |
2093 | PyObject * _resultobj; | |
2094 | GLfloat * _arg0; | |
f786a3b2 | 2095 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
2096 | |
2097 | self = self; | |
f786a3b2 | 2098 | if(!PyArg_ParseTuple(args,"O:glEvalCoord1fv",&_argo0)) |
a29cd6c0 | 2099 | return NULL; |
f786a3b2 HH |
2100 | if (_argo0) { |
2101 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2102 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
2103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord1fv. Expected _GLfloat_p."); |
2104 | return NULL; | |
2105 | } | |
2106 | } | |
2107 | { | |
2108 | wxPy_BEGIN_ALLOW_THREADS; | |
2109 | glEvalCoord1fv(_arg0); | |
2110 | ||
2111 | wxPy_END_ALLOW_THREADS; | |
2112 | } Py_INCREF(Py_None); | |
2113 | _resultobj = Py_None; | |
2114 | return _resultobj; | |
2115 | } | |
2116 | ||
2117 | static PyObject *_wrap_glEvalCoord2d(PyObject *self, PyObject *args) { | |
2118 | PyObject * _resultobj; | |
2119 | GLdouble _arg0; | |
2120 | GLdouble _arg1; | |
2121 | ||
2122 | self = self; | |
2123 | if(!PyArg_ParseTuple(args,"dd:glEvalCoord2d",&_arg0,&_arg1)) | |
2124 | return NULL; | |
2125 | { | |
2126 | wxPy_BEGIN_ALLOW_THREADS; | |
2127 | glEvalCoord2d(_arg0,_arg1); | |
2128 | ||
2129 | wxPy_END_ALLOW_THREADS; | |
2130 | } Py_INCREF(Py_None); | |
2131 | _resultobj = Py_None; | |
2132 | return _resultobj; | |
2133 | } | |
2134 | ||
2135 | static PyObject *_wrap_glEvalCoord2dv(PyObject *self, PyObject *args) { | |
2136 | PyObject * _resultobj; | |
2137 | GLdouble * _arg0; | |
f786a3b2 | 2138 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
2139 | |
2140 | self = self; | |
f786a3b2 | 2141 | if(!PyArg_ParseTuple(args,"O:glEvalCoord2dv",&_argo0)) |
a29cd6c0 | 2142 | return NULL; |
f786a3b2 HH |
2143 | if (_argo0) { |
2144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
2146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord2dv. Expected _GLdouble_p."); |
2147 | return NULL; | |
2148 | } | |
2149 | } | |
2150 | { | |
2151 | wxPy_BEGIN_ALLOW_THREADS; | |
2152 | glEvalCoord2dv(_arg0); | |
2153 | ||
2154 | wxPy_END_ALLOW_THREADS; | |
2155 | } Py_INCREF(Py_None); | |
2156 | _resultobj = Py_None; | |
2157 | return _resultobj; | |
2158 | } | |
2159 | ||
2160 | static PyObject *_wrap_glEvalCoord2f(PyObject *self, PyObject *args) { | |
2161 | PyObject * _resultobj; | |
2162 | GLfloat _arg0; | |
2163 | GLfloat _arg1; | |
2164 | ||
2165 | self = self; | |
2166 | if(!PyArg_ParseTuple(args,"ff:glEvalCoord2f",&_arg0,&_arg1)) | |
2167 | return NULL; | |
2168 | { | |
2169 | wxPy_BEGIN_ALLOW_THREADS; | |
2170 | glEvalCoord2f(_arg0,_arg1); | |
2171 | ||
2172 | wxPy_END_ALLOW_THREADS; | |
2173 | } Py_INCREF(Py_None); | |
2174 | _resultobj = Py_None; | |
2175 | return _resultobj; | |
2176 | } | |
2177 | ||
2178 | static PyObject *_wrap_glEvalCoord2fv(PyObject *self, PyObject *args) { | |
2179 | PyObject * _resultobj; | |
2180 | GLfloat * _arg0; | |
f786a3b2 | 2181 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
2182 | |
2183 | self = self; | |
f786a3b2 | 2184 | if(!PyArg_ParseTuple(args,"O:glEvalCoord2fv",&_argo0)) |
a29cd6c0 | 2185 | return NULL; |
f786a3b2 HH |
2186 | if (_argo0) { |
2187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
2189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord2fv. Expected _GLfloat_p."); |
2190 | return NULL; | |
2191 | } | |
2192 | } | |
2193 | { | |
2194 | wxPy_BEGIN_ALLOW_THREADS; | |
2195 | glEvalCoord2fv(_arg0); | |
2196 | ||
2197 | wxPy_END_ALLOW_THREADS; | |
2198 | } Py_INCREF(Py_None); | |
2199 | _resultobj = Py_None; | |
2200 | return _resultobj; | |
2201 | } | |
2202 | ||
2203 | static PyObject *_wrap_glEvalMesh1(PyObject *self, PyObject *args) { | |
2204 | PyObject * _resultobj; | |
2205 | GLenum _arg0; | |
2206 | GLint _arg1; | |
2207 | GLint _arg2; | |
2208 | ||
2209 | self = self; | |
2210 | if(!PyArg_ParseTuple(args,"iii:glEvalMesh1",&_arg0,&_arg1,&_arg2)) | |
2211 | return NULL; | |
2212 | { | |
2213 | wxPy_BEGIN_ALLOW_THREADS; | |
2214 | glEvalMesh1(_arg0,_arg1,_arg2); | |
2215 | ||
2216 | wxPy_END_ALLOW_THREADS; | |
2217 | } Py_INCREF(Py_None); | |
2218 | _resultobj = Py_None; | |
2219 | return _resultobj; | |
2220 | } | |
2221 | ||
2222 | static PyObject *_wrap_glEvalMesh2(PyObject *self, PyObject *args) { | |
2223 | PyObject * _resultobj; | |
2224 | GLenum _arg0; | |
2225 | GLint _arg1; | |
2226 | GLint _arg2; | |
2227 | GLint _arg3; | |
2228 | GLint _arg4; | |
2229 | ||
2230 | self = self; | |
2231 | if(!PyArg_ParseTuple(args,"iiiii:glEvalMesh2",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2232 | return NULL; | |
2233 | { | |
2234 | wxPy_BEGIN_ALLOW_THREADS; | |
2235 | glEvalMesh2(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2236 | ||
2237 | wxPy_END_ALLOW_THREADS; | |
2238 | } Py_INCREF(Py_None); | |
2239 | _resultobj = Py_None; | |
2240 | return _resultobj; | |
2241 | } | |
2242 | ||
2243 | static PyObject *_wrap_glEvalPoint1(PyObject *self, PyObject *args) { | |
2244 | PyObject * _resultobj; | |
2245 | GLint _arg0; | |
2246 | ||
2247 | self = self; | |
2248 | if(!PyArg_ParseTuple(args,"i:glEvalPoint1",&_arg0)) | |
2249 | return NULL; | |
2250 | { | |
2251 | wxPy_BEGIN_ALLOW_THREADS; | |
2252 | glEvalPoint1(_arg0); | |
2253 | ||
2254 | wxPy_END_ALLOW_THREADS; | |
2255 | } Py_INCREF(Py_None); | |
2256 | _resultobj = Py_None; | |
2257 | return _resultobj; | |
2258 | } | |
2259 | ||
2260 | static PyObject *_wrap_glEvalPoint2(PyObject *self, PyObject *args) { | |
2261 | PyObject * _resultobj; | |
2262 | GLint _arg0; | |
2263 | GLint _arg1; | |
2264 | ||
2265 | self = self; | |
2266 | if(!PyArg_ParseTuple(args,"ii:glEvalPoint2",&_arg0,&_arg1)) | |
2267 | return NULL; | |
2268 | { | |
2269 | wxPy_BEGIN_ALLOW_THREADS; | |
2270 | glEvalPoint2(_arg0,_arg1); | |
2271 | ||
2272 | wxPy_END_ALLOW_THREADS; | |
2273 | } Py_INCREF(Py_None); | |
2274 | _resultobj = Py_None; | |
2275 | return _resultobj; | |
2276 | } | |
2277 | ||
2278 | static PyObject *_wrap_glFeedbackBuffer(PyObject *self, PyObject *args) { | |
2279 | PyObject * _resultobj; | |
2280 | GLsizei _arg0; | |
2281 | GLenum _arg1; | |
2282 | GLfloat * _arg2; | |
f786a3b2 | 2283 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
2284 | |
2285 | self = self; | |
f786a3b2 | 2286 | if(!PyArg_ParseTuple(args,"iiO:glFeedbackBuffer",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 2287 | return NULL; |
f786a3b2 HH |
2288 | if (_argo2) { |
2289 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2290 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
2291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glFeedbackBuffer. Expected _GLfloat_p."); |
2292 | return NULL; | |
2293 | } | |
2294 | } | |
2295 | { | |
2296 | wxPy_BEGIN_ALLOW_THREADS; | |
2297 | glFeedbackBuffer(_arg0,_arg1,_arg2); | |
2298 | ||
2299 | wxPy_END_ALLOW_THREADS; | |
2300 | } Py_INCREF(Py_None); | |
2301 | _resultobj = Py_None; | |
2302 | return _resultobj; | |
2303 | } | |
2304 | ||
2305 | static PyObject *_wrap_glFinish(PyObject *self, PyObject *args) { | |
2306 | PyObject * _resultobj; | |
2307 | ||
2308 | self = self; | |
2309 | if(!PyArg_ParseTuple(args,":glFinish")) | |
2310 | return NULL; | |
2311 | { | |
2312 | wxPy_BEGIN_ALLOW_THREADS; | |
2313 | glFinish(); | |
2314 | ||
2315 | wxPy_END_ALLOW_THREADS; | |
2316 | } Py_INCREF(Py_None); | |
2317 | _resultobj = Py_None; | |
2318 | return _resultobj; | |
2319 | } | |
2320 | ||
2321 | static PyObject *_wrap_glFlush(PyObject *self, PyObject *args) { | |
2322 | PyObject * _resultobj; | |
2323 | ||
2324 | self = self; | |
2325 | if(!PyArg_ParseTuple(args,":glFlush")) | |
2326 | return NULL; | |
2327 | { | |
2328 | wxPy_BEGIN_ALLOW_THREADS; | |
2329 | glFlush(); | |
2330 | ||
2331 | wxPy_END_ALLOW_THREADS; | |
2332 | } Py_INCREF(Py_None); | |
2333 | _resultobj = Py_None; | |
2334 | return _resultobj; | |
2335 | } | |
2336 | ||
2337 | static PyObject *_wrap_glFogf(PyObject *self, PyObject *args) { | |
2338 | PyObject * _resultobj; | |
2339 | GLenum _arg0; | |
2340 | GLfloat _arg1; | |
2341 | ||
2342 | self = self; | |
2343 | if(!PyArg_ParseTuple(args,"if:glFogf",&_arg0,&_arg1)) | |
2344 | return NULL; | |
2345 | { | |
2346 | wxPy_BEGIN_ALLOW_THREADS; | |
2347 | glFogf(_arg0,_arg1); | |
2348 | ||
2349 | wxPy_END_ALLOW_THREADS; | |
2350 | } Py_INCREF(Py_None); | |
2351 | _resultobj = Py_None; | |
2352 | return _resultobj; | |
2353 | } | |
2354 | ||
2355 | static PyObject *_wrap_glFogfv(PyObject *self, PyObject *args) { | |
2356 | PyObject * _resultobj; | |
2357 | GLenum _arg0; | |
2358 | GLfloat * _arg1; | |
f786a3b2 | 2359 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2360 | |
2361 | self = self; | |
f786a3b2 | 2362 | if(!PyArg_ParseTuple(args,"iO:glFogfv",&_arg0,&_argo1)) |
a29cd6c0 | 2363 | return NULL; |
f786a3b2 HH |
2364 | if (_argo1) { |
2365 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2366 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
a29cd6c0 HH |
2367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glFogfv. Expected _GLfloat_p."); |
2368 | return NULL; | |
2369 | } | |
2370 | } | |
2371 | { | |
2372 | wxPy_BEGIN_ALLOW_THREADS; | |
2373 | glFogfv(_arg0,_arg1); | |
2374 | ||
2375 | wxPy_END_ALLOW_THREADS; | |
2376 | } Py_INCREF(Py_None); | |
2377 | _resultobj = Py_None; | |
2378 | return _resultobj; | |
2379 | } | |
2380 | ||
2381 | static PyObject *_wrap_glFogi(PyObject *self, PyObject *args) { | |
2382 | PyObject * _resultobj; | |
2383 | GLenum _arg0; | |
2384 | GLint _arg1; | |
2385 | ||
2386 | self = self; | |
2387 | if(!PyArg_ParseTuple(args,"ii:glFogi",&_arg0,&_arg1)) | |
2388 | return NULL; | |
2389 | { | |
2390 | wxPy_BEGIN_ALLOW_THREADS; | |
2391 | glFogi(_arg0,_arg1); | |
2392 | ||
2393 | wxPy_END_ALLOW_THREADS; | |
2394 | } Py_INCREF(Py_None); | |
2395 | _resultobj = Py_None; | |
2396 | return _resultobj; | |
2397 | } | |
2398 | ||
2399 | static PyObject *_wrap_glFogiv(PyObject *self, PyObject *args) { | |
2400 | PyObject * _resultobj; | |
2401 | GLenum _arg0; | |
2402 | GLint * _arg1; | |
f786a3b2 | 2403 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2404 | |
2405 | self = self; | |
f786a3b2 | 2406 | if(!PyArg_ParseTuple(args,"iO:glFogiv",&_arg0,&_argo1)) |
a29cd6c0 | 2407 | return NULL; |
f786a3b2 HH |
2408 | if (_argo1) { |
2409 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2410 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) { | |
a29cd6c0 HH |
2411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glFogiv. Expected _GLint_p."); |
2412 | return NULL; | |
2413 | } | |
2414 | } | |
2415 | { | |
2416 | wxPy_BEGIN_ALLOW_THREADS; | |
2417 | glFogiv(_arg0,_arg1); | |
2418 | ||
2419 | wxPy_END_ALLOW_THREADS; | |
2420 | } Py_INCREF(Py_None); | |
2421 | _resultobj = Py_None; | |
2422 | return _resultobj; | |
2423 | } | |
2424 | ||
2425 | static PyObject *_wrap_glFrontFace(PyObject *self, PyObject *args) { | |
2426 | PyObject * _resultobj; | |
2427 | GLenum _arg0; | |
2428 | ||
2429 | self = self; | |
2430 | if(!PyArg_ParseTuple(args,"i:glFrontFace",&_arg0)) | |
2431 | return NULL; | |
2432 | { | |
2433 | wxPy_BEGIN_ALLOW_THREADS; | |
2434 | glFrontFace(_arg0); | |
2435 | ||
2436 | wxPy_END_ALLOW_THREADS; | |
2437 | } Py_INCREF(Py_None); | |
2438 | _resultobj = Py_None; | |
2439 | return _resultobj; | |
2440 | } | |
2441 | ||
2442 | static PyObject *_wrap_glFrustum(PyObject *self, PyObject *args) { | |
2443 | PyObject * _resultobj; | |
2444 | GLdouble _arg0; | |
2445 | GLdouble _arg1; | |
2446 | GLdouble _arg2; | |
2447 | GLdouble _arg3; | |
2448 | GLdouble _arg4; | |
2449 | GLdouble _arg5; | |
2450 | ||
2451 | self = self; | |
2452 | if(!PyArg_ParseTuple(args,"dddddd:glFrustum",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2453 | return NULL; | |
2454 | { | |
2455 | wxPy_BEGIN_ALLOW_THREADS; | |
2456 | glFrustum(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2457 | ||
2458 | wxPy_END_ALLOW_THREADS; | |
2459 | } Py_INCREF(Py_None); | |
2460 | _resultobj = Py_None; | |
2461 | return _resultobj; | |
2462 | } | |
2463 | ||
2464 | static PyObject *_wrap_glGenLists(PyObject *self, PyObject *args) { | |
2465 | PyObject * _resultobj; | |
2466 | GLuint _result; | |
2467 | GLsizei _arg0; | |
2468 | ||
2469 | self = self; | |
2470 | if(!PyArg_ParseTuple(args,"i:glGenLists",&_arg0)) | |
2471 | return NULL; | |
2472 | { | |
2473 | wxPy_BEGIN_ALLOW_THREADS; | |
2474 | _result = (GLuint )glGenLists(_arg0); | |
2475 | ||
2476 | wxPy_END_ALLOW_THREADS; | |
2477 | } _resultobj = Py_BuildValue("i",_result); | |
2478 | return _resultobj; | |
2479 | } | |
2480 | ||
2481 | static PyObject *_wrap_glGenTextures(PyObject *self, PyObject *args) { | |
2482 | PyObject * _resultobj; | |
2483 | GLsizei _arg0; | |
2484 | GLuint * _arg1; | |
f786a3b2 | 2485 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2486 | |
2487 | self = self; | |
f786a3b2 | 2488 | if(!PyArg_ParseTuple(args,"iO:glGenTextures",&_arg0,&_argo1)) |
a29cd6c0 | 2489 | return NULL; |
f786a3b2 HH |
2490 | if (_argo1) { |
2491 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2492 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
a29cd6c0 HH |
2493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGenTextures. Expected _GLuint_p."); |
2494 | return NULL; | |
2495 | } | |
2496 | } | |
2497 | { | |
2498 | wxPy_BEGIN_ALLOW_THREADS; | |
2499 | glGenTextures(_arg0,_arg1); | |
2500 | ||
2501 | wxPy_END_ALLOW_THREADS; | |
2502 | } Py_INCREF(Py_None); | |
2503 | _resultobj = Py_None; | |
2504 | return _resultobj; | |
2505 | } | |
2506 | ||
2507 | static PyObject *_wrap_glGetBooleanv(PyObject *self, PyObject *args) { | |
2508 | PyObject * _resultobj; | |
2509 | GLenum _arg0; | |
2510 | GLboolean * _arg1; | |
f786a3b2 | 2511 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2512 | |
2513 | self = self; | |
f786a3b2 | 2514 | if(!PyArg_ParseTuple(args,"iO:glGetBooleanv",&_arg0,&_argo1)) |
a29cd6c0 | 2515 | return NULL; |
f786a3b2 HH |
2516 | if (_argo1) { |
2517 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2518 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLboolean_p")) { | |
a29cd6c0 HH |
2519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetBooleanv. Expected _GLboolean_p."); |
2520 | return NULL; | |
2521 | } | |
2522 | } | |
2523 | { | |
2524 | wxPy_BEGIN_ALLOW_THREADS; | |
2525 | glGetBooleanv(_arg0,_arg1); | |
2526 | ||
2527 | wxPy_END_ALLOW_THREADS; | |
2528 | } Py_INCREF(Py_None); | |
2529 | _resultobj = Py_None; | |
2530 | return _resultobj; | |
2531 | } | |
2532 | ||
2533 | static PyObject *_wrap_glGetClipPlane(PyObject *self, PyObject *args) { | |
2534 | PyObject * _resultobj; | |
2535 | GLenum _arg0; | |
2536 | GLdouble * _arg1; | |
f786a3b2 | 2537 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2538 | |
2539 | self = self; | |
f786a3b2 | 2540 | if(!PyArg_ParseTuple(args,"iO:glGetClipPlane",&_arg0,&_argo1)) |
a29cd6c0 | 2541 | return NULL; |
f786a3b2 HH |
2542 | if (_argo1) { |
2543 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2544 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
a29cd6c0 HH |
2545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetClipPlane. Expected _GLdouble_p."); |
2546 | return NULL; | |
2547 | } | |
2548 | } | |
2549 | { | |
2550 | wxPy_BEGIN_ALLOW_THREADS; | |
2551 | glGetClipPlane(_arg0,_arg1); | |
2552 | ||
2553 | wxPy_END_ALLOW_THREADS; | |
2554 | } Py_INCREF(Py_None); | |
2555 | _resultobj = Py_None; | |
2556 | return _resultobj; | |
2557 | } | |
2558 | ||
2559 | static PyObject *_wrap_glGetDoublev(PyObject *self, PyObject *args) { | |
2560 | PyObject * _resultobj; | |
2561 | GLenum _arg0; | |
2562 | GLdouble * _arg1; | |
f786a3b2 | 2563 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2564 | |
2565 | self = self; | |
f786a3b2 | 2566 | if(!PyArg_ParseTuple(args,"iO:glGetDoublev",&_arg0,&_argo1)) |
a29cd6c0 | 2567 | return NULL; |
f786a3b2 HH |
2568 | if (_argo1) { |
2569 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2570 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
a29cd6c0 HH |
2571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetDoublev. Expected _GLdouble_p."); |
2572 | return NULL; | |
2573 | } | |
2574 | } | |
2575 | { | |
2576 | wxPy_BEGIN_ALLOW_THREADS; | |
2577 | glGetDoublev(_arg0,_arg1); | |
2578 | ||
2579 | wxPy_END_ALLOW_THREADS; | |
2580 | } Py_INCREF(Py_None); | |
2581 | _resultobj = Py_None; | |
2582 | return _resultobj; | |
2583 | } | |
2584 | ||
2585 | static PyObject *_wrap_glGetError(PyObject *self, PyObject *args) { | |
2586 | PyObject * _resultobj; | |
2587 | GLenum _result; | |
2588 | ||
2589 | self = self; | |
2590 | if(!PyArg_ParseTuple(args,":glGetError")) | |
2591 | return NULL; | |
2592 | { | |
2593 | wxPy_BEGIN_ALLOW_THREADS; | |
2594 | _result = (GLenum )glGetError(); | |
2595 | ||
2596 | wxPy_END_ALLOW_THREADS; | |
2597 | } _resultobj = Py_BuildValue("i",_result); | |
2598 | return _resultobj; | |
2599 | } | |
2600 | ||
2601 | static PyObject *_wrap_glGetFloatv(PyObject *self, PyObject *args) { | |
2602 | PyObject * _resultobj; | |
2603 | GLenum _arg0; | |
2604 | GLfloat * _arg1; | |
f786a3b2 | 2605 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2606 | |
2607 | self = self; | |
f786a3b2 | 2608 | if(!PyArg_ParseTuple(args,"iO:glGetFloatv",&_arg0,&_argo1)) |
a29cd6c0 | 2609 | return NULL; |
f786a3b2 HH |
2610 | if (_argo1) { |
2611 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2612 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
a29cd6c0 HH |
2613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetFloatv. Expected _GLfloat_p."); |
2614 | return NULL; | |
2615 | } | |
2616 | } | |
2617 | { | |
2618 | wxPy_BEGIN_ALLOW_THREADS; | |
2619 | glGetFloatv(_arg0,_arg1); | |
2620 | ||
2621 | wxPy_END_ALLOW_THREADS; | |
2622 | } Py_INCREF(Py_None); | |
2623 | _resultobj = Py_None; | |
2624 | return _resultobj; | |
2625 | } | |
2626 | ||
2627 | static PyObject *_wrap_glGetIntegerv(PyObject *self, PyObject *args) { | |
2628 | PyObject * _resultobj; | |
2629 | GLenum _arg0; | |
2630 | GLint * _arg1; | |
f786a3b2 | 2631 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2632 | |
2633 | self = self; | |
f786a3b2 | 2634 | if(!PyArg_ParseTuple(args,"iO:glGetIntegerv",&_arg0,&_argo1)) |
a29cd6c0 | 2635 | return NULL; |
f786a3b2 HH |
2636 | if (_argo1) { |
2637 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2638 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) { | |
a29cd6c0 HH |
2639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetIntegerv. Expected _GLint_p."); |
2640 | return NULL; | |
2641 | } | |
2642 | } | |
2643 | { | |
2644 | wxPy_BEGIN_ALLOW_THREADS; | |
2645 | glGetIntegerv(_arg0,_arg1); | |
2646 | ||
2647 | wxPy_END_ALLOW_THREADS; | |
2648 | } Py_INCREF(Py_None); | |
2649 | _resultobj = Py_None; | |
2650 | return _resultobj; | |
2651 | } | |
2652 | ||
2653 | static PyObject *_wrap_glGetLightfv(PyObject *self, PyObject *args) { | |
2654 | PyObject * _resultobj; | |
2655 | GLenum _arg0; | |
2656 | GLenum _arg1; | |
2657 | GLfloat * _arg2; | |
f786a3b2 | 2658 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
2659 | |
2660 | self = self; | |
f786a3b2 | 2661 | if(!PyArg_ParseTuple(args,"iiO:glGetLightfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 2662 | return NULL; |
f786a3b2 HH |
2663 | if (_argo2) { |
2664 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2665 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
2666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetLightfv. Expected _GLfloat_p."); |
2667 | return NULL; | |
2668 | } | |
2669 | } | |
2670 | { | |
2671 | wxPy_BEGIN_ALLOW_THREADS; | |
2672 | glGetLightfv(_arg0,_arg1,_arg2); | |
2673 | ||
2674 | wxPy_END_ALLOW_THREADS; | |
2675 | } Py_INCREF(Py_None); | |
2676 | _resultobj = Py_None; | |
2677 | return _resultobj; | |
2678 | } | |
2679 | ||
2680 | static PyObject *_wrap_glGetLightiv(PyObject *self, PyObject *args) { | |
2681 | PyObject * _resultobj; | |
2682 | GLenum _arg0; | |
2683 | GLenum _arg1; | |
2684 | GLint * _arg2; | |
f786a3b2 | 2685 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
2686 | |
2687 | self = self; | |
f786a3b2 | 2688 | if(!PyArg_ParseTuple(args,"iiO:glGetLightiv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 2689 | return NULL; |
f786a3b2 HH |
2690 | if (_argo2) { |
2691 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2692 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
2693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetLightiv. Expected _GLint_p."); |
2694 | return NULL; | |
2695 | } | |
2696 | } | |
2697 | { | |
2698 | wxPy_BEGIN_ALLOW_THREADS; | |
2699 | glGetLightiv(_arg0,_arg1,_arg2); | |
2700 | ||
2701 | wxPy_END_ALLOW_THREADS; | |
2702 | } Py_INCREF(Py_None); | |
2703 | _resultobj = Py_None; | |
2704 | return _resultobj; | |
2705 | } | |
2706 | ||
2707 | static PyObject *_wrap_glGetMapdv(PyObject *self, PyObject *args) { | |
2708 | PyObject * _resultobj; | |
2709 | GLenum _arg0; | |
2710 | GLenum _arg1; | |
2711 | GLdouble * _arg2; | |
f786a3b2 | 2712 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
2713 | |
2714 | self = self; | |
f786a3b2 | 2715 | if(!PyArg_ParseTuple(args,"iiO:glGetMapdv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 2716 | return NULL; |
f786a3b2 HH |
2717 | if (_argo2) { |
2718 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2719 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) { | |
a29cd6c0 HH |
2720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapdv. Expected _GLdouble_p."); |
2721 | return NULL; | |
2722 | } | |
2723 | } | |
2724 | { | |
2725 | wxPy_BEGIN_ALLOW_THREADS; | |
2726 | glGetMapdv(_arg0,_arg1,_arg2); | |
2727 | ||
2728 | wxPy_END_ALLOW_THREADS; | |
2729 | } Py_INCREF(Py_None); | |
2730 | _resultobj = Py_None; | |
2731 | return _resultobj; | |
2732 | } | |
2733 | ||
2734 | static PyObject *_wrap_glGetMapfv(PyObject *self, PyObject *args) { | |
2735 | PyObject * _resultobj; | |
2736 | GLenum _arg0; | |
2737 | GLenum _arg1; | |
2738 | GLfloat * _arg2; | |
f786a3b2 | 2739 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
2740 | |
2741 | self = self; | |
f786a3b2 | 2742 | if(!PyArg_ParseTuple(args,"iiO:glGetMapfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 2743 | return NULL; |
f786a3b2 HH |
2744 | if (_argo2) { |
2745 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2746 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
2747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapfv. Expected _GLfloat_p."); |
2748 | return NULL; | |
2749 | } | |
2750 | } | |
2751 | { | |
2752 | wxPy_BEGIN_ALLOW_THREADS; | |
2753 | glGetMapfv(_arg0,_arg1,_arg2); | |
2754 | ||
2755 | wxPy_END_ALLOW_THREADS; | |
2756 | } Py_INCREF(Py_None); | |
2757 | _resultobj = Py_None; | |
2758 | return _resultobj; | |
2759 | } | |
2760 | ||
2761 | static PyObject *_wrap_glGetMapiv(PyObject *self, PyObject *args) { | |
2762 | PyObject * _resultobj; | |
2763 | GLenum _arg0; | |
2764 | GLenum _arg1; | |
2765 | GLint * _arg2; | |
f786a3b2 | 2766 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
2767 | |
2768 | self = self; | |
f786a3b2 | 2769 | if(!PyArg_ParseTuple(args,"iiO:glGetMapiv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 2770 | return NULL; |
f786a3b2 HH |
2771 | if (_argo2) { |
2772 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2773 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
2774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapiv. Expected _GLint_p."); |
2775 | return NULL; | |
2776 | } | |
2777 | } | |
2778 | { | |
2779 | wxPy_BEGIN_ALLOW_THREADS; | |
2780 | glGetMapiv(_arg0,_arg1,_arg2); | |
2781 | ||
2782 | wxPy_END_ALLOW_THREADS; | |
2783 | } Py_INCREF(Py_None); | |
2784 | _resultobj = Py_None; | |
2785 | return _resultobj; | |
2786 | } | |
2787 | ||
2788 | static PyObject *_wrap_glGetMaterialfv(PyObject *self, PyObject *args) { | |
2789 | PyObject * _resultobj; | |
2790 | GLenum _arg0; | |
2791 | GLenum _arg1; | |
2792 | GLfloat * _arg2; | |
f786a3b2 | 2793 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
2794 | |
2795 | self = self; | |
f786a3b2 | 2796 | if(!PyArg_ParseTuple(args,"iiO:glGetMaterialfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 2797 | return NULL; |
f786a3b2 HH |
2798 | if (_argo2) { |
2799 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2800 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
2801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMaterialfv. Expected _GLfloat_p."); |
2802 | return NULL; | |
2803 | } | |
2804 | } | |
2805 | { | |
2806 | wxPy_BEGIN_ALLOW_THREADS; | |
2807 | glGetMaterialfv(_arg0,_arg1,_arg2); | |
2808 | ||
2809 | wxPy_END_ALLOW_THREADS; | |
2810 | } Py_INCREF(Py_None); | |
2811 | _resultobj = Py_None; | |
2812 | return _resultobj; | |
2813 | } | |
2814 | ||
2815 | static PyObject *_wrap_glGetMaterialiv(PyObject *self, PyObject *args) { | |
2816 | PyObject * _resultobj; | |
2817 | GLenum _arg0; | |
2818 | GLenum _arg1; | |
2819 | GLint * _arg2; | |
f786a3b2 | 2820 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
2821 | |
2822 | self = self; | |
f786a3b2 | 2823 | if(!PyArg_ParseTuple(args,"iiO:glGetMaterialiv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 2824 | return NULL; |
f786a3b2 HH |
2825 | if (_argo2) { |
2826 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2827 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
2828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMaterialiv. Expected _GLint_p."); |
2829 | return NULL; | |
2830 | } | |
2831 | } | |
2832 | { | |
2833 | wxPy_BEGIN_ALLOW_THREADS; | |
2834 | glGetMaterialiv(_arg0,_arg1,_arg2); | |
2835 | ||
2836 | wxPy_END_ALLOW_THREADS; | |
2837 | } Py_INCREF(Py_None); | |
2838 | _resultobj = Py_None; | |
2839 | return _resultobj; | |
2840 | } | |
2841 | ||
2842 | static PyObject *_wrap_glGetPixelMapfv(PyObject *self, PyObject *args) { | |
2843 | PyObject * _resultobj; | |
2844 | GLenum _arg0; | |
2845 | GLfloat * _arg1; | |
f786a3b2 | 2846 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2847 | |
2848 | self = self; | |
f786a3b2 | 2849 | if(!PyArg_ParseTuple(args,"iO:glGetPixelMapfv",&_arg0,&_argo1)) |
a29cd6c0 | 2850 | return NULL; |
f786a3b2 HH |
2851 | if (_argo1) { |
2852 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2853 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
a29cd6c0 HH |
2854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapfv. Expected _GLfloat_p."); |
2855 | return NULL; | |
2856 | } | |
2857 | } | |
2858 | { | |
2859 | wxPy_BEGIN_ALLOW_THREADS; | |
2860 | glGetPixelMapfv(_arg0,_arg1); | |
2861 | ||
2862 | wxPy_END_ALLOW_THREADS; | |
2863 | } Py_INCREF(Py_None); | |
2864 | _resultobj = Py_None; | |
2865 | return _resultobj; | |
2866 | } | |
2867 | ||
2868 | static PyObject *_wrap_glGetPixelMapuiv(PyObject *self, PyObject *args) { | |
2869 | PyObject * _resultobj; | |
2870 | GLenum _arg0; | |
2871 | GLuint * _arg1; | |
f786a3b2 | 2872 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2873 | |
2874 | self = self; | |
f786a3b2 | 2875 | if(!PyArg_ParseTuple(args,"iO:glGetPixelMapuiv",&_arg0,&_argo1)) |
a29cd6c0 | 2876 | return NULL; |
f786a3b2 HH |
2877 | if (_argo1) { |
2878 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2879 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
a29cd6c0 HH |
2880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapuiv. Expected _GLuint_p."); |
2881 | return NULL; | |
2882 | } | |
2883 | } | |
2884 | { | |
2885 | wxPy_BEGIN_ALLOW_THREADS; | |
2886 | glGetPixelMapuiv(_arg0,_arg1); | |
2887 | ||
2888 | wxPy_END_ALLOW_THREADS; | |
2889 | } Py_INCREF(Py_None); | |
2890 | _resultobj = Py_None; | |
2891 | return _resultobj; | |
2892 | } | |
2893 | ||
2894 | static PyObject *_wrap_glGetPixelMapusv(PyObject *self, PyObject *args) { | |
2895 | PyObject * _resultobj; | |
2896 | GLenum _arg0; | |
2897 | GLushort * _arg1; | |
f786a3b2 | 2898 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2899 | |
2900 | self = self; | |
f786a3b2 | 2901 | if(!PyArg_ParseTuple(args,"iO:glGetPixelMapusv",&_arg0,&_argo1)) |
a29cd6c0 | 2902 | return NULL; |
f786a3b2 HH |
2903 | if (_argo1) { |
2904 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2905 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLushort_p")) { | |
a29cd6c0 HH |
2906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapusv. Expected _GLushort_p."); |
2907 | return NULL; | |
2908 | } | |
2909 | } | |
2910 | { | |
2911 | wxPy_BEGIN_ALLOW_THREADS; | |
2912 | glGetPixelMapusv(_arg0,_arg1); | |
2913 | ||
2914 | wxPy_END_ALLOW_THREADS; | |
2915 | } Py_INCREF(Py_None); | |
2916 | _resultobj = Py_None; | |
2917 | return _resultobj; | |
2918 | } | |
2919 | ||
2920 | static PyObject *_wrap_glGetPointerv(PyObject *self, PyObject *args) { | |
2921 | PyObject * _resultobj; | |
2922 | GLenum _arg0; | |
2923 | GLvoid ** _arg1; | |
f786a3b2 | 2924 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
2925 | |
2926 | self = self; | |
f786a3b2 | 2927 | if(!PyArg_ParseTuple(args,"iO:glGetPointerv",&_arg0,&_argo1)) |
a29cd6c0 | 2928 | return NULL; |
f786a3b2 HH |
2929 | if (_argo1) { |
2930 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2931 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
a29cd6c0 HH |
2932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPointerv. Expected _GLvoid_pp."); |
2933 | return NULL; | |
2934 | } | |
2935 | } | |
2936 | { | |
2937 | wxPy_BEGIN_ALLOW_THREADS; | |
2938 | glGetPointerv(_arg0,_arg1); | |
2939 | ||
2940 | wxPy_END_ALLOW_THREADS; | |
2941 | } Py_INCREF(Py_None); | |
2942 | _resultobj = Py_None; | |
2943 | return _resultobj; | |
2944 | } | |
2945 | ||
2946 | static PyObject *_wrap_glGetPolygonStipple(PyObject *self, PyObject *args) { | |
2947 | PyObject * _resultobj; | |
2948 | GLubyte * _arg0; | |
f786a3b2 | 2949 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
2950 | |
2951 | self = self; | |
f786a3b2 | 2952 | if(!PyArg_ParseTuple(args,"O:glGetPolygonStipple",&_argo0)) |
a29cd6c0 | 2953 | return NULL; |
f786a3b2 HH |
2954 | if (_argo0) { |
2955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
a29cd6c0 HH |
2957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glGetPolygonStipple. Expected _GLubyte_p."); |
2958 | return NULL; | |
2959 | } | |
2960 | } | |
2961 | { | |
2962 | wxPy_BEGIN_ALLOW_THREADS; | |
2963 | glGetPolygonStipple(_arg0); | |
2964 | ||
2965 | wxPy_END_ALLOW_THREADS; | |
2966 | } Py_INCREF(Py_None); | |
2967 | _resultobj = Py_None; | |
2968 | return _resultobj; | |
2969 | } | |
2970 | ||
2971 | static PyObject *_wrap_glGetString(PyObject *self, PyObject *args) { | |
2972 | PyObject * _resultobj; | |
2973 | GLubyte * _result; | |
2974 | GLenum _arg0; | |
2975 | char _ptemp[128]; | |
2976 | ||
2977 | self = self; | |
2978 | if(!PyArg_ParseTuple(args,"i:glGetString",&_arg0)) | |
2979 | return NULL; | |
2980 | { | |
2981 | wxPy_BEGIN_ALLOW_THREADS; | |
2982 | _result = (GLubyte *)glGetString(_arg0); | |
2983 | ||
2984 | wxPy_END_ALLOW_THREADS; | |
f786a3b2 HH |
2985 | } if (_result) { |
2986 | SWIG_MakePtr(_ptemp, (char *) _result,"_GLubyte_p"); | |
2987 | _resultobj = Py_BuildValue("s",_ptemp); | |
2988 | } else { | |
2989 | Py_INCREF(Py_None); | |
2990 | _resultobj = Py_None; | |
2991 | } | |
a29cd6c0 HH |
2992 | return _resultobj; |
2993 | } | |
2994 | ||
2995 | static PyObject *_wrap_glGetTexEnvfv(PyObject *self, PyObject *args) { | |
2996 | PyObject * _resultobj; | |
2997 | GLenum _arg0; | |
2998 | GLenum _arg1; | |
2999 | GLfloat * _arg2; | |
f786a3b2 | 3000 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3001 | |
3002 | self = self; | |
f786a3b2 | 3003 | if(!PyArg_ParseTuple(args,"iiO:glGetTexEnvfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3004 | return NULL; |
f786a3b2 HH |
3005 | if (_argo2) { |
3006 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3007 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
3008 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexEnvfv. Expected _GLfloat_p."); |
3009 | return NULL; | |
3010 | } | |
3011 | } | |
3012 | { | |
3013 | wxPy_BEGIN_ALLOW_THREADS; | |
3014 | glGetTexEnvfv(_arg0,_arg1,_arg2); | |
3015 | ||
3016 | wxPy_END_ALLOW_THREADS; | |
3017 | } Py_INCREF(Py_None); | |
3018 | _resultobj = Py_None; | |
3019 | return _resultobj; | |
3020 | } | |
3021 | ||
3022 | static PyObject *_wrap_glGetTexEnviv(PyObject *self, PyObject *args) { | |
3023 | PyObject * _resultobj; | |
3024 | GLenum _arg0; | |
3025 | GLenum _arg1; | |
3026 | GLint * _arg2; | |
f786a3b2 | 3027 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3028 | |
3029 | self = self; | |
f786a3b2 | 3030 | if(!PyArg_ParseTuple(args,"iiO:glGetTexEnviv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3031 | return NULL; |
f786a3b2 HH |
3032 | if (_argo2) { |
3033 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3034 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
3035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexEnviv. Expected _GLint_p."); |
3036 | return NULL; | |
3037 | } | |
3038 | } | |
3039 | { | |
3040 | wxPy_BEGIN_ALLOW_THREADS; | |
3041 | glGetTexEnviv(_arg0,_arg1,_arg2); | |
3042 | ||
3043 | wxPy_END_ALLOW_THREADS; | |
3044 | } Py_INCREF(Py_None); | |
3045 | _resultobj = Py_None; | |
3046 | return _resultobj; | |
3047 | } | |
3048 | ||
3049 | static PyObject *_wrap_glGetTexGendv(PyObject *self, PyObject *args) { | |
3050 | PyObject * _resultobj; | |
3051 | GLenum _arg0; | |
3052 | GLenum _arg1; | |
3053 | GLdouble * _arg2; | |
f786a3b2 | 3054 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3055 | |
3056 | self = self; | |
f786a3b2 | 3057 | if(!PyArg_ParseTuple(args,"iiO:glGetTexGendv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3058 | return NULL; |
f786a3b2 HH |
3059 | if (_argo2) { |
3060 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3061 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) { | |
a29cd6c0 HH |
3062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGendv. Expected _GLdouble_p."); |
3063 | return NULL; | |
3064 | } | |
3065 | } | |
3066 | { | |
3067 | wxPy_BEGIN_ALLOW_THREADS; | |
3068 | glGetTexGendv(_arg0,_arg1,_arg2); | |
3069 | ||
3070 | wxPy_END_ALLOW_THREADS; | |
3071 | } Py_INCREF(Py_None); | |
3072 | _resultobj = Py_None; | |
3073 | return _resultobj; | |
3074 | } | |
3075 | ||
3076 | static PyObject *_wrap_glGetTexGenfv(PyObject *self, PyObject *args) { | |
3077 | PyObject * _resultobj; | |
3078 | GLenum _arg0; | |
3079 | GLenum _arg1; | |
3080 | GLfloat * _arg2; | |
f786a3b2 | 3081 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3082 | |
3083 | self = self; | |
f786a3b2 | 3084 | if(!PyArg_ParseTuple(args,"iiO:glGetTexGenfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3085 | return NULL; |
f786a3b2 HH |
3086 | if (_argo2) { |
3087 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3088 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
3089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGenfv. Expected _GLfloat_p."); |
3090 | return NULL; | |
3091 | } | |
3092 | } | |
3093 | { | |
3094 | wxPy_BEGIN_ALLOW_THREADS; | |
3095 | glGetTexGenfv(_arg0,_arg1,_arg2); | |
3096 | ||
3097 | wxPy_END_ALLOW_THREADS; | |
3098 | } Py_INCREF(Py_None); | |
3099 | _resultobj = Py_None; | |
3100 | return _resultobj; | |
3101 | } | |
3102 | ||
3103 | static PyObject *_wrap_glGetTexGeniv(PyObject *self, PyObject *args) { | |
3104 | PyObject * _resultobj; | |
3105 | GLenum _arg0; | |
3106 | GLenum _arg1; | |
3107 | GLint * _arg2; | |
f786a3b2 | 3108 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3109 | |
3110 | self = self; | |
f786a3b2 | 3111 | if(!PyArg_ParseTuple(args,"iiO:glGetTexGeniv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3112 | return NULL; |
f786a3b2 HH |
3113 | if (_argo2) { |
3114 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3115 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
3116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGeniv. Expected _GLint_p."); |
3117 | return NULL; | |
3118 | } | |
3119 | } | |
3120 | { | |
3121 | wxPy_BEGIN_ALLOW_THREADS; | |
3122 | glGetTexGeniv(_arg0,_arg1,_arg2); | |
3123 | ||
3124 | wxPy_END_ALLOW_THREADS; | |
3125 | } Py_INCREF(Py_None); | |
3126 | _resultobj = Py_None; | |
3127 | return _resultobj; | |
3128 | } | |
3129 | ||
3130 | static PyObject *_wrap_glGetTexImage(PyObject *self, PyObject *args) { | |
3131 | PyObject * _resultobj; | |
3132 | GLenum _arg0; | |
3133 | GLint _arg1; | |
3134 | GLenum _arg2; | |
3135 | GLenum _arg3; | |
3136 | GLvoid * _arg4; | |
f786a3b2 | 3137 | PyObject * _argo4 = 0; |
a29cd6c0 HH |
3138 | |
3139 | self = self; | |
f786a3b2 | 3140 | if(!PyArg_ParseTuple(args,"iiiiO:glGetTexImage",&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
a29cd6c0 | 3141 | return NULL; |
f786a3b2 HH |
3142 | if (_argo4) { |
3143 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
3144 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) { | |
a29cd6c0 HH |
3145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glGetTexImage. Expected _GLvoid_p."); |
3146 | return NULL; | |
3147 | } | |
3148 | } | |
3149 | { | |
3150 | wxPy_BEGIN_ALLOW_THREADS; | |
3151 | glGetTexImage(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3152 | ||
3153 | wxPy_END_ALLOW_THREADS; | |
3154 | } Py_INCREF(Py_None); | |
3155 | _resultobj = Py_None; | |
3156 | return _resultobj; | |
3157 | } | |
3158 | ||
3159 | static PyObject *_wrap_glGetTexLevelParameterfv(PyObject *self, PyObject *args) { | |
3160 | PyObject * _resultobj; | |
3161 | GLenum _arg0; | |
3162 | GLint _arg1; | |
3163 | GLenum _arg2; | |
3164 | GLfloat * _arg3; | |
f786a3b2 | 3165 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
3166 | |
3167 | self = self; | |
f786a3b2 | 3168 | if(!PyArg_ParseTuple(args,"iiiO:glGetTexLevelParameterfv",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 3169 | return NULL; |
f786a3b2 HH |
3170 | if (_argo3) { |
3171 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
3172 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_GLfloat_p")) { | |
a29cd6c0 HH |
3173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetTexLevelParameterfv. Expected _GLfloat_p."); |
3174 | return NULL; | |
3175 | } | |
3176 | } | |
3177 | { | |
3178 | wxPy_BEGIN_ALLOW_THREADS; | |
3179 | glGetTexLevelParameterfv(_arg0,_arg1,_arg2,_arg3); | |
3180 | ||
3181 | wxPy_END_ALLOW_THREADS; | |
3182 | } Py_INCREF(Py_None); | |
3183 | _resultobj = Py_None; | |
3184 | return _resultobj; | |
3185 | } | |
3186 | ||
3187 | static PyObject *_wrap_glGetTexLevelParameteriv(PyObject *self, PyObject *args) { | |
3188 | PyObject * _resultobj; | |
3189 | GLenum _arg0; | |
3190 | GLint _arg1; | |
3191 | GLenum _arg2; | |
3192 | GLint * _arg3; | |
f786a3b2 | 3193 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
3194 | |
3195 | self = self; | |
f786a3b2 | 3196 | if(!PyArg_ParseTuple(args,"iiiO:glGetTexLevelParameteriv",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 3197 | return NULL; |
f786a3b2 HH |
3198 | if (_argo3) { |
3199 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
3200 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_GLint_p")) { | |
a29cd6c0 HH |
3201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetTexLevelParameteriv. Expected _GLint_p."); |
3202 | return NULL; | |
3203 | } | |
3204 | } | |
3205 | { | |
3206 | wxPy_BEGIN_ALLOW_THREADS; | |
3207 | glGetTexLevelParameteriv(_arg0,_arg1,_arg2,_arg3); | |
3208 | ||
3209 | wxPy_END_ALLOW_THREADS; | |
3210 | } Py_INCREF(Py_None); | |
3211 | _resultobj = Py_None; | |
3212 | return _resultobj; | |
3213 | } | |
3214 | ||
3215 | static PyObject *_wrap_glGetTexParameterfv(PyObject *self, PyObject *args) { | |
3216 | PyObject * _resultobj; | |
3217 | GLenum _arg0; | |
3218 | GLenum _arg1; | |
3219 | GLfloat * _arg2; | |
f786a3b2 | 3220 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3221 | |
3222 | self = self; | |
f786a3b2 | 3223 | if(!PyArg_ParseTuple(args,"iiO:glGetTexParameterfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3224 | return NULL; |
f786a3b2 HH |
3225 | if (_argo2) { |
3226 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3227 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
3228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexParameterfv. Expected _GLfloat_p."); |
3229 | return NULL; | |
3230 | } | |
3231 | } | |
3232 | { | |
3233 | wxPy_BEGIN_ALLOW_THREADS; | |
3234 | glGetTexParameterfv(_arg0,_arg1,_arg2); | |
3235 | ||
3236 | wxPy_END_ALLOW_THREADS; | |
3237 | } Py_INCREF(Py_None); | |
3238 | _resultobj = Py_None; | |
3239 | return _resultobj; | |
3240 | } | |
3241 | ||
3242 | static PyObject *_wrap_glGetTexParameteriv(PyObject *self, PyObject *args) { | |
3243 | PyObject * _resultobj; | |
3244 | GLenum _arg0; | |
3245 | GLenum _arg1; | |
3246 | GLint * _arg2; | |
f786a3b2 | 3247 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3248 | |
3249 | self = self; | |
f786a3b2 | 3250 | if(!PyArg_ParseTuple(args,"iiO:glGetTexParameteriv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3251 | return NULL; |
f786a3b2 HH |
3252 | if (_argo2) { |
3253 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3254 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
3255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexParameteriv. Expected _GLint_p."); |
3256 | return NULL; | |
3257 | } | |
3258 | } | |
3259 | { | |
3260 | wxPy_BEGIN_ALLOW_THREADS; | |
3261 | glGetTexParameteriv(_arg0,_arg1,_arg2); | |
3262 | ||
3263 | wxPy_END_ALLOW_THREADS; | |
3264 | } Py_INCREF(Py_None); | |
3265 | _resultobj = Py_None; | |
3266 | return _resultobj; | |
3267 | } | |
3268 | ||
3269 | static PyObject *_wrap_glHint(PyObject *self, PyObject *args) { | |
3270 | PyObject * _resultobj; | |
3271 | GLenum _arg0; | |
3272 | GLenum _arg1; | |
3273 | ||
3274 | self = self; | |
3275 | if(!PyArg_ParseTuple(args,"ii:glHint",&_arg0,&_arg1)) | |
3276 | return NULL; | |
3277 | { | |
3278 | wxPy_BEGIN_ALLOW_THREADS; | |
3279 | glHint(_arg0,_arg1); | |
3280 | ||
3281 | wxPy_END_ALLOW_THREADS; | |
3282 | } Py_INCREF(Py_None); | |
3283 | _resultobj = Py_None; | |
3284 | return _resultobj; | |
3285 | } | |
3286 | ||
3287 | static PyObject *_wrap_glIndexMask(PyObject *self, PyObject *args) { | |
3288 | PyObject * _resultobj; | |
3289 | GLuint _arg0; | |
3290 | ||
3291 | self = self; | |
3292 | if(!PyArg_ParseTuple(args,"i:glIndexMask",&_arg0)) | |
3293 | return NULL; | |
3294 | { | |
3295 | wxPy_BEGIN_ALLOW_THREADS; | |
3296 | glIndexMask(_arg0); | |
3297 | ||
3298 | wxPy_END_ALLOW_THREADS; | |
3299 | } Py_INCREF(Py_None); | |
3300 | _resultobj = Py_None; | |
3301 | return _resultobj; | |
3302 | } | |
3303 | ||
3304 | static PyObject *_wrap_glIndexPointer(PyObject *self, PyObject *args) { | |
3305 | PyObject * _resultobj; | |
3306 | GLenum _arg0; | |
3307 | GLsizei _arg1; | |
3308 | GLvoid * _arg2; | |
f786a3b2 | 3309 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3310 | |
3311 | self = self; | |
f786a3b2 | 3312 | if(!PyArg_ParseTuple(args,"iiO:glIndexPointer",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3313 | return NULL; |
f786a3b2 HH |
3314 | if (_argo2) { |
3315 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3316 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
a29cd6c0 HH |
3317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glIndexPointer. Expected _GLvoid_p."); |
3318 | return NULL; | |
3319 | } | |
3320 | } | |
3321 | { | |
3322 | wxPy_BEGIN_ALLOW_THREADS; | |
3323 | glIndexPointer(_arg0,_arg1,_arg2); | |
3324 | ||
3325 | wxPy_END_ALLOW_THREADS; | |
3326 | } Py_INCREF(Py_None); | |
3327 | _resultobj = Py_None; | |
3328 | return _resultobj; | |
3329 | } | |
3330 | ||
3331 | static PyObject *_wrap_glIndexd(PyObject *self, PyObject *args) { | |
3332 | PyObject * _resultobj; | |
3333 | GLdouble _arg0; | |
3334 | ||
3335 | self = self; | |
3336 | if(!PyArg_ParseTuple(args,"d:glIndexd",&_arg0)) | |
3337 | return NULL; | |
3338 | { | |
3339 | wxPy_BEGIN_ALLOW_THREADS; | |
3340 | glIndexd(_arg0); | |
3341 | ||
3342 | wxPy_END_ALLOW_THREADS; | |
3343 | } Py_INCREF(Py_None); | |
3344 | _resultobj = Py_None; | |
3345 | return _resultobj; | |
3346 | } | |
3347 | ||
3348 | static PyObject *_wrap_glIndexdv(PyObject *self, PyObject *args) { | |
3349 | PyObject * _resultobj; | |
3350 | GLdouble * _arg0; | |
f786a3b2 | 3351 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
3352 | |
3353 | self = self; | |
f786a3b2 | 3354 | if(!PyArg_ParseTuple(args,"O:glIndexdv",&_argo0)) |
a29cd6c0 | 3355 | return NULL; |
f786a3b2 HH |
3356 | if (_argo0) { |
3357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
3359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexdv. Expected _GLdouble_p."); |
3360 | return NULL; | |
3361 | } | |
3362 | } | |
3363 | { | |
3364 | wxPy_BEGIN_ALLOW_THREADS; | |
3365 | glIndexdv(_arg0); | |
3366 | ||
3367 | wxPy_END_ALLOW_THREADS; | |
3368 | } Py_INCREF(Py_None); | |
3369 | _resultobj = Py_None; | |
3370 | return _resultobj; | |
3371 | } | |
3372 | ||
3373 | static PyObject *_wrap_glIndexf(PyObject *self, PyObject *args) { | |
3374 | PyObject * _resultobj; | |
3375 | GLfloat _arg0; | |
3376 | ||
3377 | self = self; | |
3378 | if(!PyArg_ParseTuple(args,"f:glIndexf",&_arg0)) | |
3379 | return NULL; | |
3380 | { | |
3381 | wxPy_BEGIN_ALLOW_THREADS; | |
3382 | glIndexf(_arg0); | |
3383 | ||
3384 | wxPy_END_ALLOW_THREADS; | |
3385 | } Py_INCREF(Py_None); | |
3386 | _resultobj = Py_None; | |
3387 | return _resultobj; | |
3388 | } | |
3389 | ||
3390 | static PyObject *_wrap_glIndexfv(PyObject *self, PyObject *args) { | |
3391 | PyObject * _resultobj; | |
3392 | GLfloat * _arg0; | |
f786a3b2 | 3393 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
3394 | |
3395 | self = self; | |
f786a3b2 | 3396 | if(!PyArg_ParseTuple(args,"O:glIndexfv",&_argo0)) |
a29cd6c0 | 3397 | return NULL; |
f786a3b2 HH |
3398 | if (_argo0) { |
3399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
3401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexfv. Expected _GLfloat_p."); |
3402 | return NULL; | |
3403 | } | |
3404 | } | |
3405 | { | |
3406 | wxPy_BEGIN_ALLOW_THREADS; | |
3407 | glIndexfv(_arg0); | |
3408 | ||
3409 | wxPy_END_ALLOW_THREADS; | |
3410 | } Py_INCREF(Py_None); | |
3411 | _resultobj = Py_None; | |
3412 | return _resultobj; | |
3413 | } | |
3414 | ||
3415 | static PyObject *_wrap_glIndexi(PyObject *self, PyObject *args) { | |
3416 | PyObject * _resultobj; | |
3417 | GLint _arg0; | |
3418 | ||
3419 | self = self; | |
3420 | if(!PyArg_ParseTuple(args,"i:glIndexi",&_arg0)) | |
3421 | return NULL; | |
3422 | { | |
3423 | wxPy_BEGIN_ALLOW_THREADS; | |
3424 | glIndexi(_arg0); | |
3425 | ||
3426 | wxPy_END_ALLOW_THREADS; | |
3427 | } Py_INCREF(Py_None); | |
3428 | _resultobj = Py_None; | |
3429 | return _resultobj; | |
3430 | } | |
3431 | ||
3432 | static PyObject *_wrap_glIndexiv(PyObject *self, PyObject *args) { | |
3433 | PyObject * _resultobj; | |
3434 | GLint * _arg0; | |
f786a3b2 | 3435 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
3436 | |
3437 | self = self; | |
f786a3b2 | 3438 | if(!PyArg_ParseTuple(args,"O:glIndexiv",&_argo0)) |
a29cd6c0 | 3439 | return NULL; |
f786a3b2 HH |
3440 | if (_argo0) { |
3441 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3442 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
3443 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexiv. Expected _GLint_p."); |
3444 | return NULL; | |
3445 | } | |
3446 | } | |
3447 | { | |
3448 | wxPy_BEGIN_ALLOW_THREADS; | |
3449 | glIndexiv(_arg0); | |
3450 | ||
3451 | wxPy_END_ALLOW_THREADS; | |
3452 | } Py_INCREF(Py_None); | |
3453 | _resultobj = Py_None; | |
3454 | return _resultobj; | |
3455 | } | |
3456 | ||
3457 | static PyObject *_wrap_glIndexs(PyObject *self, PyObject *args) { | |
3458 | PyObject * _resultobj; | |
3459 | GLshort _arg0; | |
3460 | ||
3461 | self = self; | |
3462 | if(!PyArg_ParseTuple(args,"h:glIndexs",&_arg0)) | |
3463 | return NULL; | |
3464 | { | |
3465 | wxPy_BEGIN_ALLOW_THREADS; | |
3466 | glIndexs(_arg0); | |
3467 | ||
3468 | wxPy_END_ALLOW_THREADS; | |
3469 | } Py_INCREF(Py_None); | |
3470 | _resultobj = Py_None; | |
3471 | return _resultobj; | |
3472 | } | |
3473 | ||
3474 | static PyObject *_wrap_glIndexsv(PyObject *self, PyObject *args) { | |
3475 | PyObject * _resultobj; | |
3476 | GLshort * _arg0; | |
f786a3b2 | 3477 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
3478 | |
3479 | self = self; | |
f786a3b2 | 3480 | if(!PyArg_ParseTuple(args,"O:glIndexsv",&_argo0)) |
a29cd6c0 | 3481 | return NULL; |
f786a3b2 HH |
3482 | if (_argo0) { |
3483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
3485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexsv. Expected _GLshort_p."); |
3486 | return NULL; | |
3487 | } | |
3488 | } | |
3489 | { | |
3490 | wxPy_BEGIN_ALLOW_THREADS; | |
3491 | glIndexsv(_arg0); | |
3492 | ||
3493 | wxPy_END_ALLOW_THREADS; | |
3494 | } Py_INCREF(Py_None); | |
3495 | _resultobj = Py_None; | |
3496 | return _resultobj; | |
3497 | } | |
3498 | ||
3499 | static PyObject *_wrap_glIndexub(PyObject *self, PyObject *args) { | |
3500 | PyObject * _resultobj; | |
3501 | GLubyte _arg0; | |
3502 | ||
3503 | self = self; | |
3504 | if(!PyArg_ParseTuple(args,"b:glIndexub",&_arg0)) | |
3505 | return NULL; | |
3506 | { | |
3507 | wxPy_BEGIN_ALLOW_THREADS; | |
3508 | glIndexub(_arg0); | |
3509 | ||
3510 | wxPy_END_ALLOW_THREADS; | |
3511 | } Py_INCREF(Py_None); | |
3512 | _resultobj = Py_None; | |
3513 | return _resultobj; | |
3514 | } | |
3515 | ||
3516 | static PyObject *_wrap_glIndexubv(PyObject *self, PyObject *args) { | |
3517 | PyObject * _resultobj; | |
3518 | GLubyte * _arg0; | |
f786a3b2 | 3519 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
3520 | |
3521 | self = self; | |
f786a3b2 | 3522 | if(!PyArg_ParseTuple(args,"O:glIndexubv",&_argo0)) |
a29cd6c0 | 3523 | return NULL; |
f786a3b2 HH |
3524 | if (_argo0) { |
3525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
a29cd6c0 HH |
3527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexubv. Expected _GLubyte_p."); |
3528 | return NULL; | |
3529 | } | |
3530 | } | |
3531 | { | |
3532 | wxPy_BEGIN_ALLOW_THREADS; | |
3533 | glIndexubv(_arg0); | |
3534 | ||
3535 | wxPy_END_ALLOW_THREADS; | |
3536 | } Py_INCREF(Py_None); | |
3537 | _resultobj = Py_None; | |
3538 | return _resultobj; | |
3539 | } | |
3540 | ||
3541 | static PyObject *_wrap_glInitNames(PyObject *self, PyObject *args) { | |
3542 | PyObject * _resultobj; | |
3543 | ||
3544 | self = self; | |
3545 | if(!PyArg_ParseTuple(args,":glInitNames")) | |
3546 | return NULL; | |
3547 | { | |
3548 | wxPy_BEGIN_ALLOW_THREADS; | |
3549 | glInitNames(); | |
3550 | ||
3551 | wxPy_END_ALLOW_THREADS; | |
3552 | } Py_INCREF(Py_None); | |
3553 | _resultobj = Py_None; | |
3554 | return _resultobj; | |
3555 | } | |
3556 | ||
3557 | static PyObject *_wrap_glInterleavedArrays(PyObject *self, PyObject *args) { | |
3558 | PyObject * _resultobj; | |
3559 | GLenum _arg0; | |
3560 | GLsizei _arg1; | |
3561 | GLvoid * _arg2; | |
f786a3b2 | 3562 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3563 | |
3564 | self = self; | |
f786a3b2 | 3565 | if(!PyArg_ParseTuple(args,"iiO:glInterleavedArrays",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3566 | return NULL; |
f786a3b2 HH |
3567 | if (_argo2) { |
3568 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3569 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
a29cd6c0 HH |
3570 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glInterleavedArrays. Expected _GLvoid_p."); |
3571 | return NULL; | |
3572 | } | |
3573 | } | |
3574 | { | |
3575 | wxPy_BEGIN_ALLOW_THREADS; | |
3576 | glInterleavedArrays(_arg0,_arg1,_arg2); | |
3577 | ||
3578 | wxPy_END_ALLOW_THREADS; | |
3579 | } Py_INCREF(Py_None); | |
3580 | _resultobj = Py_None; | |
3581 | return _resultobj; | |
3582 | } | |
3583 | ||
3584 | static PyObject *_wrap_glIsEnabled(PyObject *self, PyObject *args) { | |
3585 | PyObject * _resultobj; | |
3586 | GLboolean _result; | |
3587 | GLenum _arg0; | |
3588 | ||
3589 | self = self; | |
3590 | if(!PyArg_ParseTuple(args,"i:glIsEnabled",&_arg0)) | |
3591 | return NULL; | |
3592 | { | |
3593 | wxPy_BEGIN_ALLOW_THREADS; | |
3594 | _result = (GLboolean )glIsEnabled(_arg0); | |
3595 | ||
3596 | wxPy_END_ALLOW_THREADS; | |
3597 | } _resultobj = Py_BuildValue("b",_result); | |
3598 | return _resultobj; | |
3599 | } | |
3600 | ||
3601 | static PyObject *_wrap_glIsList(PyObject *self, PyObject *args) { | |
3602 | PyObject * _resultobj; | |
3603 | GLboolean _result; | |
3604 | GLuint _arg0; | |
3605 | ||
3606 | self = self; | |
3607 | if(!PyArg_ParseTuple(args,"i:glIsList",&_arg0)) | |
3608 | return NULL; | |
3609 | { | |
3610 | wxPy_BEGIN_ALLOW_THREADS; | |
3611 | _result = (GLboolean )glIsList(_arg0); | |
3612 | ||
3613 | wxPy_END_ALLOW_THREADS; | |
3614 | } _resultobj = Py_BuildValue("b",_result); | |
3615 | return _resultobj; | |
3616 | } | |
3617 | ||
3618 | static PyObject *_wrap_glIsTexture(PyObject *self, PyObject *args) { | |
3619 | PyObject * _resultobj; | |
3620 | GLboolean _result; | |
3621 | GLuint _arg0; | |
3622 | ||
3623 | self = self; | |
3624 | if(!PyArg_ParseTuple(args,"i:glIsTexture",&_arg0)) | |
3625 | return NULL; | |
3626 | { | |
3627 | wxPy_BEGIN_ALLOW_THREADS; | |
3628 | _result = (GLboolean )glIsTexture(_arg0); | |
3629 | ||
3630 | wxPy_END_ALLOW_THREADS; | |
3631 | } _resultobj = Py_BuildValue("b",_result); | |
3632 | return _resultobj; | |
3633 | } | |
3634 | ||
3635 | static PyObject *_wrap_glLightModelf(PyObject *self, PyObject *args) { | |
3636 | PyObject * _resultobj; | |
3637 | GLenum _arg0; | |
3638 | GLfloat _arg1; | |
3639 | ||
3640 | self = self; | |
3641 | if(!PyArg_ParseTuple(args,"if:glLightModelf",&_arg0,&_arg1)) | |
3642 | return NULL; | |
3643 | { | |
3644 | wxPy_BEGIN_ALLOW_THREADS; | |
3645 | glLightModelf(_arg0,_arg1); | |
3646 | ||
3647 | wxPy_END_ALLOW_THREADS; | |
3648 | } Py_INCREF(Py_None); | |
3649 | _resultobj = Py_None; | |
3650 | return _resultobj; | |
3651 | } | |
3652 | ||
3653 | static PyObject *_wrap_glLightModelfv(PyObject *self, PyObject *args) { | |
3654 | PyObject * _resultobj; | |
3655 | GLenum _arg0; | |
3656 | GLfloat * _arg1; | |
f786a3b2 | 3657 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
3658 | |
3659 | self = self; | |
f786a3b2 | 3660 | if(!PyArg_ParseTuple(args,"iO:glLightModelfv",&_arg0,&_argo1)) |
a29cd6c0 | 3661 | return NULL; |
f786a3b2 HH |
3662 | if (_argo1) { |
3663 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3664 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
a29cd6c0 HH |
3665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glLightModelfv. Expected _GLfloat_p."); |
3666 | return NULL; | |
3667 | } | |
3668 | } | |
3669 | { | |
3670 | wxPy_BEGIN_ALLOW_THREADS; | |
3671 | glLightModelfv(_arg0,_arg1); | |
3672 | ||
3673 | wxPy_END_ALLOW_THREADS; | |
3674 | } Py_INCREF(Py_None); | |
3675 | _resultobj = Py_None; | |
3676 | return _resultobj; | |
3677 | } | |
3678 | ||
3679 | static PyObject *_wrap_glLightModeli(PyObject *self, PyObject *args) { | |
3680 | PyObject * _resultobj; | |
3681 | GLenum _arg0; | |
3682 | GLint _arg1; | |
3683 | ||
3684 | self = self; | |
3685 | if(!PyArg_ParseTuple(args,"ii:glLightModeli",&_arg0,&_arg1)) | |
3686 | return NULL; | |
3687 | { | |
3688 | wxPy_BEGIN_ALLOW_THREADS; | |
3689 | glLightModeli(_arg0,_arg1); | |
3690 | ||
3691 | wxPy_END_ALLOW_THREADS; | |
3692 | } Py_INCREF(Py_None); | |
3693 | _resultobj = Py_None; | |
3694 | return _resultobj; | |
3695 | } | |
3696 | ||
3697 | static PyObject *_wrap_glLightModeliv(PyObject *self, PyObject *args) { | |
3698 | PyObject * _resultobj; | |
3699 | GLenum _arg0; | |
3700 | GLint * _arg1; | |
f786a3b2 | 3701 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
3702 | |
3703 | self = self; | |
f786a3b2 | 3704 | if(!PyArg_ParseTuple(args,"iO:glLightModeliv",&_arg0,&_argo1)) |
a29cd6c0 | 3705 | return NULL; |
f786a3b2 HH |
3706 | if (_argo1) { |
3707 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3708 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) { | |
a29cd6c0 HH |
3709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glLightModeliv. Expected _GLint_p."); |
3710 | return NULL; | |
3711 | } | |
3712 | } | |
3713 | { | |
3714 | wxPy_BEGIN_ALLOW_THREADS; | |
3715 | glLightModeliv(_arg0,_arg1); | |
3716 | ||
3717 | wxPy_END_ALLOW_THREADS; | |
3718 | } Py_INCREF(Py_None); | |
3719 | _resultobj = Py_None; | |
3720 | return _resultobj; | |
3721 | } | |
3722 | ||
3723 | static PyObject *_wrap_glLightf(PyObject *self, PyObject *args) { | |
3724 | PyObject * _resultobj; | |
3725 | GLenum _arg0; | |
3726 | GLenum _arg1; | |
3727 | GLfloat _arg2; | |
3728 | ||
3729 | self = self; | |
3730 | if(!PyArg_ParseTuple(args,"iif:glLightf",&_arg0,&_arg1,&_arg2)) | |
3731 | return NULL; | |
3732 | { | |
3733 | wxPy_BEGIN_ALLOW_THREADS; | |
3734 | glLightf(_arg0,_arg1,_arg2); | |
3735 | ||
3736 | wxPy_END_ALLOW_THREADS; | |
3737 | } Py_INCREF(Py_None); | |
3738 | _resultobj = Py_None; | |
3739 | return _resultobj; | |
3740 | } | |
3741 | ||
3742 | static PyObject *_wrap_glLightfv(PyObject *self, PyObject *args) { | |
3743 | PyObject * _resultobj; | |
3744 | GLenum _arg0; | |
3745 | GLenum _arg1; | |
3746 | GLfloat * _arg2; | |
f786a3b2 | 3747 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3748 | |
3749 | self = self; | |
f786a3b2 | 3750 | if(!PyArg_ParseTuple(args,"iiO:glLightfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3751 | return NULL; |
f786a3b2 HH |
3752 | if (_argo2) { |
3753 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3754 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
3755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glLightfv. Expected _GLfloat_p."); |
3756 | return NULL; | |
3757 | } | |
3758 | } | |
3759 | { | |
3760 | wxPy_BEGIN_ALLOW_THREADS; | |
3761 | glLightfv(_arg0,_arg1,_arg2); | |
3762 | ||
3763 | wxPy_END_ALLOW_THREADS; | |
3764 | } Py_INCREF(Py_None); | |
3765 | _resultobj = Py_None; | |
3766 | return _resultobj; | |
3767 | } | |
3768 | ||
3769 | static PyObject *_wrap_glLighti(PyObject *self, PyObject *args) { | |
3770 | PyObject * _resultobj; | |
3771 | GLenum _arg0; | |
3772 | GLenum _arg1; | |
3773 | GLint _arg2; | |
3774 | ||
3775 | self = self; | |
3776 | if(!PyArg_ParseTuple(args,"iii:glLighti",&_arg0,&_arg1,&_arg2)) | |
3777 | return NULL; | |
3778 | { | |
3779 | wxPy_BEGIN_ALLOW_THREADS; | |
3780 | glLighti(_arg0,_arg1,_arg2); | |
3781 | ||
3782 | wxPy_END_ALLOW_THREADS; | |
3783 | } Py_INCREF(Py_None); | |
3784 | _resultobj = Py_None; | |
3785 | return _resultobj; | |
3786 | } | |
3787 | ||
3788 | static PyObject *_wrap_glLightiv(PyObject *self, PyObject *args) { | |
3789 | PyObject * _resultobj; | |
3790 | GLenum _arg0; | |
3791 | GLenum _arg1; | |
3792 | GLint * _arg2; | |
f786a3b2 | 3793 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
3794 | |
3795 | self = self; | |
f786a3b2 | 3796 | if(!PyArg_ParseTuple(args,"iiO:glLightiv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 3797 | return NULL; |
f786a3b2 HH |
3798 | if (_argo2) { |
3799 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3800 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
3801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glLightiv. Expected _GLint_p."); |
3802 | return NULL; | |
3803 | } | |
3804 | } | |
3805 | { | |
3806 | wxPy_BEGIN_ALLOW_THREADS; | |
3807 | glLightiv(_arg0,_arg1,_arg2); | |
3808 | ||
3809 | wxPy_END_ALLOW_THREADS; | |
3810 | } Py_INCREF(Py_None); | |
3811 | _resultobj = Py_None; | |
3812 | return _resultobj; | |
3813 | } | |
3814 | ||
3815 | static PyObject *_wrap_glLineStipple(PyObject *self, PyObject *args) { | |
3816 | PyObject * _resultobj; | |
3817 | GLint _arg0; | |
3818 | GLushort _arg1; | |
3819 | ||
3820 | self = self; | |
3821 | if(!PyArg_ParseTuple(args,"ih:glLineStipple",&_arg0,&_arg1)) | |
3822 | return NULL; | |
3823 | { | |
3824 | wxPy_BEGIN_ALLOW_THREADS; | |
3825 | glLineStipple(_arg0,_arg1); | |
3826 | ||
3827 | wxPy_END_ALLOW_THREADS; | |
3828 | } Py_INCREF(Py_None); | |
3829 | _resultobj = Py_None; | |
3830 | return _resultobj; | |
3831 | } | |
3832 | ||
3833 | static PyObject *_wrap_glLineWidth(PyObject *self, PyObject *args) { | |
3834 | PyObject * _resultobj; | |
3835 | GLfloat _arg0; | |
3836 | ||
3837 | self = self; | |
3838 | if(!PyArg_ParseTuple(args,"f:glLineWidth",&_arg0)) | |
3839 | return NULL; | |
3840 | { | |
3841 | wxPy_BEGIN_ALLOW_THREADS; | |
3842 | glLineWidth(_arg0); | |
3843 | ||
3844 | wxPy_END_ALLOW_THREADS; | |
3845 | } Py_INCREF(Py_None); | |
3846 | _resultobj = Py_None; | |
3847 | return _resultobj; | |
3848 | } | |
3849 | ||
3850 | static PyObject *_wrap_glListBase(PyObject *self, PyObject *args) { | |
3851 | PyObject * _resultobj; | |
3852 | GLuint _arg0; | |
3853 | ||
3854 | self = self; | |
3855 | if(!PyArg_ParseTuple(args,"i:glListBase",&_arg0)) | |
3856 | return NULL; | |
3857 | { | |
3858 | wxPy_BEGIN_ALLOW_THREADS; | |
3859 | glListBase(_arg0); | |
3860 | ||
3861 | wxPy_END_ALLOW_THREADS; | |
3862 | } Py_INCREF(Py_None); | |
3863 | _resultobj = Py_None; | |
3864 | return _resultobj; | |
3865 | } | |
3866 | ||
3867 | static PyObject *_wrap_glLoadIdentity(PyObject *self, PyObject *args) { | |
3868 | PyObject * _resultobj; | |
3869 | ||
3870 | self = self; | |
3871 | if(!PyArg_ParseTuple(args,":glLoadIdentity")) | |
3872 | return NULL; | |
3873 | { | |
3874 | wxPy_BEGIN_ALLOW_THREADS; | |
3875 | glLoadIdentity(); | |
3876 | ||
3877 | wxPy_END_ALLOW_THREADS; | |
3878 | } Py_INCREF(Py_None); | |
3879 | _resultobj = Py_None; | |
3880 | return _resultobj; | |
3881 | } | |
3882 | ||
3883 | static PyObject *_wrap_glLoadMatrixd(PyObject *self, PyObject *args) { | |
3884 | PyObject * _resultobj; | |
3885 | GLdouble * _arg0; | |
f786a3b2 | 3886 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
3887 | |
3888 | self = self; | |
f786a3b2 | 3889 | if(!PyArg_ParseTuple(args,"O:glLoadMatrixd",&_argo0)) |
a29cd6c0 | 3890 | return NULL; |
f786a3b2 HH |
3891 | if (_argo0) { |
3892 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3893 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
3894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glLoadMatrixd. Expected _GLdouble_p."); |
3895 | return NULL; | |
3896 | } | |
3897 | } | |
3898 | { | |
3899 | wxPy_BEGIN_ALLOW_THREADS; | |
3900 | glLoadMatrixd(_arg0); | |
3901 | ||
3902 | wxPy_END_ALLOW_THREADS; | |
3903 | } Py_INCREF(Py_None); | |
3904 | _resultobj = Py_None; | |
3905 | return _resultobj; | |
3906 | } | |
3907 | ||
3908 | static PyObject *_wrap_glLoadMatrixf(PyObject *self, PyObject *args) { | |
3909 | PyObject * _resultobj; | |
3910 | GLfloat * _arg0; | |
f786a3b2 | 3911 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
3912 | |
3913 | self = self; | |
f786a3b2 | 3914 | if(!PyArg_ParseTuple(args,"O:glLoadMatrixf",&_argo0)) |
a29cd6c0 | 3915 | return NULL; |
f786a3b2 HH |
3916 | if (_argo0) { |
3917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
3919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glLoadMatrixf. Expected _GLfloat_p."); |
3920 | return NULL; | |
3921 | } | |
3922 | } | |
3923 | { | |
3924 | wxPy_BEGIN_ALLOW_THREADS; | |
3925 | glLoadMatrixf(_arg0); | |
3926 | ||
3927 | wxPy_END_ALLOW_THREADS; | |
3928 | } Py_INCREF(Py_None); | |
3929 | _resultobj = Py_None; | |
3930 | return _resultobj; | |
3931 | } | |
3932 | ||
3933 | static PyObject *_wrap_glLoadName(PyObject *self, PyObject *args) { | |
3934 | PyObject * _resultobj; | |
3935 | GLuint _arg0; | |
3936 | ||
3937 | self = self; | |
3938 | if(!PyArg_ParseTuple(args,"i:glLoadName",&_arg0)) | |
3939 | return NULL; | |
3940 | { | |
3941 | wxPy_BEGIN_ALLOW_THREADS; | |
3942 | glLoadName(_arg0); | |
3943 | ||
3944 | wxPy_END_ALLOW_THREADS; | |
3945 | } Py_INCREF(Py_None); | |
3946 | _resultobj = Py_None; | |
3947 | return _resultobj; | |
3948 | } | |
3949 | ||
3950 | static PyObject *_wrap_glLogicOp(PyObject *self, PyObject *args) { | |
3951 | PyObject * _resultobj; | |
3952 | GLenum _arg0; | |
3953 | ||
3954 | self = self; | |
3955 | if(!PyArg_ParseTuple(args,"i:glLogicOp",&_arg0)) | |
3956 | return NULL; | |
3957 | { | |
3958 | wxPy_BEGIN_ALLOW_THREADS; | |
3959 | glLogicOp(_arg0); | |
3960 | ||
3961 | wxPy_END_ALLOW_THREADS; | |
3962 | } Py_INCREF(Py_None); | |
3963 | _resultobj = Py_None; | |
3964 | return _resultobj; | |
3965 | } | |
3966 | ||
3967 | static PyObject *_wrap_glMap1d(PyObject *self, PyObject *args) { | |
3968 | PyObject * _resultobj; | |
3969 | GLenum _arg0; | |
3970 | GLdouble _arg1; | |
3971 | GLdouble _arg2; | |
3972 | GLint _arg3; | |
3973 | GLint _arg4; | |
3974 | GLdouble * _arg5; | |
f786a3b2 | 3975 | PyObject * _argo5 = 0; |
a29cd6c0 HH |
3976 | |
3977 | self = self; | |
f786a3b2 | 3978 | if(!PyArg_ParseTuple(args,"iddiiO:glMap1d",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5)) |
a29cd6c0 | 3979 | return NULL; |
f786a3b2 HH |
3980 | if (_argo5) { |
3981 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
3982 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_GLdouble_p")) { | |
a29cd6c0 HH |
3983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glMap1d. Expected _GLdouble_p."); |
3984 | return NULL; | |
3985 | } | |
3986 | } | |
3987 | { | |
3988 | wxPy_BEGIN_ALLOW_THREADS; | |
3989 | glMap1d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3990 | ||
3991 | wxPy_END_ALLOW_THREADS; | |
3992 | } Py_INCREF(Py_None); | |
3993 | _resultobj = Py_None; | |
3994 | return _resultobj; | |
3995 | } | |
3996 | ||
3997 | static PyObject *_wrap_glMap1f(PyObject *self, PyObject *args) { | |
3998 | PyObject * _resultobj; | |
3999 | GLenum _arg0; | |
4000 | GLfloat _arg1; | |
4001 | GLfloat _arg2; | |
4002 | GLint _arg3; | |
4003 | GLint _arg4; | |
4004 | GLfloat * _arg5; | |
f786a3b2 | 4005 | PyObject * _argo5 = 0; |
a29cd6c0 HH |
4006 | |
4007 | self = self; | |
f786a3b2 | 4008 | if(!PyArg_ParseTuple(args,"iffiiO:glMap1f",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5)) |
a29cd6c0 | 4009 | return NULL; |
f786a3b2 HH |
4010 | if (_argo5) { |
4011 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4012 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_GLfloat_p")) { | |
a29cd6c0 HH |
4013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glMap1f. Expected _GLfloat_p."); |
4014 | return NULL; | |
4015 | } | |
4016 | } | |
4017 | { | |
4018 | wxPy_BEGIN_ALLOW_THREADS; | |
4019 | glMap1f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4020 | ||
4021 | wxPy_END_ALLOW_THREADS; | |
4022 | } Py_INCREF(Py_None); | |
4023 | _resultobj = Py_None; | |
4024 | return _resultobj; | |
4025 | } | |
4026 | ||
4027 | static PyObject *_wrap_glMap2d(PyObject *self, PyObject *args) { | |
4028 | PyObject * _resultobj; | |
4029 | GLenum _arg0; | |
4030 | GLdouble _arg1; | |
4031 | GLdouble _arg2; | |
4032 | GLint _arg3; | |
4033 | GLint _arg4; | |
4034 | GLdouble _arg5; | |
4035 | GLdouble _arg6; | |
4036 | GLint _arg7; | |
4037 | GLint _arg8; | |
4038 | GLdouble * _arg9; | |
f786a3b2 | 4039 | PyObject * _argo9 = 0; |
a29cd6c0 HH |
4040 | |
4041 | self = self; | |
f786a3b2 | 4042 | if(!PyArg_ParseTuple(args,"iddiiddiiO:glMap2d",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_argo9)) |
a29cd6c0 | 4043 | return NULL; |
f786a3b2 HH |
4044 | if (_argo9) { |
4045 | if (_argo9 == Py_None) { _arg9 = NULL; } | |
4046 | else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_GLdouble_p")) { | |
a29cd6c0 HH |
4047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of glMap2d. Expected _GLdouble_p."); |
4048 | return NULL; | |
4049 | } | |
4050 | } | |
4051 | { | |
4052 | wxPy_BEGIN_ALLOW_THREADS; | |
4053 | glMap2d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
4054 | ||
4055 | wxPy_END_ALLOW_THREADS; | |
4056 | } Py_INCREF(Py_None); | |
4057 | _resultobj = Py_None; | |
4058 | return _resultobj; | |
4059 | } | |
4060 | ||
4061 | static PyObject *_wrap_glMap2f(PyObject *self, PyObject *args) { | |
4062 | PyObject * _resultobj; | |
4063 | GLenum _arg0; | |
4064 | GLfloat _arg1; | |
4065 | GLfloat _arg2; | |
4066 | GLint _arg3; | |
4067 | GLint _arg4; | |
4068 | GLfloat _arg5; | |
4069 | GLfloat _arg6; | |
4070 | GLint _arg7; | |
4071 | GLint _arg8; | |
4072 | GLfloat * _arg9; | |
f786a3b2 | 4073 | PyObject * _argo9 = 0; |
a29cd6c0 HH |
4074 | |
4075 | self = self; | |
f786a3b2 | 4076 | if(!PyArg_ParseTuple(args,"iffiiffiiO:glMap2f",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_argo9)) |
a29cd6c0 | 4077 | return NULL; |
f786a3b2 HH |
4078 | if (_argo9) { |
4079 | if (_argo9 == Py_None) { _arg9 = NULL; } | |
4080 | else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_GLfloat_p")) { | |
a29cd6c0 HH |
4081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of glMap2f. Expected _GLfloat_p."); |
4082 | return NULL; | |
4083 | } | |
4084 | } | |
4085 | { | |
4086 | wxPy_BEGIN_ALLOW_THREADS; | |
4087 | glMap2f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
4088 | ||
4089 | wxPy_END_ALLOW_THREADS; | |
4090 | } Py_INCREF(Py_None); | |
4091 | _resultobj = Py_None; | |
4092 | return _resultobj; | |
4093 | } | |
4094 | ||
4095 | static PyObject *_wrap_glMapGrid1d(PyObject *self, PyObject *args) { | |
4096 | PyObject * _resultobj; | |
4097 | GLint _arg0; | |
4098 | GLdouble _arg1; | |
4099 | GLdouble _arg2; | |
4100 | ||
4101 | self = self; | |
4102 | if(!PyArg_ParseTuple(args,"idd:glMapGrid1d",&_arg0,&_arg1,&_arg2)) | |
4103 | return NULL; | |
4104 | { | |
4105 | wxPy_BEGIN_ALLOW_THREADS; | |
4106 | glMapGrid1d(_arg0,_arg1,_arg2); | |
4107 | ||
4108 | wxPy_END_ALLOW_THREADS; | |
4109 | } Py_INCREF(Py_None); | |
4110 | _resultobj = Py_None; | |
4111 | return _resultobj; | |
4112 | } | |
4113 | ||
4114 | static PyObject *_wrap_glMapGrid1f(PyObject *self, PyObject *args) { | |
4115 | PyObject * _resultobj; | |
4116 | GLint _arg0; | |
4117 | GLfloat _arg1; | |
4118 | GLfloat _arg2; | |
4119 | ||
4120 | self = self; | |
4121 | if(!PyArg_ParseTuple(args,"iff:glMapGrid1f",&_arg0,&_arg1,&_arg2)) | |
4122 | return NULL; | |
4123 | { | |
4124 | wxPy_BEGIN_ALLOW_THREADS; | |
4125 | glMapGrid1f(_arg0,_arg1,_arg2); | |
4126 | ||
4127 | wxPy_END_ALLOW_THREADS; | |
4128 | } Py_INCREF(Py_None); | |
4129 | _resultobj = Py_None; | |
4130 | return _resultobj; | |
4131 | } | |
4132 | ||
4133 | static PyObject *_wrap_glMapGrid2d(PyObject *self, PyObject *args) { | |
4134 | PyObject * _resultobj; | |
4135 | GLint _arg0; | |
4136 | GLdouble _arg1; | |
4137 | GLdouble _arg2; | |
4138 | GLint _arg3; | |
4139 | GLdouble _arg4; | |
4140 | GLdouble _arg5; | |
4141 | ||
4142 | self = self; | |
4143 | if(!PyArg_ParseTuple(args,"iddidd:glMapGrid2d",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4144 | return NULL; | |
4145 | { | |
4146 | wxPy_BEGIN_ALLOW_THREADS; | |
4147 | glMapGrid2d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4148 | ||
4149 | wxPy_END_ALLOW_THREADS; | |
4150 | } Py_INCREF(Py_None); | |
4151 | _resultobj = Py_None; | |
4152 | return _resultobj; | |
4153 | } | |
4154 | ||
4155 | static PyObject *_wrap_glMapGrid2f(PyObject *self, PyObject *args) { | |
4156 | PyObject * _resultobj; | |
4157 | GLint _arg0; | |
4158 | GLfloat _arg1; | |
4159 | GLfloat _arg2; | |
4160 | GLint _arg3; | |
4161 | GLfloat _arg4; | |
4162 | GLfloat _arg5; | |
4163 | ||
4164 | self = self; | |
4165 | if(!PyArg_ParseTuple(args,"iffiff:glMapGrid2f",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4166 | return NULL; | |
4167 | { | |
4168 | wxPy_BEGIN_ALLOW_THREADS; | |
4169 | glMapGrid2f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4170 | ||
4171 | wxPy_END_ALLOW_THREADS; | |
4172 | } Py_INCREF(Py_None); | |
4173 | _resultobj = Py_None; | |
4174 | return _resultobj; | |
4175 | } | |
4176 | ||
4177 | static PyObject *_wrap_glMaterialf(PyObject *self, PyObject *args) { | |
4178 | PyObject * _resultobj; | |
4179 | GLenum _arg0; | |
4180 | GLenum _arg1; | |
4181 | GLfloat _arg2; | |
4182 | ||
4183 | self = self; | |
4184 | if(!PyArg_ParseTuple(args,"iif:glMaterialf",&_arg0,&_arg1,&_arg2)) | |
4185 | return NULL; | |
4186 | { | |
4187 | wxPy_BEGIN_ALLOW_THREADS; | |
4188 | glMaterialf(_arg0,_arg1,_arg2); | |
4189 | ||
4190 | wxPy_END_ALLOW_THREADS; | |
4191 | } Py_INCREF(Py_None); | |
4192 | _resultobj = Py_None; | |
4193 | return _resultobj; | |
4194 | } | |
4195 | ||
4196 | static PyObject *_wrap_glMaterialfv(PyObject *self, PyObject *args) { | |
4197 | PyObject * _resultobj; | |
4198 | GLenum _arg0; | |
4199 | GLenum _arg1; | |
4200 | GLfloat * _arg2; | |
f786a3b2 | 4201 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
4202 | |
4203 | self = self; | |
f786a3b2 | 4204 | if(!PyArg_ParseTuple(args,"iiO:glMaterialfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 4205 | return NULL; |
f786a3b2 HH |
4206 | if (_argo2) { |
4207 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4208 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
4209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glMaterialfv. Expected _GLfloat_p."); |
4210 | return NULL; | |
4211 | } | |
4212 | } | |
4213 | { | |
4214 | wxPy_BEGIN_ALLOW_THREADS; | |
4215 | glMaterialfv(_arg0,_arg1,_arg2); | |
4216 | ||
4217 | wxPy_END_ALLOW_THREADS; | |
4218 | } Py_INCREF(Py_None); | |
4219 | _resultobj = Py_None; | |
4220 | return _resultobj; | |
4221 | } | |
4222 | ||
4223 | static PyObject *_wrap_glMateriali(PyObject *self, PyObject *args) { | |
4224 | PyObject * _resultobj; | |
4225 | GLenum _arg0; | |
4226 | GLenum _arg1; | |
4227 | GLint _arg2; | |
4228 | ||
4229 | self = self; | |
4230 | if(!PyArg_ParseTuple(args,"iii:glMateriali",&_arg0,&_arg1,&_arg2)) | |
4231 | return NULL; | |
4232 | { | |
4233 | wxPy_BEGIN_ALLOW_THREADS; | |
4234 | glMateriali(_arg0,_arg1,_arg2); | |
4235 | ||
4236 | wxPy_END_ALLOW_THREADS; | |
4237 | } Py_INCREF(Py_None); | |
4238 | _resultobj = Py_None; | |
4239 | return _resultobj; | |
4240 | } | |
4241 | ||
4242 | static PyObject *_wrap_glMaterialiv(PyObject *self, PyObject *args) { | |
4243 | PyObject * _resultobj; | |
4244 | GLenum _arg0; | |
4245 | GLenum _arg1; | |
4246 | GLint * _arg2; | |
f786a3b2 | 4247 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
4248 | |
4249 | self = self; | |
f786a3b2 | 4250 | if(!PyArg_ParseTuple(args,"iiO:glMaterialiv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 4251 | return NULL; |
f786a3b2 HH |
4252 | if (_argo2) { |
4253 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4254 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
4255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glMaterialiv. Expected _GLint_p."); |
4256 | return NULL; | |
4257 | } | |
4258 | } | |
4259 | { | |
4260 | wxPy_BEGIN_ALLOW_THREADS; | |
4261 | glMaterialiv(_arg0,_arg1,_arg2); | |
4262 | ||
4263 | wxPy_END_ALLOW_THREADS; | |
4264 | } Py_INCREF(Py_None); | |
4265 | _resultobj = Py_None; | |
4266 | return _resultobj; | |
4267 | } | |
4268 | ||
4269 | static PyObject *_wrap_glMatrixMode(PyObject *self, PyObject *args) { | |
4270 | PyObject * _resultobj; | |
4271 | GLenum _arg0; | |
4272 | ||
4273 | self = self; | |
4274 | if(!PyArg_ParseTuple(args,"i:glMatrixMode",&_arg0)) | |
4275 | return NULL; | |
4276 | { | |
4277 | wxPy_BEGIN_ALLOW_THREADS; | |
4278 | glMatrixMode(_arg0); | |
4279 | ||
4280 | wxPy_END_ALLOW_THREADS; | |
4281 | } Py_INCREF(Py_None); | |
4282 | _resultobj = Py_None; | |
4283 | return _resultobj; | |
4284 | } | |
4285 | ||
4286 | static PyObject *_wrap_glMultMatrixd(PyObject *self, PyObject *args) { | |
4287 | PyObject * _resultobj; | |
4288 | GLdouble * _arg0; | |
f786a3b2 | 4289 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
4290 | |
4291 | self = self; | |
f786a3b2 | 4292 | if(!PyArg_ParseTuple(args,"O:glMultMatrixd",&_argo0)) |
a29cd6c0 | 4293 | return NULL; |
f786a3b2 HH |
4294 | if (_argo0) { |
4295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
4297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glMultMatrixd. Expected _GLdouble_p."); |
4298 | return NULL; | |
4299 | } | |
4300 | } | |
4301 | { | |
4302 | wxPy_BEGIN_ALLOW_THREADS; | |
4303 | glMultMatrixd(_arg0); | |
4304 | ||
4305 | wxPy_END_ALLOW_THREADS; | |
4306 | } Py_INCREF(Py_None); | |
4307 | _resultobj = Py_None; | |
4308 | return _resultobj; | |
4309 | } | |
4310 | ||
4311 | static PyObject *_wrap_glMultMatrixf(PyObject *self, PyObject *args) { | |
4312 | PyObject * _resultobj; | |
4313 | GLfloat * _arg0; | |
f786a3b2 | 4314 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
4315 | |
4316 | self = self; | |
f786a3b2 | 4317 | if(!PyArg_ParseTuple(args,"O:glMultMatrixf",&_argo0)) |
a29cd6c0 | 4318 | return NULL; |
f786a3b2 HH |
4319 | if (_argo0) { |
4320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
4322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glMultMatrixf. Expected _GLfloat_p."); |
4323 | return NULL; | |
4324 | } | |
4325 | } | |
4326 | { | |
4327 | wxPy_BEGIN_ALLOW_THREADS; | |
4328 | glMultMatrixf(_arg0); | |
4329 | ||
4330 | wxPy_END_ALLOW_THREADS; | |
4331 | } Py_INCREF(Py_None); | |
4332 | _resultobj = Py_None; | |
4333 | return _resultobj; | |
4334 | } | |
4335 | ||
4336 | static PyObject *_wrap_glNewList(PyObject *self, PyObject *args) { | |
4337 | PyObject * _resultobj; | |
4338 | GLuint _arg0; | |
4339 | GLenum _arg1; | |
4340 | ||
4341 | self = self; | |
4342 | if(!PyArg_ParseTuple(args,"ii:glNewList",&_arg0,&_arg1)) | |
4343 | return NULL; | |
4344 | { | |
4345 | wxPy_BEGIN_ALLOW_THREADS; | |
4346 | glNewList(_arg0,_arg1); | |
4347 | ||
4348 | wxPy_END_ALLOW_THREADS; | |
4349 | } Py_INCREF(Py_None); | |
4350 | _resultobj = Py_None; | |
4351 | return _resultobj; | |
4352 | } | |
4353 | ||
4354 | static PyObject *_wrap_glNormal3b(PyObject *self, PyObject *args) { | |
4355 | PyObject * _resultobj; | |
4356 | GLbyte _arg0; | |
4357 | GLbyte _arg1; | |
4358 | GLbyte _arg2; | |
4359 | ||
4360 | self = self; | |
4361 | if(!PyArg_ParseTuple(args,"bbb:glNormal3b",&_arg0,&_arg1,&_arg2)) | |
4362 | return NULL; | |
4363 | { | |
4364 | wxPy_BEGIN_ALLOW_THREADS; | |
4365 | glNormal3b(_arg0,_arg1,_arg2); | |
4366 | ||
4367 | wxPy_END_ALLOW_THREADS; | |
4368 | } Py_INCREF(Py_None); | |
4369 | _resultobj = Py_None; | |
4370 | return _resultobj; | |
4371 | } | |
4372 | ||
4373 | static PyObject *_wrap_glNormal3bv(PyObject *self, PyObject *args) { | |
4374 | PyObject * _resultobj; | |
4375 | GLbyte * _arg0; | |
f786a3b2 | 4376 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
4377 | |
4378 | self = self; | |
f786a3b2 | 4379 | if(!PyArg_ParseTuple(args,"O:glNormal3bv",&_argo0)) |
a29cd6c0 | 4380 | return NULL; |
f786a3b2 HH |
4381 | if (_argo0) { |
4382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) { | |
a29cd6c0 HH |
4384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3bv. Expected _GLbyte_p."); |
4385 | return NULL; | |
4386 | } | |
4387 | } | |
4388 | { | |
4389 | wxPy_BEGIN_ALLOW_THREADS; | |
4390 | glNormal3bv(_arg0); | |
4391 | ||
4392 | wxPy_END_ALLOW_THREADS; | |
4393 | } Py_INCREF(Py_None); | |
4394 | _resultobj = Py_None; | |
4395 | return _resultobj; | |
4396 | } | |
4397 | ||
4398 | static PyObject *_wrap_glNormal3d(PyObject *self, PyObject *args) { | |
4399 | PyObject * _resultobj; | |
4400 | GLdouble _arg0; | |
4401 | GLdouble _arg1; | |
4402 | GLdouble _arg2; | |
4403 | ||
4404 | self = self; | |
4405 | if(!PyArg_ParseTuple(args,"ddd:glNormal3d",&_arg0,&_arg1,&_arg2)) | |
4406 | return NULL; | |
4407 | { | |
4408 | wxPy_BEGIN_ALLOW_THREADS; | |
4409 | glNormal3d(_arg0,_arg1,_arg2); | |
4410 | ||
4411 | wxPy_END_ALLOW_THREADS; | |
4412 | } Py_INCREF(Py_None); | |
4413 | _resultobj = Py_None; | |
4414 | return _resultobj; | |
4415 | } | |
4416 | ||
4417 | static PyObject *_wrap_glNormal3dv(PyObject *self, PyObject *args) { | |
4418 | PyObject * _resultobj; | |
4419 | GLdouble * _arg0; | |
f786a3b2 | 4420 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
4421 | |
4422 | self = self; | |
f786a3b2 | 4423 | if(!PyArg_ParseTuple(args,"O:glNormal3dv",&_argo0)) |
a29cd6c0 | 4424 | return NULL; |
f786a3b2 HH |
4425 | if (_argo0) { |
4426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
4428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3dv. Expected _GLdouble_p."); |
4429 | return NULL; | |
4430 | } | |
4431 | } | |
4432 | { | |
4433 | wxPy_BEGIN_ALLOW_THREADS; | |
4434 | glNormal3dv(_arg0); | |
4435 | ||
4436 | wxPy_END_ALLOW_THREADS; | |
4437 | } Py_INCREF(Py_None); | |
4438 | _resultobj = Py_None; | |
4439 | return _resultobj; | |
4440 | } | |
4441 | ||
4442 | static PyObject *_wrap_glNormal3f(PyObject *self, PyObject *args) { | |
4443 | PyObject * _resultobj; | |
4444 | GLfloat _arg0; | |
4445 | GLfloat _arg1; | |
4446 | GLfloat _arg2; | |
4447 | ||
4448 | self = self; | |
4449 | if(!PyArg_ParseTuple(args,"fff:glNormal3f",&_arg0,&_arg1,&_arg2)) | |
4450 | return NULL; | |
4451 | { | |
4452 | wxPy_BEGIN_ALLOW_THREADS; | |
4453 | glNormal3f(_arg0,_arg1,_arg2); | |
4454 | ||
4455 | wxPy_END_ALLOW_THREADS; | |
4456 | } Py_INCREF(Py_None); | |
4457 | _resultobj = Py_None; | |
4458 | return _resultobj; | |
4459 | } | |
4460 | ||
4461 | static PyObject *_wrap_glNormal3fv(PyObject *self, PyObject *args) { | |
4462 | PyObject * _resultobj; | |
4463 | GLfloat * _arg0; | |
f786a3b2 | 4464 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
4465 | |
4466 | self = self; | |
f786a3b2 | 4467 | if(!PyArg_ParseTuple(args,"O:glNormal3fv",&_argo0)) |
a29cd6c0 | 4468 | return NULL; |
f786a3b2 HH |
4469 | if (_argo0) { |
4470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
4472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3fv. Expected _GLfloat_p."); |
4473 | return NULL; | |
4474 | } | |
4475 | } | |
4476 | { | |
4477 | wxPy_BEGIN_ALLOW_THREADS; | |
4478 | glNormal3fv(_arg0); | |
4479 | ||
4480 | wxPy_END_ALLOW_THREADS; | |
4481 | } Py_INCREF(Py_None); | |
4482 | _resultobj = Py_None; | |
4483 | return _resultobj; | |
4484 | } | |
4485 | ||
4486 | static PyObject *_wrap_glNormal3i(PyObject *self, PyObject *args) { | |
4487 | PyObject * _resultobj; | |
4488 | GLint _arg0; | |
4489 | GLint _arg1; | |
4490 | GLint _arg2; | |
4491 | ||
4492 | self = self; | |
4493 | if(!PyArg_ParseTuple(args,"iii:glNormal3i",&_arg0,&_arg1,&_arg2)) | |
4494 | return NULL; | |
4495 | { | |
4496 | wxPy_BEGIN_ALLOW_THREADS; | |
4497 | glNormal3i(_arg0,_arg1,_arg2); | |
4498 | ||
4499 | wxPy_END_ALLOW_THREADS; | |
4500 | } Py_INCREF(Py_None); | |
4501 | _resultobj = Py_None; | |
4502 | return _resultobj; | |
4503 | } | |
4504 | ||
4505 | static PyObject *_wrap_glNormal3iv(PyObject *self, PyObject *args) { | |
4506 | PyObject * _resultobj; | |
4507 | GLint * _arg0; | |
f786a3b2 | 4508 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
4509 | |
4510 | self = self; | |
f786a3b2 | 4511 | if(!PyArg_ParseTuple(args,"O:glNormal3iv",&_argo0)) |
a29cd6c0 | 4512 | return NULL; |
f786a3b2 HH |
4513 | if (_argo0) { |
4514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
4516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3iv. Expected _GLint_p."); |
4517 | return NULL; | |
4518 | } | |
4519 | } | |
4520 | { | |
4521 | wxPy_BEGIN_ALLOW_THREADS; | |
4522 | glNormal3iv(_arg0); | |
4523 | ||
4524 | wxPy_END_ALLOW_THREADS; | |
4525 | } Py_INCREF(Py_None); | |
4526 | _resultobj = Py_None; | |
4527 | return _resultobj; | |
4528 | } | |
4529 | ||
4530 | static PyObject *_wrap_glNormal3s(PyObject *self, PyObject *args) { | |
4531 | PyObject * _resultobj; | |
4532 | GLshort _arg0; | |
4533 | GLshort _arg1; | |
4534 | GLshort _arg2; | |
4535 | ||
4536 | self = self; | |
4537 | if(!PyArg_ParseTuple(args,"hhh:glNormal3s",&_arg0,&_arg1,&_arg2)) | |
4538 | return NULL; | |
4539 | { | |
4540 | wxPy_BEGIN_ALLOW_THREADS; | |
4541 | glNormal3s(_arg0,_arg1,_arg2); | |
4542 | ||
4543 | wxPy_END_ALLOW_THREADS; | |
4544 | } Py_INCREF(Py_None); | |
4545 | _resultobj = Py_None; | |
4546 | return _resultobj; | |
4547 | } | |
4548 | ||
4549 | static PyObject *_wrap_glNormal3sv(PyObject *self, PyObject *args) { | |
4550 | PyObject * _resultobj; | |
4551 | GLshort * _arg0; | |
f786a3b2 | 4552 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
4553 | |
4554 | self = self; | |
f786a3b2 | 4555 | if(!PyArg_ParseTuple(args,"O:glNormal3sv",&_argo0)) |
a29cd6c0 | 4556 | return NULL; |
f786a3b2 HH |
4557 | if (_argo0) { |
4558 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4559 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
4560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3sv. Expected _GLshort_p."); |
4561 | return NULL; | |
4562 | } | |
4563 | } | |
4564 | { | |
4565 | wxPy_BEGIN_ALLOW_THREADS; | |
4566 | glNormal3sv(_arg0); | |
4567 | ||
4568 | wxPy_END_ALLOW_THREADS; | |
4569 | } Py_INCREF(Py_None); | |
4570 | _resultobj = Py_None; | |
4571 | return _resultobj; | |
4572 | } | |
4573 | ||
4574 | static PyObject *_wrap_glNormalPointer(PyObject *self, PyObject *args) { | |
4575 | PyObject * _resultobj; | |
4576 | GLenum _arg0; | |
4577 | GLsizei _arg1; | |
4578 | GLvoid * _arg2; | |
f786a3b2 | 4579 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
4580 | |
4581 | self = self; | |
f786a3b2 | 4582 | if(!PyArg_ParseTuple(args,"iiO:glNormalPointer",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 4583 | return NULL; |
f786a3b2 HH |
4584 | if (_argo2) { |
4585 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4586 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
a29cd6c0 HH |
4587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glNormalPointer. Expected _GLvoid_p."); |
4588 | return NULL; | |
4589 | } | |
4590 | } | |
4591 | { | |
4592 | wxPy_BEGIN_ALLOW_THREADS; | |
4593 | glNormalPointer(_arg0,_arg1,_arg2); | |
4594 | ||
4595 | wxPy_END_ALLOW_THREADS; | |
4596 | } Py_INCREF(Py_None); | |
4597 | _resultobj = Py_None; | |
4598 | return _resultobj; | |
4599 | } | |
4600 | ||
4601 | static PyObject *_wrap_glOrtho(PyObject *self, PyObject *args) { | |
4602 | PyObject * _resultobj; | |
4603 | GLdouble _arg0; | |
4604 | GLdouble _arg1; | |
4605 | GLdouble _arg2; | |
4606 | GLdouble _arg3; | |
4607 | GLdouble _arg4; | |
4608 | GLdouble _arg5; | |
4609 | ||
4610 | self = self; | |
4611 | if(!PyArg_ParseTuple(args,"dddddd:glOrtho",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4612 | return NULL; | |
4613 | { | |
4614 | wxPy_BEGIN_ALLOW_THREADS; | |
4615 | glOrtho(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4616 | ||
4617 | wxPy_END_ALLOW_THREADS; | |
4618 | } Py_INCREF(Py_None); | |
4619 | _resultobj = Py_None; | |
4620 | return _resultobj; | |
4621 | } | |
4622 | ||
4623 | static PyObject *_wrap_glPassThrough(PyObject *self, PyObject *args) { | |
4624 | PyObject * _resultobj; | |
4625 | GLfloat _arg0; | |
4626 | ||
4627 | self = self; | |
4628 | if(!PyArg_ParseTuple(args,"f:glPassThrough",&_arg0)) | |
4629 | return NULL; | |
4630 | { | |
4631 | wxPy_BEGIN_ALLOW_THREADS; | |
4632 | glPassThrough(_arg0); | |
4633 | ||
4634 | wxPy_END_ALLOW_THREADS; | |
4635 | } Py_INCREF(Py_None); | |
4636 | _resultobj = Py_None; | |
4637 | return _resultobj; | |
4638 | } | |
4639 | ||
4640 | static PyObject *_wrap_glPixelMapfv(PyObject *self, PyObject *args) { | |
4641 | PyObject * _resultobj; | |
4642 | GLenum _arg0; | |
4643 | GLsizei _arg1; | |
4644 | GLfloat * _arg2; | |
f786a3b2 | 4645 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
4646 | |
4647 | self = self; | |
f786a3b2 | 4648 | if(!PyArg_ParseTuple(args,"iiO:glPixelMapfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 4649 | return NULL; |
f786a3b2 HH |
4650 | if (_argo2) { |
4651 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4652 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
4653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapfv. Expected _GLfloat_p."); |
4654 | return NULL; | |
4655 | } | |
4656 | } | |
4657 | { | |
4658 | wxPy_BEGIN_ALLOW_THREADS; | |
4659 | glPixelMapfv(_arg0,_arg1,_arg2); | |
4660 | ||
4661 | wxPy_END_ALLOW_THREADS; | |
4662 | } Py_INCREF(Py_None); | |
4663 | _resultobj = Py_None; | |
4664 | return _resultobj; | |
4665 | } | |
4666 | ||
4667 | static PyObject *_wrap_glPixelMapuiv(PyObject *self, PyObject *args) { | |
4668 | PyObject * _resultobj; | |
4669 | GLenum _arg0; | |
4670 | GLsizei _arg1; | |
4671 | GLuint * _arg2; | |
f786a3b2 | 4672 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
4673 | |
4674 | self = self; | |
f786a3b2 | 4675 | if(!PyArg_ParseTuple(args,"iiO:glPixelMapuiv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 4676 | return NULL; |
f786a3b2 HH |
4677 | if (_argo2) { |
4678 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4679 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLuint_p")) { | |
a29cd6c0 HH |
4680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapuiv. Expected _GLuint_p."); |
4681 | return NULL; | |
4682 | } | |
4683 | } | |
4684 | { | |
4685 | wxPy_BEGIN_ALLOW_THREADS; | |
4686 | glPixelMapuiv(_arg0,_arg1,_arg2); | |
4687 | ||
4688 | wxPy_END_ALLOW_THREADS; | |
4689 | } Py_INCREF(Py_None); | |
4690 | _resultobj = Py_None; | |
4691 | return _resultobj; | |
4692 | } | |
4693 | ||
4694 | static PyObject *_wrap_glPixelMapusv(PyObject *self, PyObject *args) { | |
4695 | PyObject * _resultobj; | |
4696 | GLenum _arg0; | |
4697 | GLsizei _arg1; | |
4698 | GLushort * _arg2; | |
f786a3b2 | 4699 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
4700 | |
4701 | self = self; | |
f786a3b2 | 4702 | if(!PyArg_ParseTuple(args,"iiO:glPixelMapusv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 4703 | return NULL; |
f786a3b2 HH |
4704 | if (_argo2) { |
4705 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4706 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLushort_p")) { | |
a29cd6c0 HH |
4707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapusv. Expected _GLushort_p."); |
4708 | return NULL; | |
4709 | } | |
4710 | } | |
4711 | { | |
4712 | wxPy_BEGIN_ALLOW_THREADS; | |
4713 | glPixelMapusv(_arg0,_arg1,_arg2); | |
4714 | ||
4715 | wxPy_END_ALLOW_THREADS; | |
4716 | } Py_INCREF(Py_None); | |
4717 | _resultobj = Py_None; | |
4718 | return _resultobj; | |
4719 | } | |
4720 | ||
4721 | static PyObject *_wrap_glPixelStoref(PyObject *self, PyObject *args) { | |
4722 | PyObject * _resultobj; | |
4723 | GLenum _arg0; | |
4724 | GLfloat _arg1; | |
4725 | ||
4726 | self = self; | |
4727 | if(!PyArg_ParseTuple(args,"if:glPixelStoref",&_arg0,&_arg1)) | |
4728 | return NULL; | |
4729 | { | |
4730 | wxPy_BEGIN_ALLOW_THREADS; | |
4731 | glPixelStoref(_arg0,_arg1); | |
4732 | ||
4733 | wxPy_END_ALLOW_THREADS; | |
4734 | } Py_INCREF(Py_None); | |
4735 | _resultobj = Py_None; | |
4736 | return _resultobj; | |
4737 | } | |
4738 | ||
4739 | static PyObject *_wrap_glPixelStorei(PyObject *self, PyObject *args) { | |
4740 | PyObject * _resultobj; | |
4741 | GLenum _arg0; | |
4742 | GLint _arg1; | |
4743 | ||
4744 | self = self; | |
4745 | if(!PyArg_ParseTuple(args,"ii:glPixelStorei",&_arg0,&_arg1)) | |
4746 | return NULL; | |
4747 | { | |
4748 | wxPy_BEGIN_ALLOW_THREADS; | |
4749 | glPixelStorei(_arg0,_arg1); | |
4750 | ||
4751 | wxPy_END_ALLOW_THREADS; | |
4752 | } Py_INCREF(Py_None); | |
4753 | _resultobj = Py_None; | |
4754 | return _resultobj; | |
4755 | } | |
4756 | ||
4757 | static PyObject *_wrap_glPixelTransferf(PyObject *self, PyObject *args) { | |
4758 | PyObject * _resultobj; | |
4759 | GLenum _arg0; | |
4760 | GLfloat _arg1; | |
4761 | ||
4762 | self = self; | |
4763 | if(!PyArg_ParseTuple(args,"if:glPixelTransferf",&_arg0,&_arg1)) | |
4764 | return NULL; | |
4765 | { | |
4766 | wxPy_BEGIN_ALLOW_THREADS; | |
4767 | glPixelTransferf(_arg0,_arg1); | |
4768 | ||
4769 | wxPy_END_ALLOW_THREADS; | |
4770 | } Py_INCREF(Py_None); | |
4771 | _resultobj = Py_None; | |
4772 | return _resultobj; | |
4773 | } | |
4774 | ||
4775 | static PyObject *_wrap_glPixelTransferi(PyObject *self, PyObject *args) { | |
4776 | PyObject * _resultobj; | |
4777 | GLenum _arg0; | |
4778 | GLint _arg1; | |
4779 | ||
4780 | self = self; | |
4781 | if(!PyArg_ParseTuple(args,"ii:glPixelTransferi",&_arg0,&_arg1)) | |
4782 | return NULL; | |
4783 | { | |
4784 | wxPy_BEGIN_ALLOW_THREADS; | |
4785 | glPixelTransferi(_arg0,_arg1); | |
4786 | ||
4787 | wxPy_END_ALLOW_THREADS; | |
4788 | } Py_INCREF(Py_None); | |
4789 | _resultobj = Py_None; | |
4790 | return _resultobj; | |
4791 | } | |
4792 | ||
4793 | static PyObject *_wrap_glPixelZoom(PyObject *self, PyObject *args) { | |
4794 | PyObject * _resultobj; | |
4795 | GLfloat _arg0; | |
4796 | GLfloat _arg1; | |
4797 | ||
4798 | self = self; | |
4799 | if(!PyArg_ParseTuple(args,"ff:glPixelZoom",&_arg0,&_arg1)) | |
4800 | return NULL; | |
4801 | { | |
4802 | wxPy_BEGIN_ALLOW_THREADS; | |
4803 | glPixelZoom(_arg0,_arg1); | |
4804 | ||
4805 | wxPy_END_ALLOW_THREADS; | |
4806 | } Py_INCREF(Py_None); | |
4807 | _resultobj = Py_None; | |
4808 | return _resultobj; | |
4809 | } | |
4810 | ||
4811 | static PyObject *_wrap_glPointSize(PyObject *self, PyObject *args) { | |
4812 | PyObject * _resultobj; | |
4813 | GLfloat _arg0; | |
4814 | ||
4815 | self = self; | |
4816 | if(!PyArg_ParseTuple(args,"f:glPointSize",&_arg0)) | |
4817 | return NULL; | |
4818 | { | |
4819 | wxPy_BEGIN_ALLOW_THREADS; | |
4820 | glPointSize(_arg0); | |
4821 | ||
4822 | wxPy_END_ALLOW_THREADS; | |
4823 | } Py_INCREF(Py_None); | |
4824 | _resultobj = Py_None; | |
4825 | return _resultobj; | |
4826 | } | |
4827 | ||
4828 | static PyObject *_wrap_glPolygonMode(PyObject *self, PyObject *args) { | |
4829 | PyObject * _resultobj; | |
4830 | GLenum _arg0; | |
4831 | GLenum _arg1; | |
4832 | ||
4833 | self = self; | |
4834 | if(!PyArg_ParseTuple(args,"ii:glPolygonMode",&_arg0,&_arg1)) | |
4835 | return NULL; | |
4836 | { | |
4837 | wxPy_BEGIN_ALLOW_THREADS; | |
4838 | glPolygonMode(_arg0,_arg1); | |
4839 | ||
4840 | wxPy_END_ALLOW_THREADS; | |
4841 | } Py_INCREF(Py_None); | |
4842 | _resultobj = Py_None; | |
4843 | return _resultobj; | |
4844 | } | |
4845 | ||
4846 | static PyObject *_wrap_glPolygonOffset(PyObject *self, PyObject *args) { | |
4847 | PyObject * _resultobj; | |
4848 | GLfloat _arg0; | |
4849 | GLfloat _arg1; | |
4850 | ||
4851 | self = self; | |
4852 | if(!PyArg_ParseTuple(args,"ff:glPolygonOffset",&_arg0,&_arg1)) | |
4853 | return NULL; | |
4854 | { | |
4855 | wxPy_BEGIN_ALLOW_THREADS; | |
4856 | glPolygonOffset(_arg0,_arg1); | |
4857 | ||
4858 | wxPy_END_ALLOW_THREADS; | |
4859 | } Py_INCREF(Py_None); | |
4860 | _resultobj = Py_None; | |
4861 | return _resultobj; | |
4862 | } | |
4863 | ||
4864 | static PyObject *_wrap_glPolygonStipple(PyObject *self, PyObject *args) { | |
4865 | PyObject * _resultobj; | |
4866 | GLubyte * _arg0; | |
f786a3b2 | 4867 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
4868 | |
4869 | self = self; | |
f786a3b2 | 4870 | if(!PyArg_ParseTuple(args,"O:glPolygonStipple",&_argo0)) |
a29cd6c0 | 4871 | return NULL; |
f786a3b2 HH |
4872 | if (_argo0) { |
4873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
a29cd6c0 HH |
4875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glPolygonStipple. Expected _GLubyte_p."); |
4876 | return NULL; | |
4877 | } | |
4878 | } | |
4879 | { | |
4880 | wxPy_BEGIN_ALLOW_THREADS; | |
4881 | glPolygonStipple(_arg0); | |
4882 | ||
4883 | wxPy_END_ALLOW_THREADS; | |
4884 | } Py_INCREF(Py_None); | |
4885 | _resultobj = Py_None; | |
4886 | return _resultobj; | |
4887 | } | |
4888 | ||
4889 | static PyObject *_wrap_glPopAttrib(PyObject *self, PyObject *args) { | |
4890 | PyObject * _resultobj; | |
4891 | ||
4892 | self = self; | |
4893 | if(!PyArg_ParseTuple(args,":glPopAttrib")) | |
4894 | return NULL; | |
4895 | { | |
4896 | wxPy_BEGIN_ALLOW_THREADS; | |
4897 | glPopAttrib(); | |
4898 | ||
4899 | wxPy_END_ALLOW_THREADS; | |
4900 | } Py_INCREF(Py_None); | |
4901 | _resultobj = Py_None; | |
4902 | return _resultobj; | |
4903 | } | |
4904 | ||
4905 | static PyObject *_wrap_glPopClientAttrib(PyObject *self, PyObject *args) { | |
4906 | PyObject * _resultobj; | |
4907 | ||
4908 | self = self; | |
4909 | if(!PyArg_ParseTuple(args,":glPopClientAttrib")) | |
4910 | return NULL; | |
4911 | { | |
4912 | wxPy_BEGIN_ALLOW_THREADS; | |
4913 | glPopClientAttrib(); | |
4914 | ||
4915 | wxPy_END_ALLOW_THREADS; | |
4916 | } Py_INCREF(Py_None); | |
4917 | _resultobj = Py_None; | |
4918 | return _resultobj; | |
4919 | } | |
4920 | ||
4921 | static PyObject *_wrap_glPopMatrix(PyObject *self, PyObject *args) { | |
4922 | PyObject * _resultobj; | |
4923 | ||
4924 | self = self; | |
4925 | if(!PyArg_ParseTuple(args,":glPopMatrix")) | |
4926 | return NULL; | |
4927 | { | |
4928 | wxPy_BEGIN_ALLOW_THREADS; | |
4929 | glPopMatrix(); | |
4930 | ||
4931 | wxPy_END_ALLOW_THREADS; | |
4932 | } Py_INCREF(Py_None); | |
4933 | _resultobj = Py_None; | |
4934 | return _resultobj; | |
4935 | } | |
4936 | ||
4937 | static PyObject *_wrap_glPopName(PyObject *self, PyObject *args) { | |
4938 | PyObject * _resultobj; | |
4939 | ||
4940 | self = self; | |
4941 | if(!PyArg_ParseTuple(args,":glPopName")) | |
4942 | return NULL; | |
4943 | { | |
4944 | wxPy_BEGIN_ALLOW_THREADS; | |
4945 | glPopName(); | |
4946 | ||
4947 | wxPy_END_ALLOW_THREADS; | |
4948 | } Py_INCREF(Py_None); | |
4949 | _resultobj = Py_None; | |
4950 | return _resultobj; | |
4951 | } | |
4952 | ||
4953 | static PyObject *_wrap_glPrioritizeTextures(PyObject *self, PyObject *args) { | |
4954 | PyObject * _resultobj; | |
4955 | GLsizei _arg0; | |
4956 | GLuint * _arg1; | |
4957 | GLclampf * _arg2; | |
f786a3b2 HH |
4958 | PyObject * _argo1 = 0; |
4959 | PyObject * _argo2 = 0; | |
a29cd6c0 HH |
4960 | |
4961 | self = self; | |
f786a3b2 | 4962 | if(!PyArg_ParseTuple(args,"iOO:glPrioritizeTextures",&_arg0,&_argo1,&_argo2)) |
a29cd6c0 | 4963 | return NULL; |
f786a3b2 HH |
4964 | if (_argo1) { |
4965 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4966 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
a29cd6c0 HH |
4967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glPrioritizeTextures. Expected _GLuint_p."); |
4968 | return NULL; | |
4969 | } | |
4970 | } | |
f786a3b2 HH |
4971 | if (_argo2) { |
4972 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4973 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLclampf_p")) { | |
a29cd6c0 HH |
4974 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPrioritizeTextures. Expected _GLclampf_p."); |
4975 | return NULL; | |
4976 | } | |
4977 | } | |
4978 | { | |
4979 | wxPy_BEGIN_ALLOW_THREADS; | |
4980 | glPrioritizeTextures(_arg0,_arg1,_arg2); | |
4981 | ||
4982 | wxPy_END_ALLOW_THREADS; | |
4983 | } Py_INCREF(Py_None); | |
4984 | _resultobj = Py_None; | |
4985 | return _resultobj; | |
4986 | } | |
4987 | ||
4988 | static PyObject *_wrap_glPushAttrib(PyObject *self, PyObject *args) { | |
4989 | PyObject * _resultobj; | |
4990 | GLbitfield _arg0; | |
4991 | ||
4992 | self = self; | |
4993 | if(!PyArg_ParseTuple(args,"i:glPushAttrib",&_arg0)) | |
4994 | return NULL; | |
4995 | { | |
4996 | wxPy_BEGIN_ALLOW_THREADS; | |
4997 | glPushAttrib(_arg0); | |
4998 | ||
4999 | wxPy_END_ALLOW_THREADS; | |
5000 | } Py_INCREF(Py_None); | |
5001 | _resultobj = Py_None; | |
5002 | return _resultobj; | |
5003 | } | |
5004 | ||
5005 | static PyObject *_wrap_glPushClientAttrib(PyObject *self, PyObject *args) { | |
5006 | PyObject * _resultobj; | |
5007 | GLbitfield _arg0; | |
5008 | ||
5009 | self = self; | |
5010 | if(!PyArg_ParseTuple(args,"i:glPushClientAttrib",&_arg0)) | |
5011 | return NULL; | |
5012 | { | |
5013 | wxPy_BEGIN_ALLOW_THREADS; | |
5014 | glPushClientAttrib(_arg0); | |
5015 | ||
5016 | wxPy_END_ALLOW_THREADS; | |
5017 | } Py_INCREF(Py_None); | |
5018 | _resultobj = Py_None; | |
5019 | return _resultobj; | |
5020 | } | |
5021 | ||
5022 | static PyObject *_wrap_glPushMatrix(PyObject *self, PyObject *args) { | |
5023 | PyObject * _resultobj; | |
5024 | ||
5025 | self = self; | |
5026 | if(!PyArg_ParseTuple(args,":glPushMatrix")) | |
5027 | return NULL; | |
5028 | { | |
5029 | wxPy_BEGIN_ALLOW_THREADS; | |
5030 | glPushMatrix(); | |
5031 | ||
5032 | wxPy_END_ALLOW_THREADS; | |
5033 | } Py_INCREF(Py_None); | |
5034 | _resultobj = Py_None; | |
5035 | return _resultobj; | |
5036 | } | |
5037 | ||
5038 | static PyObject *_wrap_glPushName(PyObject *self, PyObject *args) { | |
5039 | PyObject * _resultobj; | |
5040 | GLuint _arg0; | |
5041 | ||
5042 | self = self; | |
5043 | if(!PyArg_ParseTuple(args,"i:glPushName",&_arg0)) | |
5044 | return NULL; | |
5045 | { | |
5046 | wxPy_BEGIN_ALLOW_THREADS; | |
5047 | glPushName(_arg0); | |
5048 | ||
5049 | wxPy_END_ALLOW_THREADS; | |
5050 | } Py_INCREF(Py_None); | |
5051 | _resultobj = Py_None; | |
5052 | return _resultobj; | |
5053 | } | |
5054 | ||
5055 | static PyObject *_wrap_glRasterPos2d(PyObject *self, PyObject *args) { | |
5056 | PyObject * _resultobj; | |
5057 | GLdouble _arg0; | |
5058 | GLdouble _arg1; | |
5059 | ||
5060 | self = self; | |
5061 | if(!PyArg_ParseTuple(args,"dd:glRasterPos2d",&_arg0,&_arg1)) | |
5062 | return NULL; | |
5063 | { | |
5064 | wxPy_BEGIN_ALLOW_THREADS; | |
5065 | glRasterPos2d(_arg0,_arg1); | |
5066 | ||
5067 | wxPy_END_ALLOW_THREADS; | |
5068 | } Py_INCREF(Py_None); | |
5069 | _resultobj = Py_None; | |
5070 | return _resultobj; | |
5071 | } | |
5072 | ||
5073 | static PyObject *_wrap_glRasterPos2dv(PyObject *self, PyObject *args) { | |
5074 | PyObject * _resultobj; | |
5075 | GLdouble * _arg0; | |
f786a3b2 | 5076 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5077 | |
5078 | self = self; | |
f786a3b2 | 5079 | if(!PyArg_ParseTuple(args,"O:glRasterPos2dv",&_argo0)) |
a29cd6c0 | 5080 | return NULL; |
f786a3b2 HH |
5081 | if (_argo0) { |
5082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
5084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2dv. Expected _GLdouble_p."); |
5085 | return NULL; | |
5086 | } | |
5087 | } | |
5088 | { | |
5089 | wxPy_BEGIN_ALLOW_THREADS; | |
5090 | glRasterPos2dv(_arg0); | |
5091 | ||
5092 | wxPy_END_ALLOW_THREADS; | |
5093 | } Py_INCREF(Py_None); | |
5094 | _resultobj = Py_None; | |
5095 | return _resultobj; | |
5096 | } | |
5097 | ||
5098 | static PyObject *_wrap_glRasterPos2f(PyObject *self, PyObject *args) { | |
5099 | PyObject * _resultobj; | |
5100 | GLfloat _arg0; | |
5101 | GLfloat _arg1; | |
5102 | ||
5103 | self = self; | |
5104 | if(!PyArg_ParseTuple(args,"ff:glRasterPos2f",&_arg0,&_arg1)) | |
5105 | return NULL; | |
5106 | { | |
5107 | wxPy_BEGIN_ALLOW_THREADS; | |
5108 | glRasterPos2f(_arg0,_arg1); | |
5109 | ||
5110 | wxPy_END_ALLOW_THREADS; | |
5111 | } Py_INCREF(Py_None); | |
5112 | _resultobj = Py_None; | |
5113 | return _resultobj; | |
5114 | } | |
5115 | ||
5116 | static PyObject *_wrap_glRasterPos2fv(PyObject *self, PyObject *args) { | |
5117 | PyObject * _resultobj; | |
5118 | GLfloat * _arg0; | |
f786a3b2 | 5119 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5120 | |
5121 | self = self; | |
f786a3b2 | 5122 | if(!PyArg_ParseTuple(args,"O:glRasterPos2fv",&_argo0)) |
a29cd6c0 | 5123 | return NULL; |
f786a3b2 HH |
5124 | if (_argo0) { |
5125 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5126 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
5127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2fv. Expected _GLfloat_p."); |
5128 | return NULL; | |
5129 | } | |
5130 | } | |
5131 | { | |
5132 | wxPy_BEGIN_ALLOW_THREADS; | |
5133 | glRasterPos2fv(_arg0); | |
5134 | ||
5135 | wxPy_END_ALLOW_THREADS; | |
5136 | } Py_INCREF(Py_None); | |
5137 | _resultobj = Py_None; | |
5138 | return _resultobj; | |
5139 | } | |
5140 | ||
5141 | static PyObject *_wrap_glRasterPos2i(PyObject *self, PyObject *args) { | |
5142 | PyObject * _resultobj; | |
5143 | GLint _arg0; | |
5144 | GLint _arg1; | |
5145 | ||
5146 | self = self; | |
5147 | if(!PyArg_ParseTuple(args,"ii:glRasterPos2i",&_arg0,&_arg1)) | |
5148 | return NULL; | |
5149 | { | |
5150 | wxPy_BEGIN_ALLOW_THREADS; | |
5151 | glRasterPos2i(_arg0,_arg1); | |
5152 | ||
5153 | wxPy_END_ALLOW_THREADS; | |
5154 | } Py_INCREF(Py_None); | |
5155 | _resultobj = Py_None; | |
5156 | return _resultobj; | |
5157 | } | |
5158 | ||
5159 | static PyObject *_wrap_glRasterPos2iv(PyObject *self, PyObject *args) { | |
5160 | PyObject * _resultobj; | |
5161 | GLint * _arg0; | |
f786a3b2 | 5162 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5163 | |
5164 | self = self; | |
f786a3b2 | 5165 | if(!PyArg_ParseTuple(args,"O:glRasterPos2iv",&_argo0)) |
a29cd6c0 | 5166 | return NULL; |
f786a3b2 HH |
5167 | if (_argo0) { |
5168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
5170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2iv. Expected _GLint_p."); |
5171 | return NULL; | |
5172 | } | |
5173 | } | |
5174 | { | |
5175 | wxPy_BEGIN_ALLOW_THREADS; | |
5176 | glRasterPos2iv(_arg0); | |
5177 | ||
5178 | wxPy_END_ALLOW_THREADS; | |
5179 | } Py_INCREF(Py_None); | |
5180 | _resultobj = Py_None; | |
5181 | return _resultobj; | |
5182 | } | |
5183 | ||
5184 | static PyObject *_wrap_glRasterPos2s(PyObject *self, PyObject *args) { | |
5185 | PyObject * _resultobj; | |
5186 | GLshort _arg0; | |
5187 | GLshort _arg1; | |
5188 | ||
5189 | self = self; | |
5190 | if(!PyArg_ParseTuple(args,"hh:glRasterPos2s",&_arg0,&_arg1)) | |
5191 | return NULL; | |
5192 | { | |
5193 | wxPy_BEGIN_ALLOW_THREADS; | |
5194 | glRasterPos2s(_arg0,_arg1); | |
5195 | ||
5196 | wxPy_END_ALLOW_THREADS; | |
5197 | } Py_INCREF(Py_None); | |
5198 | _resultobj = Py_None; | |
5199 | return _resultobj; | |
5200 | } | |
5201 | ||
5202 | static PyObject *_wrap_glRasterPos2sv(PyObject *self, PyObject *args) { | |
5203 | PyObject * _resultobj; | |
5204 | GLshort * _arg0; | |
f786a3b2 | 5205 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5206 | |
5207 | self = self; | |
f786a3b2 | 5208 | if(!PyArg_ParseTuple(args,"O:glRasterPos2sv",&_argo0)) |
a29cd6c0 | 5209 | return NULL; |
f786a3b2 HH |
5210 | if (_argo0) { |
5211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
5213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2sv. Expected _GLshort_p."); |
5214 | return NULL; | |
5215 | } | |
5216 | } | |
5217 | { | |
5218 | wxPy_BEGIN_ALLOW_THREADS; | |
5219 | glRasterPos2sv(_arg0); | |
5220 | ||
5221 | wxPy_END_ALLOW_THREADS; | |
5222 | } Py_INCREF(Py_None); | |
5223 | _resultobj = Py_None; | |
5224 | return _resultobj; | |
5225 | } | |
5226 | ||
5227 | static PyObject *_wrap_glRasterPos3d(PyObject *self, PyObject *args) { | |
5228 | PyObject * _resultobj; | |
5229 | GLdouble _arg0; | |
5230 | GLdouble _arg1; | |
5231 | GLdouble _arg2; | |
5232 | ||
5233 | self = self; | |
5234 | if(!PyArg_ParseTuple(args,"ddd:glRasterPos3d",&_arg0,&_arg1,&_arg2)) | |
5235 | return NULL; | |
5236 | { | |
5237 | wxPy_BEGIN_ALLOW_THREADS; | |
5238 | glRasterPos3d(_arg0,_arg1,_arg2); | |
5239 | ||
5240 | wxPy_END_ALLOW_THREADS; | |
5241 | } Py_INCREF(Py_None); | |
5242 | _resultobj = Py_None; | |
5243 | return _resultobj; | |
5244 | } | |
5245 | ||
5246 | static PyObject *_wrap_glRasterPos3dv(PyObject *self, PyObject *args) { | |
5247 | PyObject * _resultobj; | |
5248 | GLdouble * _arg0; | |
f786a3b2 | 5249 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5250 | |
5251 | self = self; | |
f786a3b2 | 5252 | if(!PyArg_ParseTuple(args,"O:glRasterPos3dv",&_argo0)) |
a29cd6c0 | 5253 | return NULL; |
f786a3b2 HH |
5254 | if (_argo0) { |
5255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
5257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3dv. Expected _GLdouble_p."); |
5258 | return NULL; | |
5259 | } | |
5260 | } | |
5261 | { | |
5262 | wxPy_BEGIN_ALLOW_THREADS; | |
5263 | glRasterPos3dv(_arg0); | |
5264 | ||
5265 | wxPy_END_ALLOW_THREADS; | |
5266 | } Py_INCREF(Py_None); | |
5267 | _resultobj = Py_None; | |
5268 | return _resultobj; | |
5269 | } | |
5270 | ||
5271 | static PyObject *_wrap_glRasterPos3f(PyObject *self, PyObject *args) { | |
5272 | PyObject * _resultobj; | |
5273 | GLfloat _arg0; | |
5274 | GLfloat _arg1; | |
5275 | GLfloat _arg2; | |
5276 | ||
5277 | self = self; | |
5278 | if(!PyArg_ParseTuple(args,"fff:glRasterPos3f",&_arg0,&_arg1,&_arg2)) | |
5279 | return NULL; | |
5280 | { | |
5281 | wxPy_BEGIN_ALLOW_THREADS; | |
5282 | glRasterPos3f(_arg0,_arg1,_arg2); | |
5283 | ||
5284 | wxPy_END_ALLOW_THREADS; | |
5285 | } Py_INCREF(Py_None); | |
5286 | _resultobj = Py_None; | |
5287 | return _resultobj; | |
5288 | } | |
5289 | ||
5290 | static PyObject *_wrap_glRasterPos3fv(PyObject *self, PyObject *args) { | |
5291 | PyObject * _resultobj; | |
5292 | GLfloat * _arg0; | |
f786a3b2 | 5293 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5294 | |
5295 | self = self; | |
f786a3b2 | 5296 | if(!PyArg_ParseTuple(args,"O:glRasterPos3fv",&_argo0)) |
a29cd6c0 | 5297 | return NULL; |
f786a3b2 HH |
5298 | if (_argo0) { |
5299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
5301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3fv. Expected _GLfloat_p."); |
5302 | return NULL; | |
5303 | } | |
5304 | } | |
5305 | { | |
5306 | wxPy_BEGIN_ALLOW_THREADS; | |
5307 | glRasterPos3fv(_arg0); | |
5308 | ||
5309 | wxPy_END_ALLOW_THREADS; | |
5310 | } Py_INCREF(Py_None); | |
5311 | _resultobj = Py_None; | |
5312 | return _resultobj; | |
5313 | } | |
5314 | ||
5315 | static PyObject *_wrap_glRasterPos3i(PyObject *self, PyObject *args) { | |
5316 | PyObject * _resultobj; | |
5317 | GLint _arg0; | |
5318 | GLint _arg1; | |
5319 | GLint _arg2; | |
5320 | ||
5321 | self = self; | |
5322 | if(!PyArg_ParseTuple(args,"iii:glRasterPos3i",&_arg0,&_arg1,&_arg2)) | |
5323 | return NULL; | |
5324 | { | |
5325 | wxPy_BEGIN_ALLOW_THREADS; | |
5326 | glRasterPos3i(_arg0,_arg1,_arg2); | |
5327 | ||
5328 | wxPy_END_ALLOW_THREADS; | |
5329 | } Py_INCREF(Py_None); | |
5330 | _resultobj = Py_None; | |
5331 | return _resultobj; | |
5332 | } | |
5333 | ||
5334 | static PyObject *_wrap_glRasterPos3iv(PyObject *self, PyObject *args) { | |
5335 | PyObject * _resultobj; | |
5336 | GLint * _arg0; | |
f786a3b2 | 5337 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5338 | |
5339 | self = self; | |
f786a3b2 | 5340 | if(!PyArg_ParseTuple(args,"O:glRasterPos3iv",&_argo0)) |
a29cd6c0 | 5341 | return NULL; |
f786a3b2 HH |
5342 | if (_argo0) { |
5343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
5345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3iv. Expected _GLint_p."); |
5346 | return NULL; | |
5347 | } | |
5348 | } | |
5349 | { | |
5350 | wxPy_BEGIN_ALLOW_THREADS; | |
5351 | glRasterPos3iv(_arg0); | |
5352 | ||
5353 | wxPy_END_ALLOW_THREADS; | |
5354 | } Py_INCREF(Py_None); | |
5355 | _resultobj = Py_None; | |
5356 | return _resultobj; | |
5357 | } | |
5358 | ||
5359 | static PyObject *_wrap_glRasterPos3s(PyObject *self, PyObject *args) { | |
5360 | PyObject * _resultobj; | |
5361 | GLshort _arg0; | |
5362 | GLshort _arg1; | |
5363 | GLshort _arg2; | |
5364 | ||
5365 | self = self; | |
5366 | if(!PyArg_ParseTuple(args,"hhh:glRasterPos3s",&_arg0,&_arg1,&_arg2)) | |
5367 | return NULL; | |
5368 | { | |
5369 | wxPy_BEGIN_ALLOW_THREADS; | |
5370 | glRasterPos3s(_arg0,_arg1,_arg2); | |
5371 | ||
5372 | wxPy_END_ALLOW_THREADS; | |
5373 | } Py_INCREF(Py_None); | |
5374 | _resultobj = Py_None; | |
5375 | return _resultobj; | |
5376 | } | |
5377 | ||
5378 | static PyObject *_wrap_glRasterPos3sv(PyObject *self, PyObject *args) { | |
5379 | PyObject * _resultobj; | |
5380 | GLshort * _arg0; | |
f786a3b2 | 5381 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5382 | |
5383 | self = self; | |
f786a3b2 | 5384 | if(!PyArg_ParseTuple(args,"O:glRasterPos3sv",&_argo0)) |
a29cd6c0 | 5385 | return NULL; |
f786a3b2 HH |
5386 | if (_argo0) { |
5387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
5389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3sv. Expected _GLshort_p."); |
5390 | return NULL; | |
5391 | } | |
5392 | } | |
5393 | { | |
5394 | wxPy_BEGIN_ALLOW_THREADS; | |
5395 | glRasterPos3sv(_arg0); | |
5396 | ||
5397 | wxPy_END_ALLOW_THREADS; | |
5398 | } Py_INCREF(Py_None); | |
5399 | _resultobj = Py_None; | |
5400 | return _resultobj; | |
5401 | } | |
5402 | ||
5403 | static PyObject *_wrap_glRasterPos4d(PyObject *self, PyObject *args) { | |
5404 | PyObject * _resultobj; | |
5405 | GLdouble _arg0; | |
5406 | GLdouble _arg1; | |
5407 | GLdouble _arg2; | |
5408 | GLdouble _arg3; | |
5409 | ||
5410 | self = self; | |
5411 | if(!PyArg_ParseTuple(args,"dddd:glRasterPos4d",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5412 | return NULL; | |
5413 | { | |
5414 | wxPy_BEGIN_ALLOW_THREADS; | |
5415 | glRasterPos4d(_arg0,_arg1,_arg2,_arg3); | |
5416 | ||
5417 | wxPy_END_ALLOW_THREADS; | |
5418 | } Py_INCREF(Py_None); | |
5419 | _resultobj = Py_None; | |
5420 | return _resultobj; | |
5421 | } | |
5422 | ||
5423 | static PyObject *_wrap_glRasterPos4dv(PyObject *self, PyObject *args) { | |
5424 | PyObject * _resultobj; | |
5425 | GLdouble * _arg0; | |
f786a3b2 | 5426 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5427 | |
5428 | self = self; | |
f786a3b2 | 5429 | if(!PyArg_ParseTuple(args,"O:glRasterPos4dv",&_argo0)) |
a29cd6c0 | 5430 | return NULL; |
f786a3b2 HH |
5431 | if (_argo0) { |
5432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
5434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4dv. Expected _GLdouble_p."); |
5435 | return NULL; | |
5436 | } | |
5437 | } | |
5438 | { | |
5439 | wxPy_BEGIN_ALLOW_THREADS; | |
5440 | glRasterPos4dv(_arg0); | |
5441 | ||
5442 | wxPy_END_ALLOW_THREADS; | |
5443 | } Py_INCREF(Py_None); | |
5444 | _resultobj = Py_None; | |
5445 | return _resultobj; | |
5446 | } | |
5447 | ||
5448 | static PyObject *_wrap_glRasterPos4f(PyObject *self, PyObject *args) { | |
5449 | PyObject * _resultobj; | |
5450 | GLfloat _arg0; | |
5451 | GLfloat _arg1; | |
5452 | GLfloat _arg2; | |
5453 | GLfloat _arg3; | |
5454 | ||
5455 | self = self; | |
5456 | if(!PyArg_ParseTuple(args,"ffff:glRasterPos4f",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5457 | return NULL; | |
5458 | { | |
5459 | wxPy_BEGIN_ALLOW_THREADS; | |
5460 | glRasterPos4f(_arg0,_arg1,_arg2,_arg3); | |
5461 | ||
5462 | wxPy_END_ALLOW_THREADS; | |
5463 | } Py_INCREF(Py_None); | |
5464 | _resultobj = Py_None; | |
5465 | return _resultobj; | |
5466 | } | |
5467 | ||
5468 | static PyObject *_wrap_glRasterPos4fv(PyObject *self, PyObject *args) { | |
5469 | PyObject * _resultobj; | |
5470 | GLfloat * _arg0; | |
f786a3b2 | 5471 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5472 | |
5473 | self = self; | |
f786a3b2 | 5474 | if(!PyArg_ParseTuple(args,"O:glRasterPos4fv",&_argo0)) |
a29cd6c0 | 5475 | return NULL; |
f786a3b2 HH |
5476 | if (_argo0) { |
5477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
5479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4fv. Expected _GLfloat_p."); |
5480 | return NULL; | |
5481 | } | |
5482 | } | |
5483 | { | |
5484 | wxPy_BEGIN_ALLOW_THREADS; | |
5485 | glRasterPos4fv(_arg0); | |
5486 | ||
5487 | wxPy_END_ALLOW_THREADS; | |
5488 | } Py_INCREF(Py_None); | |
5489 | _resultobj = Py_None; | |
5490 | return _resultobj; | |
5491 | } | |
5492 | ||
5493 | static PyObject *_wrap_glRasterPos4i(PyObject *self, PyObject *args) { | |
5494 | PyObject * _resultobj; | |
5495 | GLint _arg0; | |
5496 | GLint _arg1; | |
5497 | GLint _arg2; | |
5498 | GLint _arg3; | |
5499 | ||
5500 | self = self; | |
5501 | if(!PyArg_ParseTuple(args,"iiii:glRasterPos4i",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5502 | return NULL; | |
5503 | { | |
5504 | wxPy_BEGIN_ALLOW_THREADS; | |
5505 | glRasterPos4i(_arg0,_arg1,_arg2,_arg3); | |
5506 | ||
5507 | wxPy_END_ALLOW_THREADS; | |
5508 | } Py_INCREF(Py_None); | |
5509 | _resultobj = Py_None; | |
5510 | return _resultobj; | |
5511 | } | |
5512 | ||
5513 | static PyObject *_wrap_glRasterPos4iv(PyObject *self, PyObject *args) { | |
5514 | PyObject * _resultobj; | |
5515 | GLint * _arg0; | |
f786a3b2 | 5516 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5517 | |
5518 | self = self; | |
f786a3b2 | 5519 | if(!PyArg_ParseTuple(args,"O:glRasterPos4iv",&_argo0)) |
a29cd6c0 | 5520 | return NULL; |
f786a3b2 HH |
5521 | if (_argo0) { |
5522 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5523 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
5524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4iv. Expected _GLint_p."); |
5525 | return NULL; | |
5526 | } | |
5527 | } | |
5528 | { | |
5529 | wxPy_BEGIN_ALLOW_THREADS; | |
5530 | glRasterPos4iv(_arg0); | |
5531 | ||
5532 | wxPy_END_ALLOW_THREADS; | |
5533 | } Py_INCREF(Py_None); | |
5534 | _resultobj = Py_None; | |
5535 | return _resultobj; | |
5536 | } | |
5537 | ||
5538 | static PyObject *_wrap_glRasterPos4s(PyObject *self, PyObject *args) { | |
5539 | PyObject * _resultobj; | |
5540 | GLshort _arg0; | |
5541 | GLshort _arg1; | |
5542 | GLshort _arg2; | |
5543 | GLshort _arg3; | |
5544 | ||
5545 | self = self; | |
5546 | if(!PyArg_ParseTuple(args,"hhhh:glRasterPos4s",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5547 | return NULL; | |
5548 | { | |
5549 | wxPy_BEGIN_ALLOW_THREADS; | |
5550 | glRasterPos4s(_arg0,_arg1,_arg2,_arg3); | |
5551 | ||
5552 | wxPy_END_ALLOW_THREADS; | |
5553 | } Py_INCREF(Py_None); | |
5554 | _resultobj = Py_None; | |
5555 | return _resultobj; | |
5556 | } | |
5557 | ||
5558 | static PyObject *_wrap_glRasterPos4sv(PyObject *self, PyObject *args) { | |
5559 | PyObject * _resultobj; | |
5560 | GLshort * _arg0; | |
f786a3b2 | 5561 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
5562 | |
5563 | self = self; | |
f786a3b2 | 5564 | if(!PyArg_ParseTuple(args,"O:glRasterPos4sv",&_argo0)) |
a29cd6c0 | 5565 | return NULL; |
f786a3b2 HH |
5566 | if (_argo0) { |
5567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
5569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4sv. Expected _GLshort_p."); |
5570 | return NULL; | |
5571 | } | |
5572 | } | |
5573 | { | |
5574 | wxPy_BEGIN_ALLOW_THREADS; | |
5575 | glRasterPos4sv(_arg0); | |
5576 | ||
5577 | wxPy_END_ALLOW_THREADS; | |
5578 | } Py_INCREF(Py_None); | |
5579 | _resultobj = Py_None; | |
5580 | return _resultobj; | |
5581 | } | |
5582 | ||
5583 | static PyObject *_wrap_glReadBuffer(PyObject *self, PyObject *args) { | |
5584 | PyObject * _resultobj; | |
5585 | GLenum _arg0; | |
5586 | ||
5587 | self = self; | |
5588 | if(!PyArg_ParseTuple(args,"i:glReadBuffer",&_arg0)) | |
5589 | return NULL; | |
5590 | { | |
5591 | wxPy_BEGIN_ALLOW_THREADS; | |
5592 | glReadBuffer(_arg0); | |
5593 | ||
5594 | wxPy_END_ALLOW_THREADS; | |
5595 | } Py_INCREF(Py_None); | |
5596 | _resultobj = Py_None; | |
5597 | return _resultobj; | |
5598 | } | |
5599 | ||
5600 | static PyObject *_wrap_glReadPixels(PyObject *self, PyObject *args) { | |
5601 | PyObject * _resultobj; | |
5602 | GLint _arg0; | |
5603 | GLint _arg1; | |
5604 | GLsizei _arg2; | |
5605 | GLsizei _arg3; | |
5606 | GLenum _arg4; | |
5607 | GLenum _arg5; | |
5608 | GLvoid * _arg6; | |
f786a3b2 | 5609 | PyObject * _argo6 = 0; |
a29cd6c0 HH |
5610 | |
5611 | self = self; | |
f786a3b2 | 5612 | if(!PyArg_ParseTuple(args,"iiiiiiO:glReadPixels",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6)) |
a29cd6c0 | 5613 | return NULL; |
f786a3b2 HH |
5614 | if (_argo6) { |
5615 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
5616 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,(char *) 0 )) { | |
a29cd6c0 HH |
5617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glReadPixels. Expected _GLvoid_p."); |
5618 | return NULL; | |
5619 | } | |
5620 | } | |
5621 | { | |
5622 | wxPy_BEGIN_ALLOW_THREADS; | |
5623 | glReadPixels(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5624 | ||
5625 | wxPy_END_ALLOW_THREADS; | |
5626 | } Py_INCREF(Py_None); | |
5627 | _resultobj = Py_None; | |
5628 | return _resultobj; | |
5629 | } | |
5630 | ||
5631 | static PyObject *_wrap_glRectd(PyObject *self, PyObject *args) { | |
5632 | PyObject * _resultobj; | |
5633 | GLdouble _arg0; | |
5634 | GLdouble _arg1; | |
5635 | GLdouble _arg2; | |
5636 | GLdouble _arg3; | |
5637 | ||
5638 | self = self; | |
5639 | if(!PyArg_ParseTuple(args,"dddd:glRectd",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5640 | return NULL; | |
5641 | { | |
5642 | wxPy_BEGIN_ALLOW_THREADS; | |
5643 | glRectd(_arg0,_arg1,_arg2,_arg3); | |
5644 | ||
5645 | wxPy_END_ALLOW_THREADS; | |
5646 | } Py_INCREF(Py_None); | |
5647 | _resultobj = Py_None; | |
5648 | return _resultobj; | |
5649 | } | |
5650 | ||
5651 | static PyObject *_wrap_glRectdv(PyObject *self, PyObject *args) { | |
5652 | PyObject * _resultobj; | |
5653 | GLdouble * _arg0; | |
5654 | GLdouble * _arg1; | |
f786a3b2 HH |
5655 | PyObject * _argo0 = 0; |
5656 | PyObject * _argo1 = 0; | |
a29cd6c0 HH |
5657 | |
5658 | self = self; | |
f786a3b2 | 5659 | if(!PyArg_ParseTuple(args,"OO:glRectdv",&_argo0,&_argo1)) |
a29cd6c0 | 5660 | return NULL; |
f786a3b2 HH |
5661 | if (_argo0) { |
5662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
5664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectdv. Expected _GLdouble_p."); |
5665 | return NULL; | |
5666 | } | |
5667 | } | |
f786a3b2 HH |
5668 | if (_argo1) { |
5669 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5670 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
a29cd6c0 HH |
5671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectdv. Expected _GLdouble_p."); |
5672 | return NULL; | |
5673 | } | |
5674 | } | |
5675 | { | |
5676 | wxPy_BEGIN_ALLOW_THREADS; | |
5677 | glRectdv(_arg0,_arg1); | |
5678 | ||
5679 | wxPy_END_ALLOW_THREADS; | |
5680 | } Py_INCREF(Py_None); | |
5681 | _resultobj = Py_None; | |
5682 | return _resultobj; | |
5683 | } | |
5684 | ||
5685 | static PyObject *_wrap_glRectf(PyObject *self, PyObject *args) { | |
5686 | PyObject * _resultobj; | |
5687 | GLfloat _arg0; | |
5688 | GLfloat _arg1; | |
5689 | GLfloat _arg2; | |
5690 | GLfloat _arg3; | |
5691 | ||
5692 | self = self; | |
5693 | if(!PyArg_ParseTuple(args,"ffff:glRectf",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5694 | return NULL; | |
5695 | { | |
5696 | wxPy_BEGIN_ALLOW_THREADS; | |
5697 | glRectf(_arg0,_arg1,_arg2,_arg3); | |
5698 | ||
5699 | wxPy_END_ALLOW_THREADS; | |
5700 | } Py_INCREF(Py_None); | |
5701 | _resultobj = Py_None; | |
5702 | return _resultobj; | |
5703 | } | |
5704 | ||
5705 | static PyObject *_wrap_glRectfv(PyObject *self, PyObject *args) { | |
5706 | PyObject * _resultobj; | |
5707 | GLfloat * _arg0; | |
5708 | GLfloat * _arg1; | |
f786a3b2 HH |
5709 | PyObject * _argo0 = 0; |
5710 | PyObject * _argo1 = 0; | |
a29cd6c0 HH |
5711 | |
5712 | self = self; | |
f786a3b2 | 5713 | if(!PyArg_ParseTuple(args,"OO:glRectfv",&_argo0,&_argo1)) |
a29cd6c0 | 5714 | return NULL; |
f786a3b2 HH |
5715 | if (_argo0) { |
5716 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5717 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
5718 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectfv. Expected _GLfloat_p."); |
5719 | return NULL; | |
5720 | } | |
5721 | } | |
f786a3b2 HH |
5722 | if (_argo1) { |
5723 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5724 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
a29cd6c0 HH |
5725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectfv. Expected _GLfloat_p."); |
5726 | return NULL; | |
5727 | } | |
5728 | } | |
5729 | { | |
5730 | wxPy_BEGIN_ALLOW_THREADS; | |
5731 | glRectfv(_arg0,_arg1); | |
5732 | ||
5733 | wxPy_END_ALLOW_THREADS; | |
5734 | } Py_INCREF(Py_None); | |
5735 | _resultobj = Py_None; | |
5736 | return _resultobj; | |
5737 | } | |
5738 | ||
5739 | static PyObject *_wrap_glRecti(PyObject *self, PyObject *args) { | |
5740 | PyObject * _resultobj; | |
5741 | GLint _arg0; | |
5742 | GLint _arg1; | |
5743 | GLint _arg2; | |
5744 | GLint _arg3; | |
5745 | ||
5746 | self = self; | |
5747 | if(!PyArg_ParseTuple(args,"iiii:glRecti",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5748 | return NULL; | |
5749 | { | |
5750 | wxPy_BEGIN_ALLOW_THREADS; | |
5751 | glRecti(_arg0,_arg1,_arg2,_arg3); | |
5752 | ||
5753 | wxPy_END_ALLOW_THREADS; | |
5754 | } Py_INCREF(Py_None); | |
5755 | _resultobj = Py_None; | |
5756 | return _resultobj; | |
5757 | } | |
5758 | ||
5759 | static PyObject *_wrap_glRectiv(PyObject *self, PyObject *args) { | |
5760 | PyObject * _resultobj; | |
5761 | GLint * _arg0; | |
5762 | GLint * _arg1; | |
f786a3b2 HH |
5763 | PyObject * _argo0 = 0; |
5764 | PyObject * _argo1 = 0; | |
a29cd6c0 HH |
5765 | |
5766 | self = self; | |
f786a3b2 | 5767 | if(!PyArg_ParseTuple(args,"OO:glRectiv",&_argo0,&_argo1)) |
a29cd6c0 | 5768 | return NULL; |
f786a3b2 HH |
5769 | if (_argo0) { |
5770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
5772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectiv. Expected _GLint_p."); |
5773 | return NULL; | |
5774 | } | |
5775 | } | |
f786a3b2 HH |
5776 | if (_argo1) { |
5777 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5778 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) { | |
a29cd6c0 HH |
5779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectiv. Expected _GLint_p."); |
5780 | return NULL; | |
5781 | } | |
5782 | } | |
5783 | { | |
5784 | wxPy_BEGIN_ALLOW_THREADS; | |
5785 | glRectiv(_arg0,_arg1); | |
5786 | ||
5787 | wxPy_END_ALLOW_THREADS; | |
5788 | } Py_INCREF(Py_None); | |
5789 | _resultobj = Py_None; | |
5790 | return _resultobj; | |
5791 | } | |
5792 | ||
5793 | static PyObject *_wrap_glRects(PyObject *self, PyObject *args) { | |
5794 | PyObject * _resultobj; | |
5795 | GLshort _arg0; | |
5796 | GLshort _arg1; | |
5797 | GLshort _arg2; | |
5798 | GLshort _arg3; | |
5799 | ||
5800 | self = self; | |
5801 | if(!PyArg_ParseTuple(args,"hhhh:glRects",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5802 | return NULL; | |
5803 | { | |
5804 | wxPy_BEGIN_ALLOW_THREADS; | |
5805 | glRects(_arg0,_arg1,_arg2,_arg3); | |
5806 | ||
5807 | wxPy_END_ALLOW_THREADS; | |
5808 | } Py_INCREF(Py_None); | |
5809 | _resultobj = Py_None; | |
5810 | return _resultobj; | |
5811 | } | |
5812 | ||
5813 | static PyObject *_wrap_glRectsv(PyObject *self, PyObject *args) { | |
5814 | PyObject * _resultobj; | |
5815 | GLshort * _arg0; | |
5816 | GLshort * _arg1; | |
f786a3b2 HH |
5817 | PyObject * _argo0 = 0; |
5818 | PyObject * _argo1 = 0; | |
a29cd6c0 HH |
5819 | |
5820 | self = self; | |
f786a3b2 | 5821 | if(!PyArg_ParseTuple(args,"OO:glRectsv",&_argo0,&_argo1)) |
a29cd6c0 | 5822 | return NULL; |
f786a3b2 HH |
5823 | if (_argo0) { |
5824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
5826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectsv. Expected _GLshort_p."); |
5827 | return NULL; | |
5828 | } | |
5829 | } | |
f786a3b2 HH |
5830 | if (_argo1) { |
5831 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5832 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLshort_p")) { | |
a29cd6c0 HH |
5833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectsv. Expected _GLshort_p."); |
5834 | return NULL; | |
5835 | } | |
5836 | } | |
5837 | { | |
5838 | wxPy_BEGIN_ALLOW_THREADS; | |
5839 | glRectsv(_arg0,_arg1); | |
5840 | ||
5841 | wxPy_END_ALLOW_THREADS; | |
5842 | } Py_INCREF(Py_None); | |
5843 | _resultobj = Py_None; | |
5844 | return _resultobj; | |
5845 | } | |
5846 | ||
5847 | static PyObject *_wrap_glRenderMode(PyObject *self, PyObject *args) { | |
5848 | PyObject * _resultobj; | |
5849 | GLint _result; | |
5850 | GLenum _arg0; | |
5851 | ||
5852 | self = self; | |
5853 | if(!PyArg_ParseTuple(args,"i:glRenderMode",&_arg0)) | |
5854 | return NULL; | |
5855 | { | |
5856 | wxPy_BEGIN_ALLOW_THREADS; | |
5857 | _result = (GLint )glRenderMode(_arg0); | |
5858 | ||
5859 | wxPy_END_ALLOW_THREADS; | |
5860 | } _resultobj = Py_BuildValue("i",_result); | |
5861 | return _resultobj; | |
5862 | } | |
5863 | ||
5864 | static PyObject *_wrap_glRotated(PyObject *self, PyObject *args) { | |
5865 | PyObject * _resultobj; | |
5866 | GLdouble _arg0; | |
5867 | GLdouble _arg1; | |
5868 | GLdouble _arg2; | |
5869 | GLdouble _arg3; | |
5870 | ||
5871 | self = self; | |
5872 | if(!PyArg_ParseTuple(args,"dddd:glRotated",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5873 | return NULL; | |
5874 | { | |
5875 | wxPy_BEGIN_ALLOW_THREADS; | |
5876 | glRotated(_arg0,_arg1,_arg2,_arg3); | |
5877 | ||
5878 | wxPy_END_ALLOW_THREADS; | |
5879 | } Py_INCREF(Py_None); | |
5880 | _resultobj = Py_None; | |
5881 | return _resultobj; | |
5882 | } | |
5883 | ||
5884 | static PyObject *_wrap_glRotatef(PyObject *self, PyObject *args) { | |
5885 | PyObject * _resultobj; | |
5886 | GLfloat _arg0; | |
5887 | GLfloat _arg1; | |
5888 | GLfloat _arg2; | |
5889 | GLfloat _arg3; | |
5890 | ||
5891 | self = self; | |
5892 | if(!PyArg_ParseTuple(args,"ffff:glRotatef",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5893 | return NULL; | |
5894 | { | |
5895 | wxPy_BEGIN_ALLOW_THREADS; | |
5896 | glRotatef(_arg0,_arg1,_arg2,_arg3); | |
5897 | ||
5898 | wxPy_END_ALLOW_THREADS; | |
5899 | } Py_INCREF(Py_None); | |
5900 | _resultobj = Py_None; | |
5901 | return _resultobj; | |
5902 | } | |
5903 | ||
5904 | static PyObject *_wrap_glScaled(PyObject *self, PyObject *args) { | |
5905 | PyObject * _resultobj; | |
5906 | GLdouble _arg0; | |
5907 | GLdouble _arg1; | |
5908 | GLdouble _arg2; | |
5909 | ||
5910 | self = self; | |
5911 | if(!PyArg_ParseTuple(args,"ddd:glScaled",&_arg0,&_arg1,&_arg2)) | |
5912 | return NULL; | |
5913 | { | |
5914 | wxPy_BEGIN_ALLOW_THREADS; | |
5915 | glScaled(_arg0,_arg1,_arg2); | |
5916 | ||
5917 | wxPy_END_ALLOW_THREADS; | |
5918 | } Py_INCREF(Py_None); | |
5919 | _resultobj = Py_None; | |
5920 | return _resultobj; | |
5921 | } | |
5922 | ||
5923 | static PyObject *_wrap_glScalef(PyObject *self, PyObject *args) { | |
5924 | PyObject * _resultobj; | |
5925 | GLfloat _arg0; | |
5926 | GLfloat _arg1; | |
5927 | GLfloat _arg2; | |
5928 | ||
5929 | self = self; | |
5930 | if(!PyArg_ParseTuple(args,"fff:glScalef",&_arg0,&_arg1,&_arg2)) | |
5931 | return NULL; | |
5932 | { | |
5933 | wxPy_BEGIN_ALLOW_THREADS; | |
5934 | glScalef(_arg0,_arg1,_arg2); | |
5935 | ||
5936 | wxPy_END_ALLOW_THREADS; | |
5937 | } Py_INCREF(Py_None); | |
5938 | _resultobj = Py_None; | |
5939 | return _resultobj; | |
5940 | } | |
5941 | ||
5942 | static PyObject *_wrap_glScissor(PyObject *self, PyObject *args) { | |
5943 | PyObject * _resultobj; | |
5944 | GLint _arg0; | |
5945 | GLint _arg1; | |
5946 | GLsizei _arg2; | |
5947 | GLsizei _arg3; | |
5948 | ||
5949 | self = self; | |
5950 | if(!PyArg_ParseTuple(args,"iiii:glScissor",&_arg0,&_arg1,&_arg2,&_arg3)) | |
5951 | return NULL; | |
5952 | { | |
5953 | wxPy_BEGIN_ALLOW_THREADS; | |
5954 | glScissor(_arg0,_arg1,_arg2,_arg3); | |
5955 | ||
5956 | wxPy_END_ALLOW_THREADS; | |
5957 | } Py_INCREF(Py_None); | |
5958 | _resultobj = Py_None; | |
5959 | return _resultobj; | |
5960 | } | |
5961 | ||
5962 | static PyObject *_wrap_glSelectBuffer(PyObject *self, PyObject *args) { | |
5963 | PyObject * _resultobj; | |
5964 | GLsizei _arg0; | |
5965 | GLuint * _arg1; | |
f786a3b2 | 5966 | PyObject * _argo1 = 0; |
a29cd6c0 HH |
5967 | |
5968 | self = self; | |
f786a3b2 | 5969 | if(!PyArg_ParseTuple(args,"iO:glSelectBuffer",&_arg0,&_argo1)) |
a29cd6c0 | 5970 | return NULL; |
f786a3b2 HH |
5971 | if (_argo1) { |
5972 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5973 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
a29cd6c0 HH |
5974 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glSelectBuffer. Expected _GLuint_p."); |
5975 | return NULL; | |
5976 | } | |
5977 | } | |
5978 | { | |
5979 | wxPy_BEGIN_ALLOW_THREADS; | |
5980 | glSelectBuffer(_arg0,_arg1); | |
5981 | ||
5982 | wxPy_END_ALLOW_THREADS; | |
5983 | } Py_INCREF(Py_None); | |
5984 | _resultobj = Py_None; | |
5985 | return _resultobj; | |
5986 | } | |
5987 | ||
5988 | static PyObject *_wrap_glShadeModel(PyObject *self, PyObject *args) { | |
5989 | PyObject * _resultobj; | |
5990 | GLenum _arg0; | |
5991 | ||
5992 | self = self; | |
5993 | if(!PyArg_ParseTuple(args,"i:glShadeModel",&_arg0)) | |
5994 | return NULL; | |
5995 | { | |
5996 | wxPy_BEGIN_ALLOW_THREADS; | |
5997 | glShadeModel(_arg0); | |
5998 | ||
5999 | wxPy_END_ALLOW_THREADS; | |
6000 | } Py_INCREF(Py_None); | |
6001 | _resultobj = Py_None; | |
6002 | return _resultobj; | |
6003 | } | |
6004 | ||
6005 | static PyObject *_wrap_glStencilFunc(PyObject *self, PyObject *args) { | |
6006 | PyObject * _resultobj; | |
6007 | GLenum _arg0; | |
6008 | GLint _arg1; | |
6009 | GLuint _arg2; | |
6010 | ||
6011 | self = self; | |
6012 | if(!PyArg_ParseTuple(args,"iii:glStencilFunc",&_arg0,&_arg1,&_arg2)) | |
6013 | return NULL; | |
6014 | { | |
6015 | wxPy_BEGIN_ALLOW_THREADS; | |
6016 | glStencilFunc(_arg0,_arg1,_arg2); | |
6017 | ||
6018 | wxPy_END_ALLOW_THREADS; | |
6019 | } Py_INCREF(Py_None); | |
6020 | _resultobj = Py_None; | |
6021 | return _resultobj; | |
6022 | } | |
6023 | ||
6024 | static PyObject *_wrap_glStencilMask(PyObject *self, PyObject *args) { | |
6025 | PyObject * _resultobj; | |
6026 | GLuint _arg0; | |
6027 | ||
6028 | self = self; | |
6029 | if(!PyArg_ParseTuple(args,"i:glStencilMask",&_arg0)) | |
6030 | return NULL; | |
6031 | { | |
6032 | wxPy_BEGIN_ALLOW_THREADS; | |
6033 | glStencilMask(_arg0); | |
6034 | ||
6035 | wxPy_END_ALLOW_THREADS; | |
6036 | } Py_INCREF(Py_None); | |
6037 | _resultobj = Py_None; | |
6038 | return _resultobj; | |
6039 | } | |
6040 | ||
6041 | static PyObject *_wrap_glStencilOp(PyObject *self, PyObject *args) { | |
6042 | PyObject * _resultobj; | |
6043 | GLenum _arg0; | |
6044 | GLenum _arg1; | |
6045 | GLenum _arg2; | |
6046 | ||
6047 | self = self; | |
6048 | if(!PyArg_ParseTuple(args,"iii:glStencilOp",&_arg0,&_arg1,&_arg2)) | |
6049 | return NULL; | |
6050 | { | |
6051 | wxPy_BEGIN_ALLOW_THREADS; | |
6052 | glStencilOp(_arg0,_arg1,_arg2); | |
6053 | ||
6054 | wxPy_END_ALLOW_THREADS; | |
6055 | } Py_INCREF(Py_None); | |
6056 | _resultobj = Py_None; | |
6057 | return _resultobj; | |
6058 | } | |
6059 | ||
6060 | static PyObject *_wrap_glTexCoord1d(PyObject *self, PyObject *args) { | |
6061 | PyObject * _resultobj; | |
6062 | GLdouble _arg0; | |
6063 | ||
6064 | self = self; | |
6065 | if(!PyArg_ParseTuple(args,"d:glTexCoord1d",&_arg0)) | |
6066 | return NULL; | |
6067 | { | |
6068 | wxPy_BEGIN_ALLOW_THREADS; | |
6069 | glTexCoord1d(_arg0); | |
6070 | ||
6071 | wxPy_END_ALLOW_THREADS; | |
6072 | } Py_INCREF(Py_None); | |
6073 | _resultobj = Py_None; | |
6074 | return _resultobj; | |
6075 | } | |
6076 | ||
6077 | static PyObject *_wrap_glTexCoord1dv(PyObject *self, PyObject *args) { | |
6078 | PyObject * _resultobj; | |
6079 | GLdouble * _arg0; | |
f786a3b2 | 6080 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6081 | |
6082 | self = self; | |
f786a3b2 | 6083 | if(!PyArg_ParseTuple(args,"O:glTexCoord1dv",&_argo0)) |
a29cd6c0 | 6084 | return NULL; |
f786a3b2 HH |
6085 | if (_argo0) { |
6086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
6088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1dv. Expected _GLdouble_p."); |
6089 | return NULL; | |
6090 | } | |
6091 | } | |
6092 | { | |
6093 | wxPy_BEGIN_ALLOW_THREADS; | |
6094 | glTexCoord1dv(_arg0); | |
6095 | ||
6096 | wxPy_END_ALLOW_THREADS; | |
6097 | } Py_INCREF(Py_None); | |
6098 | _resultobj = Py_None; | |
6099 | return _resultobj; | |
6100 | } | |
6101 | ||
6102 | static PyObject *_wrap_glTexCoord1f(PyObject *self, PyObject *args) { | |
6103 | PyObject * _resultobj; | |
6104 | GLfloat _arg0; | |
6105 | ||
6106 | self = self; | |
6107 | if(!PyArg_ParseTuple(args,"f:glTexCoord1f",&_arg0)) | |
6108 | return NULL; | |
6109 | { | |
6110 | wxPy_BEGIN_ALLOW_THREADS; | |
6111 | glTexCoord1f(_arg0); | |
6112 | ||
6113 | wxPy_END_ALLOW_THREADS; | |
6114 | } Py_INCREF(Py_None); | |
6115 | _resultobj = Py_None; | |
6116 | return _resultobj; | |
6117 | } | |
6118 | ||
6119 | static PyObject *_wrap_glTexCoord1fv(PyObject *self, PyObject *args) { | |
6120 | PyObject * _resultobj; | |
6121 | GLfloat * _arg0; | |
f786a3b2 | 6122 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6123 | |
6124 | self = self; | |
f786a3b2 | 6125 | if(!PyArg_ParseTuple(args,"O:glTexCoord1fv",&_argo0)) |
a29cd6c0 | 6126 | return NULL; |
f786a3b2 HH |
6127 | if (_argo0) { |
6128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
6130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1fv. Expected _GLfloat_p."); |
6131 | return NULL; | |
6132 | } | |
6133 | } | |
6134 | { | |
6135 | wxPy_BEGIN_ALLOW_THREADS; | |
6136 | glTexCoord1fv(_arg0); | |
6137 | ||
6138 | wxPy_END_ALLOW_THREADS; | |
6139 | } Py_INCREF(Py_None); | |
6140 | _resultobj = Py_None; | |
6141 | return _resultobj; | |
6142 | } | |
6143 | ||
6144 | static PyObject *_wrap_glTexCoord1i(PyObject *self, PyObject *args) { | |
6145 | PyObject * _resultobj; | |
6146 | GLint _arg0; | |
6147 | ||
6148 | self = self; | |
6149 | if(!PyArg_ParseTuple(args,"i:glTexCoord1i",&_arg0)) | |
6150 | return NULL; | |
6151 | { | |
6152 | wxPy_BEGIN_ALLOW_THREADS; | |
6153 | glTexCoord1i(_arg0); | |
6154 | ||
6155 | wxPy_END_ALLOW_THREADS; | |
6156 | } Py_INCREF(Py_None); | |
6157 | _resultobj = Py_None; | |
6158 | return _resultobj; | |
6159 | } | |
6160 | ||
6161 | static PyObject *_wrap_glTexCoord1iv(PyObject *self, PyObject *args) { | |
6162 | PyObject * _resultobj; | |
6163 | GLint * _arg0; | |
f786a3b2 | 6164 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6165 | |
6166 | self = self; | |
f786a3b2 | 6167 | if(!PyArg_ParseTuple(args,"O:glTexCoord1iv",&_argo0)) |
a29cd6c0 | 6168 | return NULL; |
f786a3b2 HH |
6169 | if (_argo0) { |
6170 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6171 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
6172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1iv. Expected _GLint_p."); |
6173 | return NULL; | |
6174 | } | |
6175 | } | |
6176 | { | |
6177 | wxPy_BEGIN_ALLOW_THREADS; | |
6178 | glTexCoord1iv(_arg0); | |
6179 | ||
6180 | wxPy_END_ALLOW_THREADS; | |
6181 | } Py_INCREF(Py_None); | |
6182 | _resultobj = Py_None; | |
6183 | return _resultobj; | |
6184 | } | |
6185 | ||
6186 | static PyObject *_wrap_glTexCoord1s(PyObject *self, PyObject *args) { | |
6187 | PyObject * _resultobj; | |
6188 | GLshort _arg0; | |
6189 | ||
6190 | self = self; | |
6191 | if(!PyArg_ParseTuple(args,"h:glTexCoord1s",&_arg0)) | |
6192 | return NULL; | |
6193 | { | |
6194 | wxPy_BEGIN_ALLOW_THREADS; | |
6195 | glTexCoord1s(_arg0); | |
6196 | ||
6197 | wxPy_END_ALLOW_THREADS; | |
6198 | } Py_INCREF(Py_None); | |
6199 | _resultobj = Py_None; | |
6200 | return _resultobj; | |
6201 | } | |
6202 | ||
6203 | static PyObject *_wrap_glTexCoord1sv(PyObject *self, PyObject *args) { | |
6204 | PyObject * _resultobj; | |
6205 | GLshort * _arg0; | |
f786a3b2 | 6206 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6207 | |
6208 | self = self; | |
f786a3b2 | 6209 | if(!PyArg_ParseTuple(args,"O:glTexCoord1sv",&_argo0)) |
a29cd6c0 | 6210 | return NULL; |
f786a3b2 HH |
6211 | if (_argo0) { |
6212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
6214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1sv. Expected _GLshort_p."); |
6215 | return NULL; | |
6216 | } | |
6217 | } | |
6218 | { | |
6219 | wxPy_BEGIN_ALLOW_THREADS; | |
6220 | glTexCoord1sv(_arg0); | |
6221 | ||
6222 | wxPy_END_ALLOW_THREADS; | |
6223 | } Py_INCREF(Py_None); | |
6224 | _resultobj = Py_None; | |
6225 | return _resultobj; | |
6226 | } | |
6227 | ||
6228 | static PyObject *_wrap_glTexCoord2d(PyObject *self, PyObject *args) { | |
6229 | PyObject * _resultobj; | |
6230 | GLdouble _arg0; | |
6231 | GLdouble _arg1; | |
6232 | ||
6233 | self = self; | |
6234 | if(!PyArg_ParseTuple(args,"dd:glTexCoord2d",&_arg0,&_arg1)) | |
6235 | return NULL; | |
6236 | { | |
6237 | wxPy_BEGIN_ALLOW_THREADS; | |
6238 | glTexCoord2d(_arg0,_arg1); | |
6239 | ||
6240 | wxPy_END_ALLOW_THREADS; | |
6241 | } Py_INCREF(Py_None); | |
6242 | _resultobj = Py_None; | |
6243 | return _resultobj; | |
6244 | } | |
6245 | ||
6246 | static PyObject *_wrap_glTexCoord2dv(PyObject *self, PyObject *args) { | |
6247 | PyObject * _resultobj; | |
6248 | GLdouble * _arg0; | |
f786a3b2 | 6249 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6250 | |
6251 | self = self; | |
f786a3b2 | 6252 | if(!PyArg_ParseTuple(args,"O:glTexCoord2dv",&_argo0)) |
a29cd6c0 | 6253 | return NULL; |
f786a3b2 HH |
6254 | if (_argo0) { |
6255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
6257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2dv. Expected _GLdouble_p."); |
6258 | return NULL; | |
6259 | } | |
6260 | } | |
6261 | { | |
6262 | wxPy_BEGIN_ALLOW_THREADS; | |
6263 | glTexCoord2dv(_arg0); | |
6264 | ||
6265 | wxPy_END_ALLOW_THREADS; | |
6266 | } Py_INCREF(Py_None); | |
6267 | _resultobj = Py_None; | |
6268 | return _resultobj; | |
6269 | } | |
6270 | ||
6271 | static PyObject *_wrap_glTexCoord2f(PyObject *self, PyObject *args) { | |
6272 | PyObject * _resultobj; | |
6273 | GLfloat _arg0; | |
6274 | GLfloat _arg1; | |
6275 | ||
6276 | self = self; | |
6277 | if(!PyArg_ParseTuple(args,"ff:glTexCoord2f",&_arg0,&_arg1)) | |
6278 | return NULL; | |
6279 | { | |
6280 | wxPy_BEGIN_ALLOW_THREADS; | |
6281 | glTexCoord2f(_arg0,_arg1); | |
6282 | ||
6283 | wxPy_END_ALLOW_THREADS; | |
6284 | } Py_INCREF(Py_None); | |
6285 | _resultobj = Py_None; | |
6286 | return _resultobj; | |
6287 | } | |
6288 | ||
6289 | static PyObject *_wrap_glTexCoord2fv(PyObject *self, PyObject *args) { | |
6290 | PyObject * _resultobj; | |
6291 | GLfloat * _arg0; | |
f786a3b2 | 6292 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6293 | |
6294 | self = self; | |
f786a3b2 | 6295 | if(!PyArg_ParseTuple(args,"O:glTexCoord2fv",&_argo0)) |
a29cd6c0 | 6296 | return NULL; |
f786a3b2 HH |
6297 | if (_argo0) { |
6298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
6300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2fv. Expected _GLfloat_p."); |
6301 | return NULL; | |
6302 | } | |
6303 | } | |
6304 | { | |
6305 | wxPy_BEGIN_ALLOW_THREADS; | |
6306 | glTexCoord2fv(_arg0); | |
6307 | ||
6308 | wxPy_END_ALLOW_THREADS; | |
6309 | } Py_INCREF(Py_None); | |
6310 | _resultobj = Py_None; | |
6311 | return _resultobj; | |
6312 | } | |
6313 | ||
6314 | static PyObject *_wrap_glTexCoord2i(PyObject *self, PyObject *args) { | |
6315 | PyObject * _resultobj; | |
6316 | GLint _arg0; | |
6317 | GLint _arg1; | |
6318 | ||
6319 | self = self; | |
6320 | if(!PyArg_ParseTuple(args,"ii:glTexCoord2i",&_arg0,&_arg1)) | |
6321 | return NULL; | |
6322 | { | |
6323 | wxPy_BEGIN_ALLOW_THREADS; | |
6324 | glTexCoord2i(_arg0,_arg1); | |
6325 | ||
6326 | wxPy_END_ALLOW_THREADS; | |
6327 | } Py_INCREF(Py_None); | |
6328 | _resultobj = Py_None; | |
6329 | return _resultobj; | |
6330 | } | |
6331 | ||
6332 | static PyObject *_wrap_glTexCoord2iv(PyObject *self, PyObject *args) { | |
6333 | PyObject * _resultobj; | |
6334 | GLint * _arg0; | |
f786a3b2 | 6335 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6336 | |
6337 | self = self; | |
f786a3b2 | 6338 | if(!PyArg_ParseTuple(args,"O:glTexCoord2iv",&_argo0)) |
a29cd6c0 | 6339 | return NULL; |
f786a3b2 HH |
6340 | if (_argo0) { |
6341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
6343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2iv. Expected _GLint_p."); |
6344 | return NULL; | |
6345 | } | |
6346 | } | |
6347 | { | |
6348 | wxPy_BEGIN_ALLOW_THREADS; | |
6349 | glTexCoord2iv(_arg0); | |
6350 | ||
6351 | wxPy_END_ALLOW_THREADS; | |
6352 | } Py_INCREF(Py_None); | |
6353 | _resultobj = Py_None; | |
6354 | return _resultobj; | |
6355 | } | |
6356 | ||
6357 | static PyObject *_wrap_glTexCoord2s(PyObject *self, PyObject *args) { | |
6358 | PyObject * _resultobj; | |
6359 | GLshort _arg0; | |
6360 | GLshort _arg1; | |
6361 | ||
6362 | self = self; | |
6363 | if(!PyArg_ParseTuple(args,"hh:glTexCoord2s",&_arg0,&_arg1)) | |
6364 | return NULL; | |
6365 | { | |
6366 | wxPy_BEGIN_ALLOW_THREADS; | |
6367 | glTexCoord2s(_arg0,_arg1); | |
6368 | ||
6369 | wxPy_END_ALLOW_THREADS; | |
6370 | } Py_INCREF(Py_None); | |
6371 | _resultobj = Py_None; | |
6372 | return _resultobj; | |
6373 | } | |
6374 | ||
6375 | static PyObject *_wrap_glTexCoord2sv(PyObject *self, PyObject *args) { | |
6376 | PyObject * _resultobj; | |
6377 | GLshort * _arg0; | |
f786a3b2 | 6378 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6379 | |
6380 | self = self; | |
f786a3b2 | 6381 | if(!PyArg_ParseTuple(args,"O:glTexCoord2sv",&_argo0)) |
a29cd6c0 | 6382 | return NULL; |
f786a3b2 HH |
6383 | if (_argo0) { |
6384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
6386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2sv. Expected _GLshort_p."); |
6387 | return NULL; | |
6388 | } | |
6389 | } | |
6390 | { | |
6391 | wxPy_BEGIN_ALLOW_THREADS; | |
6392 | glTexCoord2sv(_arg0); | |
6393 | ||
6394 | wxPy_END_ALLOW_THREADS; | |
6395 | } Py_INCREF(Py_None); | |
6396 | _resultobj = Py_None; | |
6397 | return _resultobj; | |
6398 | } | |
6399 | ||
6400 | static PyObject *_wrap_glTexCoord3d(PyObject *self, PyObject *args) { | |
6401 | PyObject * _resultobj; | |
6402 | GLdouble _arg0; | |
6403 | GLdouble _arg1; | |
6404 | GLdouble _arg2; | |
6405 | ||
6406 | self = self; | |
6407 | if(!PyArg_ParseTuple(args,"ddd:glTexCoord3d",&_arg0,&_arg1,&_arg2)) | |
6408 | return NULL; | |
6409 | { | |
6410 | wxPy_BEGIN_ALLOW_THREADS; | |
6411 | glTexCoord3d(_arg0,_arg1,_arg2); | |
6412 | ||
6413 | wxPy_END_ALLOW_THREADS; | |
6414 | } Py_INCREF(Py_None); | |
6415 | _resultobj = Py_None; | |
6416 | return _resultobj; | |
6417 | } | |
6418 | ||
6419 | static PyObject *_wrap_glTexCoord3dv(PyObject *self, PyObject *args) { | |
6420 | PyObject * _resultobj; | |
6421 | GLdouble * _arg0; | |
f786a3b2 | 6422 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6423 | |
6424 | self = self; | |
f786a3b2 | 6425 | if(!PyArg_ParseTuple(args,"O:glTexCoord3dv",&_argo0)) |
a29cd6c0 | 6426 | return NULL; |
f786a3b2 HH |
6427 | if (_argo0) { |
6428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
6430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3dv. Expected _GLdouble_p."); |
6431 | return NULL; | |
6432 | } | |
6433 | } | |
6434 | { | |
6435 | wxPy_BEGIN_ALLOW_THREADS; | |
6436 | glTexCoord3dv(_arg0); | |
6437 | ||
6438 | wxPy_END_ALLOW_THREADS; | |
6439 | } Py_INCREF(Py_None); | |
6440 | _resultobj = Py_None; | |
6441 | return _resultobj; | |
6442 | } | |
6443 | ||
6444 | static PyObject *_wrap_glTexCoord3f(PyObject *self, PyObject *args) { | |
6445 | PyObject * _resultobj; | |
6446 | GLfloat _arg0; | |
6447 | GLfloat _arg1; | |
6448 | GLfloat _arg2; | |
6449 | ||
6450 | self = self; | |
6451 | if(!PyArg_ParseTuple(args,"fff:glTexCoord3f",&_arg0,&_arg1,&_arg2)) | |
6452 | return NULL; | |
6453 | { | |
6454 | wxPy_BEGIN_ALLOW_THREADS; | |
6455 | glTexCoord3f(_arg0,_arg1,_arg2); | |
6456 | ||
6457 | wxPy_END_ALLOW_THREADS; | |
6458 | } Py_INCREF(Py_None); | |
6459 | _resultobj = Py_None; | |
6460 | return _resultobj; | |
6461 | } | |
6462 | ||
6463 | static PyObject *_wrap_glTexCoord3fv(PyObject *self, PyObject *args) { | |
6464 | PyObject * _resultobj; | |
6465 | GLfloat * _arg0; | |
f786a3b2 | 6466 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6467 | |
6468 | self = self; | |
f786a3b2 | 6469 | if(!PyArg_ParseTuple(args,"O:glTexCoord3fv",&_argo0)) |
a29cd6c0 | 6470 | return NULL; |
f786a3b2 HH |
6471 | if (_argo0) { |
6472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
6474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3fv. Expected _GLfloat_p."); |
6475 | return NULL; | |
6476 | } | |
6477 | } | |
6478 | { | |
6479 | wxPy_BEGIN_ALLOW_THREADS; | |
6480 | glTexCoord3fv(_arg0); | |
6481 | ||
6482 | wxPy_END_ALLOW_THREADS; | |
6483 | } Py_INCREF(Py_None); | |
6484 | _resultobj = Py_None; | |
6485 | return _resultobj; | |
6486 | } | |
6487 | ||
6488 | static PyObject *_wrap_glTexCoord3i(PyObject *self, PyObject *args) { | |
6489 | PyObject * _resultobj; | |
6490 | GLint _arg0; | |
6491 | GLint _arg1; | |
6492 | GLint _arg2; | |
6493 | ||
6494 | self = self; | |
6495 | if(!PyArg_ParseTuple(args,"iii:glTexCoord3i",&_arg0,&_arg1,&_arg2)) | |
6496 | return NULL; | |
6497 | { | |
6498 | wxPy_BEGIN_ALLOW_THREADS; | |
6499 | glTexCoord3i(_arg0,_arg1,_arg2); | |
6500 | ||
6501 | wxPy_END_ALLOW_THREADS; | |
6502 | } Py_INCREF(Py_None); | |
6503 | _resultobj = Py_None; | |
6504 | return _resultobj; | |
6505 | } | |
6506 | ||
6507 | static PyObject *_wrap_glTexCoord3iv(PyObject *self, PyObject *args) { | |
6508 | PyObject * _resultobj; | |
6509 | GLint * _arg0; | |
f786a3b2 | 6510 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6511 | |
6512 | self = self; | |
f786a3b2 | 6513 | if(!PyArg_ParseTuple(args,"O:glTexCoord3iv",&_argo0)) |
a29cd6c0 | 6514 | return NULL; |
f786a3b2 HH |
6515 | if (_argo0) { |
6516 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6517 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
6518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3iv. Expected _GLint_p."); |
6519 | return NULL; | |
6520 | } | |
6521 | } | |
6522 | { | |
6523 | wxPy_BEGIN_ALLOW_THREADS; | |
6524 | glTexCoord3iv(_arg0); | |
6525 | ||
6526 | wxPy_END_ALLOW_THREADS; | |
6527 | } Py_INCREF(Py_None); | |
6528 | _resultobj = Py_None; | |
6529 | return _resultobj; | |
6530 | } | |
6531 | ||
6532 | static PyObject *_wrap_glTexCoord3s(PyObject *self, PyObject *args) { | |
6533 | PyObject * _resultobj; | |
6534 | GLshort _arg0; | |
6535 | GLshort _arg1; | |
6536 | GLshort _arg2; | |
6537 | ||
6538 | self = self; | |
6539 | if(!PyArg_ParseTuple(args,"hhh:glTexCoord3s",&_arg0,&_arg1,&_arg2)) | |
6540 | return NULL; | |
6541 | { | |
6542 | wxPy_BEGIN_ALLOW_THREADS; | |
6543 | glTexCoord3s(_arg0,_arg1,_arg2); | |
6544 | ||
6545 | wxPy_END_ALLOW_THREADS; | |
6546 | } Py_INCREF(Py_None); | |
6547 | _resultobj = Py_None; | |
6548 | return _resultobj; | |
6549 | } | |
6550 | ||
6551 | static PyObject *_wrap_glTexCoord3sv(PyObject *self, PyObject *args) { | |
6552 | PyObject * _resultobj; | |
6553 | GLshort * _arg0; | |
f786a3b2 | 6554 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6555 | |
6556 | self = self; | |
f786a3b2 | 6557 | if(!PyArg_ParseTuple(args,"O:glTexCoord3sv",&_argo0)) |
a29cd6c0 | 6558 | return NULL; |
f786a3b2 HH |
6559 | if (_argo0) { |
6560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
6562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3sv. Expected _GLshort_p."); |
6563 | return NULL; | |
6564 | } | |
6565 | } | |
6566 | { | |
6567 | wxPy_BEGIN_ALLOW_THREADS; | |
6568 | glTexCoord3sv(_arg0); | |
6569 | ||
6570 | wxPy_END_ALLOW_THREADS; | |
6571 | } Py_INCREF(Py_None); | |
6572 | _resultobj = Py_None; | |
6573 | return _resultobj; | |
6574 | } | |
6575 | ||
6576 | static PyObject *_wrap_glTexCoord4d(PyObject *self, PyObject *args) { | |
6577 | PyObject * _resultobj; | |
6578 | GLdouble _arg0; | |
6579 | GLdouble _arg1; | |
6580 | GLdouble _arg2; | |
6581 | GLdouble _arg3; | |
6582 | ||
6583 | self = self; | |
6584 | if(!PyArg_ParseTuple(args,"dddd:glTexCoord4d",&_arg0,&_arg1,&_arg2,&_arg3)) | |
6585 | return NULL; | |
6586 | { | |
6587 | wxPy_BEGIN_ALLOW_THREADS; | |
6588 | glTexCoord4d(_arg0,_arg1,_arg2,_arg3); | |
6589 | ||
6590 | wxPy_END_ALLOW_THREADS; | |
6591 | } Py_INCREF(Py_None); | |
6592 | _resultobj = Py_None; | |
6593 | return _resultobj; | |
6594 | } | |
6595 | ||
6596 | static PyObject *_wrap_glTexCoord4dv(PyObject *self, PyObject *args) { | |
6597 | PyObject * _resultobj; | |
6598 | GLdouble * _arg0; | |
f786a3b2 | 6599 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6600 | |
6601 | self = self; | |
f786a3b2 | 6602 | if(!PyArg_ParseTuple(args,"O:glTexCoord4dv",&_argo0)) |
a29cd6c0 | 6603 | return NULL; |
f786a3b2 HH |
6604 | if (_argo0) { |
6605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
6607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4dv. Expected _GLdouble_p."); |
6608 | return NULL; | |
6609 | } | |
6610 | } | |
6611 | { | |
6612 | wxPy_BEGIN_ALLOW_THREADS; | |
6613 | glTexCoord4dv(_arg0); | |
6614 | ||
6615 | wxPy_END_ALLOW_THREADS; | |
6616 | } Py_INCREF(Py_None); | |
6617 | _resultobj = Py_None; | |
6618 | return _resultobj; | |
6619 | } | |
6620 | ||
6621 | static PyObject *_wrap_glTexCoord4f(PyObject *self, PyObject *args) { | |
6622 | PyObject * _resultobj; | |
6623 | GLfloat _arg0; | |
6624 | GLfloat _arg1; | |
6625 | GLfloat _arg2; | |
6626 | GLfloat _arg3; | |
6627 | ||
6628 | self = self; | |
6629 | if(!PyArg_ParseTuple(args,"ffff:glTexCoord4f",&_arg0,&_arg1,&_arg2,&_arg3)) | |
6630 | return NULL; | |
6631 | { | |
6632 | wxPy_BEGIN_ALLOW_THREADS; | |
6633 | glTexCoord4f(_arg0,_arg1,_arg2,_arg3); | |
6634 | ||
6635 | wxPy_END_ALLOW_THREADS; | |
6636 | } Py_INCREF(Py_None); | |
6637 | _resultobj = Py_None; | |
6638 | return _resultobj; | |
6639 | } | |
6640 | ||
6641 | static PyObject *_wrap_glTexCoord4fv(PyObject *self, PyObject *args) { | |
6642 | PyObject * _resultobj; | |
6643 | GLfloat * _arg0; | |
f786a3b2 | 6644 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6645 | |
6646 | self = self; | |
f786a3b2 | 6647 | if(!PyArg_ParseTuple(args,"O:glTexCoord4fv",&_argo0)) |
a29cd6c0 | 6648 | return NULL; |
f786a3b2 HH |
6649 | if (_argo0) { |
6650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
6652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4fv. Expected _GLfloat_p."); |
6653 | return NULL; | |
6654 | } | |
6655 | } | |
6656 | { | |
6657 | wxPy_BEGIN_ALLOW_THREADS; | |
6658 | glTexCoord4fv(_arg0); | |
6659 | ||
6660 | wxPy_END_ALLOW_THREADS; | |
6661 | } Py_INCREF(Py_None); | |
6662 | _resultobj = Py_None; | |
6663 | return _resultobj; | |
6664 | } | |
6665 | ||
6666 | static PyObject *_wrap_glTexCoord4i(PyObject *self, PyObject *args) { | |
6667 | PyObject * _resultobj; | |
6668 | GLint _arg0; | |
6669 | GLint _arg1; | |
6670 | GLint _arg2; | |
6671 | GLint _arg3; | |
6672 | ||
6673 | self = self; | |
6674 | if(!PyArg_ParseTuple(args,"iiii:glTexCoord4i",&_arg0,&_arg1,&_arg2,&_arg3)) | |
6675 | return NULL; | |
6676 | { | |
6677 | wxPy_BEGIN_ALLOW_THREADS; | |
6678 | glTexCoord4i(_arg0,_arg1,_arg2,_arg3); | |
6679 | ||
6680 | wxPy_END_ALLOW_THREADS; | |
6681 | } Py_INCREF(Py_None); | |
6682 | _resultobj = Py_None; | |
6683 | return _resultobj; | |
6684 | } | |
6685 | ||
6686 | static PyObject *_wrap_glTexCoord4iv(PyObject *self, PyObject *args) { | |
6687 | PyObject * _resultobj; | |
6688 | GLint * _arg0; | |
f786a3b2 | 6689 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6690 | |
6691 | self = self; | |
f786a3b2 | 6692 | if(!PyArg_ParseTuple(args,"O:glTexCoord4iv",&_argo0)) |
a29cd6c0 | 6693 | return NULL; |
f786a3b2 HH |
6694 | if (_argo0) { |
6695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
6697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4iv. Expected _GLint_p."); |
6698 | return NULL; | |
6699 | } | |
6700 | } | |
6701 | { | |
6702 | wxPy_BEGIN_ALLOW_THREADS; | |
6703 | glTexCoord4iv(_arg0); | |
6704 | ||
6705 | wxPy_END_ALLOW_THREADS; | |
6706 | } Py_INCREF(Py_None); | |
6707 | _resultobj = Py_None; | |
6708 | return _resultobj; | |
6709 | } | |
6710 | ||
6711 | static PyObject *_wrap_glTexCoord4s(PyObject *self, PyObject *args) { | |
6712 | PyObject * _resultobj; | |
6713 | GLshort _arg0; | |
6714 | GLshort _arg1; | |
6715 | GLshort _arg2; | |
6716 | GLshort _arg3; | |
6717 | ||
6718 | self = self; | |
6719 | if(!PyArg_ParseTuple(args,"hhhh:glTexCoord4s",&_arg0,&_arg1,&_arg2,&_arg3)) | |
6720 | return NULL; | |
6721 | { | |
6722 | wxPy_BEGIN_ALLOW_THREADS; | |
6723 | glTexCoord4s(_arg0,_arg1,_arg2,_arg3); | |
6724 | ||
6725 | wxPy_END_ALLOW_THREADS; | |
6726 | } Py_INCREF(Py_None); | |
6727 | _resultobj = Py_None; | |
6728 | return _resultobj; | |
6729 | } | |
6730 | ||
6731 | static PyObject *_wrap_glTexCoord4sv(PyObject *self, PyObject *args) { | |
6732 | PyObject * _resultobj; | |
6733 | GLshort * _arg0; | |
f786a3b2 | 6734 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
6735 | |
6736 | self = self; | |
f786a3b2 | 6737 | if(!PyArg_ParseTuple(args,"O:glTexCoord4sv",&_argo0)) |
a29cd6c0 | 6738 | return NULL; |
f786a3b2 HH |
6739 | if (_argo0) { |
6740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
6742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4sv. Expected _GLshort_p."); |
6743 | return NULL; | |
6744 | } | |
6745 | } | |
6746 | { | |
6747 | wxPy_BEGIN_ALLOW_THREADS; | |
6748 | glTexCoord4sv(_arg0); | |
6749 | ||
6750 | wxPy_END_ALLOW_THREADS; | |
6751 | } Py_INCREF(Py_None); | |
6752 | _resultobj = Py_None; | |
6753 | return _resultobj; | |
6754 | } | |
6755 | ||
6756 | static PyObject *_wrap_glTexCoordPointer(PyObject *self, PyObject *args) { | |
6757 | PyObject * _resultobj; | |
6758 | GLint _arg0; | |
6759 | GLenum _arg1; | |
6760 | GLsizei _arg2; | |
6761 | GLvoid * _arg3; | |
f786a3b2 | 6762 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
6763 | |
6764 | self = self; | |
f786a3b2 | 6765 | if(!PyArg_ParseTuple(args,"iiiO:glTexCoordPointer",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 6766 | return NULL; |
f786a3b2 HH |
6767 | if (_argo3) { |
6768 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
6769 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
a29cd6c0 HH |
6770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glTexCoordPointer. Expected _GLvoid_p."); |
6771 | return NULL; | |
6772 | } | |
6773 | } | |
6774 | { | |
6775 | wxPy_BEGIN_ALLOW_THREADS; | |
6776 | glTexCoordPointer(_arg0,_arg1,_arg2,_arg3); | |
6777 | ||
6778 | wxPy_END_ALLOW_THREADS; | |
6779 | } Py_INCREF(Py_None); | |
6780 | _resultobj = Py_None; | |
6781 | return _resultobj; | |
6782 | } | |
6783 | ||
6784 | static PyObject *_wrap_glTexEnvf(PyObject *self, PyObject *args) { | |
6785 | PyObject * _resultobj; | |
6786 | GLenum _arg0; | |
6787 | GLenum _arg1; | |
6788 | GLfloat _arg2; | |
6789 | ||
6790 | self = self; | |
6791 | if(!PyArg_ParseTuple(args,"iif:glTexEnvf",&_arg0,&_arg1,&_arg2)) | |
6792 | return NULL; | |
6793 | { | |
6794 | wxPy_BEGIN_ALLOW_THREADS; | |
6795 | glTexEnvf(_arg0,_arg1,_arg2); | |
6796 | ||
6797 | wxPy_END_ALLOW_THREADS; | |
6798 | } Py_INCREF(Py_None); | |
6799 | _resultobj = Py_None; | |
6800 | return _resultobj; | |
6801 | } | |
6802 | ||
6803 | static PyObject *_wrap_glTexEnvfv(PyObject *self, PyObject *args) { | |
6804 | PyObject * _resultobj; | |
6805 | GLenum _arg0; | |
6806 | GLenum _arg1; | |
6807 | GLfloat * _arg2; | |
f786a3b2 | 6808 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
6809 | |
6810 | self = self; | |
f786a3b2 | 6811 | if(!PyArg_ParseTuple(args,"iiO:glTexEnvfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 6812 | return NULL; |
f786a3b2 HH |
6813 | if (_argo2) { |
6814 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6815 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
6816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexEnvfv. Expected _GLfloat_p."); |
6817 | return NULL; | |
6818 | } | |
6819 | } | |
6820 | { | |
6821 | wxPy_BEGIN_ALLOW_THREADS; | |
6822 | glTexEnvfv(_arg0,_arg1,_arg2); | |
6823 | ||
6824 | wxPy_END_ALLOW_THREADS; | |
6825 | } Py_INCREF(Py_None); | |
6826 | _resultobj = Py_None; | |
6827 | return _resultobj; | |
6828 | } | |
6829 | ||
6830 | static PyObject *_wrap_glTexEnvi(PyObject *self, PyObject *args) { | |
6831 | PyObject * _resultobj; | |
6832 | GLenum _arg0; | |
6833 | GLenum _arg1; | |
6834 | GLint _arg2; | |
6835 | ||
6836 | self = self; | |
6837 | if(!PyArg_ParseTuple(args,"iii:glTexEnvi",&_arg0,&_arg1,&_arg2)) | |
6838 | return NULL; | |
6839 | { | |
6840 | wxPy_BEGIN_ALLOW_THREADS; | |
6841 | glTexEnvi(_arg0,_arg1,_arg2); | |
6842 | ||
6843 | wxPy_END_ALLOW_THREADS; | |
6844 | } Py_INCREF(Py_None); | |
6845 | _resultobj = Py_None; | |
6846 | return _resultobj; | |
6847 | } | |
6848 | ||
6849 | static PyObject *_wrap_glTexEnviv(PyObject *self, PyObject *args) { | |
6850 | PyObject * _resultobj; | |
6851 | GLenum _arg0; | |
6852 | GLenum _arg1; | |
6853 | GLint * _arg2; | |
f786a3b2 | 6854 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
6855 | |
6856 | self = self; | |
f786a3b2 | 6857 | if(!PyArg_ParseTuple(args,"iiO:glTexEnviv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 6858 | return NULL; |
f786a3b2 HH |
6859 | if (_argo2) { |
6860 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6861 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
6862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexEnviv. Expected _GLint_p."); |
6863 | return NULL; | |
6864 | } | |
6865 | } | |
6866 | { | |
6867 | wxPy_BEGIN_ALLOW_THREADS; | |
6868 | glTexEnviv(_arg0,_arg1,_arg2); | |
6869 | ||
6870 | wxPy_END_ALLOW_THREADS; | |
6871 | } Py_INCREF(Py_None); | |
6872 | _resultobj = Py_None; | |
6873 | return _resultobj; | |
6874 | } | |
6875 | ||
6876 | static PyObject *_wrap_glTexGend(PyObject *self, PyObject *args) { | |
6877 | PyObject * _resultobj; | |
6878 | GLenum _arg0; | |
6879 | GLenum _arg1; | |
6880 | GLdouble _arg2; | |
6881 | ||
6882 | self = self; | |
6883 | if(!PyArg_ParseTuple(args,"iid:glTexGend",&_arg0,&_arg1,&_arg2)) | |
6884 | return NULL; | |
6885 | { | |
6886 | wxPy_BEGIN_ALLOW_THREADS; | |
6887 | glTexGend(_arg0,_arg1,_arg2); | |
6888 | ||
6889 | wxPy_END_ALLOW_THREADS; | |
6890 | } Py_INCREF(Py_None); | |
6891 | _resultobj = Py_None; | |
6892 | return _resultobj; | |
6893 | } | |
6894 | ||
6895 | static PyObject *_wrap_glTexGendv(PyObject *self, PyObject *args) { | |
6896 | PyObject * _resultobj; | |
6897 | GLenum _arg0; | |
6898 | GLenum _arg1; | |
6899 | GLdouble * _arg2; | |
f786a3b2 | 6900 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
6901 | |
6902 | self = self; | |
f786a3b2 | 6903 | if(!PyArg_ParseTuple(args,"iiO:glTexGendv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 6904 | return NULL; |
f786a3b2 HH |
6905 | if (_argo2) { |
6906 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6907 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) { | |
a29cd6c0 HH |
6908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGendv. Expected _GLdouble_p."); |
6909 | return NULL; | |
6910 | } | |
6911 | } | |
6912 | { | |
6913 | wxPy_BEGIN_ALLOW_THREADS; | |
6914 | glTexGendv(_arg0,_arg1,_arg2); | |
6915 | ||
6916 | wxPy_END_ALLOW_THREADS; | |
6917 | } Py_INCREF(Py_None); | |
6918 | _resultobj = Py_None; | |
6919 | return _resultobj; | |
6920 | } | |
6921 | ||
6922 | static PyObject *_wrap_glTexGenf(PyObject *self, PyObject *args) { | |
6923 | PyObject * _resultobj; | |
6924 | GLenum _arg0; | |
6925 | GLenum _arg1; | |
6926 | GLfloat _arg2; | |
6927 | ||
6928 | self = self; | |
6929 | if(!PyArg_ParseTuple(args,"iif:glTexGenf",&_arg0,&_arg1,&_arg2)) | |
6930 | return NULL; | |
6931 | { | |
6932 | wxPy_BEGIN_ALLOW_THREADS; | |
6933 | glTexGenf(_arg0,_arg1,_arg2); | |
6934 | ||
6935 | wxPy_END_ALLOW_THREADS; | |
6936 | } Py_INCREF(Py_None); | |
6937 | _resultobj = Py_None; | |
6938 | return _resultobj; | |
6939 | } | |
6940 | ||
6941 | static PyObject *_wrap_glTexGenfv(PyObject *self, PyObject *args) { | |
6942 | PyObject * _resultobj; | |
6943 | GLenum _arg0; | |
6944 | GLenum _arg1; | |
6945 | GLfloat * _arg2; | |
f786a3b2 | 6946 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
6947 | |
6948 | self = self; | |
f786a3b2 | 6949 | if(!PyArg_ParseTuple(args,"iiO:glTexGenfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 6950 | return NULL; |
f786a3b2 HH |
6951 | if (_argo2) { |
6952 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6953 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
6954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGenfv. Expected _GLfloat_p."); |
6955 | return NULL; | |
6956 | } | |
6957 | } | |
6958 | { | |
6959 | wxPy_BEGIN_ALLOW_THREADS; | |
6960 | glTexGenfv(_arg0,_arg1,_arg2); | |
6961 | ||
6962 | wxPy_END_ALLOW_THREADS; | |
6963 | } Py_INCREF(Py_None); | |
6964 | _resultobj = Py_None; | |
6965 | return _resultobj; | |
6966 | } | |
6967 | ||
6968 | static PyObject *_wrap_glTexGeni(PyObject *self, PyObject *args) { | |
6969 | PyObject * _resultobj; | |
6970 | GLenum _arg0; | |
6971 | GLenum _arg1; | |
6972 | GLint _arg2; | |
6973 | ||
6974 | self = self; | |
6975 | if(!PyArg_ParseTuple(args,"iii:glTexGeni",&_arg0,&_arg1,&_arg2)) | |
6976 | return NULL; | |
6977 | { | |
6978 | wxPy_BEGIN_ALLOW_THREADS; | |
6979 | glTexGeni(_arg0,_arg1,_arg2); | |
6980 | ||
6981 | wxPy_END_ALLOW_THREADS; | |
6982 | } Py_INCREF(Py_None); | |
6983 | _resultobj = Py_None; | |
6984 | return _resultobj; | |
6985 | } | |
6986 | ||
6987 | static PyObject *_wrap_glTexGeniv(PyObject *self, PyObject *args) { | |
6988 | PyObject * _resultobj; | |
6989 | GLenum _arg0; | |
6990 | GLenum _arg1; | |
6991 | GLint * _arg2; | |
f786a3b2 | 6992 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
6993 | |
6994 | self = self; | |
f786a3b2 | 6995 | if(!PyArg_ParseTuple(args,"iiO:glTexGeniv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 6996 | return NULL; |
f786a3b2 HH |
6997 | if (_argo2) { |
6998 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6999 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
7000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGeniv. Expected _GLint_p."); |
7001 | return NULL; | |
7002 | } | |
7003 | } | |
7004 | { | |
7005 | wxPy_BEGIN_ALLOW_THREADS; | |
7006 | glTexGeniv(_arg0,_arg1,_arg2); | |
7007 | ||
7008 | wxPy_END_ALLOW_THREADS; | |
7009 | } Py_INCREF(Py_None); | |
7010 | _resultobj = Py_None; | |
7011 | return _resultobj; | |
7012 | } | |
7013 | ||
7014 | static PyObject *_wrap_glTexImage1D(PyObject *self, PyObject *args) { | |
7015 | PyObject * _resultobj; | |
7016 | GLenum _arg0; | |
7017 | GLint _arg1; | |
7018 | GLint _arg2; | |
7019 | GLsizei _arg3; | |
7020 | GLint _arg4; | |
7021 | GLenum _arg5; | |
7022 | GLenum _arg6; | |
7023 | GLvoid * _arg7; | |
f786a3b2 | 7024 | PyObject * _argo7 = 0; |
a29cd6c0 HH |
7025 | |
7026 | self = self; | |
f786a3b2 | 7027 | if(!PyArg_ParseTuple(args,"iiiiiiiO:glTexImage1D",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_argo7)) |
a29cd6c0 | 7028 | return NULL; |
f786a3b2 HH |
7029 | if (_argo7) { |
7030 | if (_argo7 == Py_None) { _arg7 = NULL; } | |
7031 | else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,(char *) 0 )) { | |
a29cd6c0 HH |
7032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of glTexImage1D. Expected _GLvoid_p."); |
7033 | return NULL; | |
7034 | } | |
7035 | } | |
7036 | { | |
7037 | wxPy_BEGIN_ALLOW_THREADS; | |
7038 | glTexImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
7039 | ||
7040 | wxPy_END_ALLOW_THREADS; | |
7041 | } Py_INCREF(Py_None); | |
7042 | _resultobj = Py_None; | |
7043 | return _resultobj; | |
7044 | } | |
7045 | ||
7046 | static PyObject *_wrap_glTexImage2D(PyObject *self, PyObject *args) { | |
7047 | PyObject * _resultobj; | |
7048 | GLenum _arg0; | |
7049 | GLint _arg1; | |
7050 | GLint _arg2; | |
7051 | GLsizei _arg3; | |
7052 | GLsizei _arg4; | |
7053 | GLint _arg5; | |
7054 | GLenum _arg6; | |
7055 | GLenum _arg7; | |
7056 | GLvoid * _arg8; | |
f786a3b2 | 7057 | PyObject * _argo8 = 0; |
a29cd6c0 HH |
7058 | |
7059 | self = self; | |
f786a3b2 | 7060 | if(!PyArg_ParseTuple(args,"iiiiiiiiO:glTexImage2D",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_argo8)) |
a29cd6c0 | 7061 | return NULL; |
f786a3b2 HH |
7062 | if (_argo8) { |
7063 | if (_argo8 == Py_None) { _arg8 = NULL; } | |
7064 | else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,(char *) 0 )) { | |
a29cd6c0 HH |
7065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of glTexImage2D. Expected _GLvoid_p."); |
7066 | return NULL; | |
7067 | } | |
7068 | } | |
7069 | { | |
7070 | wxPy_BEGIN_ALLOW_THREADS; | |
7071 | glTexImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8); | |
7072 | ||
7073 | wxPy_END_ALLOW_THREADS; | |
7074 | } Py_INCREF(Py_None); | |
7075 | _resultobj = Py_None; | |
7076 | return _resultobj; | |
7077 | } | |
7078 | ||
7079 | static PyObject *_wrap_glTexParameterf(PyObject *self, PyObject *args) { | |
7080 | PyObject * _resultobj; | |
7081 | GLenum _arg0; | |
7082 | GLenum _arg1; | |
7083 | GLfloat _arg2; | |
7084 | ||
7085 | self = self; | |
7086 | if(!PyArg_ParseTuple(args,"iif:glTexParameterf",&_arg0,&_arg1,&_arg2)) | |
7087 | return NULL; | |
7088 | { | |
7089 | wxPy_BEGIN_ALLOW_THREADS; | |
7090 | glTexParameterf(_arg0,_arg1,_arg2); | |
7091 | ||
7092 | wxPy_END_ALLOW_THREADS; | |
7093 | } Py_INCREF(Py_None); | |
7094 | _resultobj = Py_None; | |
7095 | return _resultobj; | |
7096 | } | |
7097 | ||
7098 | static PyObject *_wrap_glTexParameterfv(PyObject *self, PyObject *args) { | |
7099 | PyObject * _resultobj; | |
7100 | GLenum _arg0; | |
7101 | GLenum _arg1; | |
7102 | GLfloat * _arg2; | |
f786a3b2 | 7103 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
7104 | |
7105 | self = self; | |
f786a3b2 | 7106 | if(!PyArg_ParseTuple(args,"iiO:glTexParameterfv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 7107 | return NULL; |
f786a3b2 HH |
7108 | if (_argo2) { |
7109 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7110 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
a29cd6c0 HH |
7111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexParameterfv. Expected _GLfloat_p."); |
7112 | return NULL; | |
7113 | } | |
7114 | } | |
7115 | { | |
7116 | wxPy_BEGIN_ALLOW_THREADS; | |
7117 | glTexParameterfv(_arg0,_arg1,_arg2); | |
7118 | ||
7119 | wxPy_END_ALLOW_THREADS; | |
7120 | } Py_INCREF(Py_None); | |
7121 | _resultobj = Py_None; | |
7122 | return _resultobj; | |
7123 | } | |
7124 | ||
7125 | static PyObject *_wrap_glTexParameteri(PyObject *self, PyObject *args) { | |
7126 | PyObject * _resultobj; | |
7127 | GLenum _arg0; | |
7128 | GLenum _arg1; | |
7129 | GLint _arg2; | |
7130 | ||
7131 | self = self; | |
7132 | if(!PyArg_ParseTuple(args,"iii:glTexParameteri",&_arg0,&_arg1,&_arg2)) | |
7133 | return NULL; | |
7134 | { | |
7135 | wxPy_BEGIN_ALLOW_THREADS; | |
7136 | glTexParameteri(_arg0,_arg1,_arg2); | |
7137 | ||
7138 | wxPy_END_ALLOW_THREADS; | |
7139 | } Py_INCREF(Py_None); | |
7140 | _resultobj = Py_None; | |
7141 | return _resultobj; | |
7142 | } | |
7143 | ||
7144 | static PyObject *_wrap_glTexParameteriv(PyObject *self, PyObject *args) { | |
7145 | PyObject * _resultobj; | |
7146 | GLenum _arg0; | |
7147 | GLenum _arg1; | |
7148 | GLint * _arg2; | |
f786a3b2 | 7149 | PyObject * _argo2 = 0; |
a29cd6c0 HH |
7150 | |
7151 | self = self; | |
f786a3b2 | 7152 | if(!PyArg_ParseTuple(args,"iiO:glTexParameteriv",&_arg0,&_arg1,&_argo2)) |
a29cd6c0 | 7153 | return NULL; |
f786a3b2 HH |
7154 | if (_argo2) { |
7155 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7156 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
a29cd6c0 HH |
7157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexParameteriv. Expected _GLint_p."); |
7158 | return NULL; | |
7159 | } | |
7160 | } | |
7161 | { | |
7162 | wxPy_BEGIN_ALLOW_THREADS; | |
7163 | glTexParameteriv(_arg0,_arg1,_arg2); | |
7164 | ||
7165 | wxPy_END_ALLOW_THREADS; | |
7166 | } Py_INCREF(Py_None); | |
7167 | _resultobj = Py_None; | |
7168 | return _resultobj; | |
7169 | } | |
7170 | ||
7171 | static PyObject *_wrap_glTexSubImage1D(PyObject *self, PyObject *args) { | |
7172 | PyObject * _resultobj; | |
7173 | GLenum _arg0; | |
7174 | GLint _arg1; | |
7175 | GLint _arg2; | |
7176 | GLsizei _arg3; | |
7177 | GLenum _arg4; | |
7178 | GLenum _arg5; | |
7179 | GLvoid * _arg6; | |
f786a3b2 | 7180 | PyObject * _argo6 = 0; |
a29cd6c0 HH |
7181 | |
7182 | self = self; | |
f786a3b2 | 7183 | if(!PyArg_ParseTuple(args,"iiiiiiO:glTexSubImage1D",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6)) |
a29cd6c0 | 7184 | return NULL; |
f786a3b2 HH |
7185 | if (_argo6) { |
7186 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
7187 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,(char *) 0 )) { | |
a29cd6c0 HH |
7188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glTexSubImage1D. Expected _GLvoid_p."); |
7189 | return NULL; | |
7190 | } | |
7191 | } | |
7192 | { | |
7193 | wxPy_BEGIN_ALLOW_THREADS; | |
7194 | glTexSubImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7195 | ||
7196 | wxPy_END_ALLOW_THREADS; | |
7197 | } Py_INCREF(Py_None); | |
7198 | _resultobj = Py_None; | |
7199 | return _resultobj; | |
7200 | } | |
7201 | ||
7202 | static PyObject *_wrap_glTexSubImage2D(PyObject *self, PyObject *args) { | |
7203 | PyObject * _resultobj; | |
7204 | GLenum _arg0; | |
7205 | GLint _arg1; | |
7206 | GLint _arg2; | |
7207 | GLint _arg3; | |
7208 | GLsizei _arg4; | |
7209 | GLsizei _arg5; | |
7210 | GLenum _arg6; | |
7211 | GLenum _arg7; | |
7212 | GLvoid * _arg8; | |
f786a3b2 | 7213 | PyObject * _argo8 = 0; |
a29cd6c0 HH |
7214 | |
7215 | self = self; | |
f786a3b2 | 7216 | if(!PyArg_ParseTuple(args,"iiiiiiiiO:glTexSubImage2D",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_argo8)) |
a29cd6c0 | 7217 | return NULL; |
f786a3b2 HH |
7218 | if (_argo8) { |
7219 | if (_argo8 == Py_None) { _arg8 = NULL; } | |
7220 | else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,(char *) 0 )) { | |
a29cd6c0 HH |
7221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of glTexSubImage2D. Expected _GLvoid_p."); |
7222 | return NULL; | |
7223 | } | |
7224 | } | |
7225 | { | |
7226 | wxPy_BEGIN_ALLOW_THREADS; | |
7227 | glTexSubImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8); | |
7228 | ||
7229 | wxPy_END_ALLOW_THREADS; | |
7230 | } Py_INCREF(Py_None); | |
7231 | _resultobj = Py_None; | |
7232 | return _resultobj; | |
7233 | } | |
7234 | ||
7235 | static PyObject *_wrap_glTranslated(PyObject *self, PyObject *args) { | |
7236 | PyObject * _resultobj; | |
7237 | GLdouble _arg0; | |
7238 | GLdouble _arg1; | |
7239 | GLdouble _arg2; | |
7240 | ||
7241 | self = self; | |
7242 | if(!PyArg_ParseTuple(args,"ddd:glTranslated",&_arg0,&_arg1,&_arg2)) | |
7243 | return NULL; | |
7244 | { | |
7245 | wxPy_BEGIN_ALLOW_THREADS; | |
7246 | glTranslated(_arg0,_arg1,_arg2); | |
7247 | ||
7248 | wxPy_END_ALLOW_THREADS; | |
7249 | } Py_INCREF(Py_None); | |
7250 | _resultobj = Py_None; | |
7251 | return _resultobj; | |
7252 | } | |
7253 | ||
7254 | static PyObject *_wrap_glTranslatef(PyObject *self, PyObject *args) { | |
7255 | PyObject * _resultobj; | |
7256 | GLfloat _arg0; | |
7257 | GLfloat _arg1; | |
7258 | GLfloat _arg2; | |
7259 | ||
7260 | self = self; | |
7261 | if(!PyArg_ParseTuple(args,"fff:glTranslatef",&_arg0,&_arg1,&_arg2)) | |
7262 | return NULL; | |
7263 | { | |
7264 | wxPy_BEGIN_ALLOW_THREADS; | |
7265 | glTranslatef(_arg0,_arg1,_arg2); | |
7266 | ||
7267 | wxPy_END_ALLOW_THREADS; | |
7268 | } Py_INCREF(Py_None); | |
7269 | _resultobj = Py_None; | |
7270 | return _resultobj; | |
7271 | } | |
7272 | ||
7273 | static PyObject *_wrap_glVertex2d(PyObject *self, PyObject *args) { | |
7274 | PyObject * _resultobj; | |
7275 | GLdouble _arg0; | |
7276 | GLdouble _arg1; | |
7277 | ||
7278 | self = self; | |
7279 | if(!PyArg_ParseTuple(args,"dd:glVertex2d",&_arg0,&_arg1)) | |
7280 | return NULL; | |
7281 | { | |
7282 | wxPy_BEGIN_ALLOW_THREADS; | |
7283 | glVertex2d(_arg0,_arg1); | |
7284 | ||
7285 | wxPy_END_ALLOW_THREADS; | |
7286 | } Py_INCREF(Py_None); | |
7287 | _resultobj = Py_None; | |
7288 | return _resultobj; | |
7289 | } | |
7290 | ||
7291 | static PyObject *_wrap_glVertex2dv(PyObject *self, PyObject *args) { | |
7292 | PyObject * _resultobj; | |
7293 | GLdouble * _arg0; | |
f786a3b2 | 7294 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7295 | |
7296 | self = self; | |
f786a3b2 | 7297 | if(!PyArg_ParseTuple(args,"O:glVertex2dv",&_argo0)) |
a29cd6c0 | 7298 | return NULL; |
f786a3b2 HH |
7299 | if (_argo0) { |
7300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
7302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2dv. Expected _GLdouble_p."); |
7303 | return NULL; | |
7304 | } | |
7305 | } | |
7306 | { | |
7307 | wxPy_BEGIN_ALLOW_THREADS; | |
7308 | glVertex2dv(_arg0); | |
7309 | ||
7310 | wxPy_END_ALLOW_THREADS; | |
7311 | } Py_INCREF(Py_None); | |
7312 | _resultobj = Py_None; | |
7313 | return _resultobj; | |
7314 | } | |
7315 | ||
7316 | static PyObject *_wrap_glVertex2f(PyObject *self, PyObject *args) { | |
7317 | PyObject * _resultobj; | |
7318 | GLfloat _arg0; | |
7319 | GLfloat _arg1; | |
7320 | ||
7321 | self = self; | |
7322 | if(!PyArg_ParseTuple(args,"ff:glVertex2f",&_arg0,&_arg1)) | |
7323 | return NULL; | |
7324 | { | |
7325 | wxPy_BEGIN_ALLOW_THREADS; | |
7326 | glVertex2f(_arg0,_arg1); | |
7327 | ||
7328 | wxPy_END_ALLOW_THREADS; | |
7329 | } Py_INCREF(Py_None); | |
7330 | _resultobj = Py_None; | |
7331 | return _resultobj; | |
7332 | } | |
7333 | ||
7334 | static PyObject *_wrap_glVertex2fv(PyObject *self, PyObject *args) { | |
7335 | PyObject * _resultobj; | |
7336 | GLfloat * _arg0; | |
f786a3b2 | 7337 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7338 | |
7339 | self = self; | |
f786a3b2 | 7340 | if(!PyArg_ParseTuple(args,"O:glVertex2fv",&_argo0)) |
a29cd6c0 | 7341 | return NULL; |
f786a3b2 HH |
7342 | if (_argo0) { |
7343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
7345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2fv. Expected _GLfloat_p."); |
7346 | return NULL; | |
7347 | } | |
7348 | } | |
7349 | { | |
7350 | wxPy_BEGIN_ALLOW_THREADS; | |
7351 | glVertex2fv(_arg0); | |
7352 | ||
7353 | wxPy_END_ALLOW_THREADS; | |
7354 | } Py_INCREF(Py_None); | |
7355 | _resultobj = Py_None; | |
7356 | return _resultobj; | |
7357 | } | |
7358 | ||
7359 | static PyObject *_wrap_glVertex2i(PyObject *self, PyObject *args) { | |
7360 | PyObject * _resultobj; | |
7361 | GLint _arg0; | |
7362 | GLint _arg1; | |
7363 | ||
7364 | self = self; | |
7365 | if(!PyArg_ParseTuple(args,"ii:glVertex2i",&_arg0,&_arg1)) | |
7366 | return NULL; | |
7367 | { | |
7368 | wxPy_BEGIN_ALLOW_THREADS; | |
7369 | glVertex2i(_arg0,_arg1); | |
7370 | ||
7371 | wxPy_END_ALLOW_THREADS; | |
7372 | } Py_INCREF(Py_None); | |
7373 | _resultobj = Py_None; | |
7374 | return _resultobj; | |
7375 | } | |
7376 | ||
7377 | static PyObject *_wrap_glVertex2iv(PyObject *self, PyObject *args) { | |
7378 | PyObject * _resultobj; | |
7379 | GLint * _arg0; | |
f786a3b2 | 7380 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7381 | |
7382 | self = self; | |
f786a3b2 | 7383 | if(!PyArg_ParseTuple(args,"O:glVertex2iv",&_argo0)) |
a29cd6c0 | 7384 | return NULL; |
f786a3b2 HH |
7385 | if (_argo0) { |
7386 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7387 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
7388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2iv. Expected _GLint_p."); |
7389 | return NULL; | |
7390 | } | |
7391 | } | |
7392 | { | |
7393 | wxPy_BEGIN_ALLOW_THREADS; | |
7394 | glVertex2iv(_arg0); | |
7395 | ||
7396 | wxPy_END_ALLOW_THREADS; | |
7397 | } Py_INCREF(Py_None); | |
7398 | _resultobj = Py_None; | |
7399 | return _resultobj; | |
7400 | } | |
7401 | ||
7402 | static PyObject *_wrap_glVertex2s(PyObject *self, PyObject *args) { | |
7403 | PyObject * _resultobj; | |
7404 | GLshort _arg0; | |
7405 | GLshort _arg1; | |
7406 | ||
7407 | self = self; | |
7408 | if(!PyArg_ParseTuple(args,"hh:glVertex2s",&_arg0,&_arg1)) | |
7409 | return NULL; | |
7410 | { | |
7411 | wxPy_BEGIN_ALLOW_THREADS; | |
7412 | glVertex2s(_arg0,_arg1); | |
7413 | ||
7414 | wxPy_END_ALLOW_THREADS; | |
7415 | } Py_INCREF(Py_None); | |
7416 | _resultobj = Py_None; | |
7417 | return _resultobj; | |
7418 | } | |
7419 | ||
7420 | static PyObject *_wrap_glVertex2sv(PyObject *self, PyObject *args) { | |
7421 | PyObject * _resultobj; | |
7422 | GLshort * _arg0; | |
f786a3b2 | 7423 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7424 | |
7425 | self = self; | |
f786a3b2 | 7426 | if(!PyArg_ParseTuple(args,"O:glVertex2sv",&_argo0)) |
a29cd6c0 | 7427 | return NULL; |
f786a3b2 HH |
7428 | if (_argo0) { |
7429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
7431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2sv. Expected _GLshort_p."); |
7432 | return NULL; | |
7433 | } | |
7434 | } | |
7435 | { | |
7436 | wxPy_BEGIN_ALLOW_THREADS; | |
7437 | glVertex2sv(_arg0); | |
7438 | ||
7439 | wxPy_END_ALLOW_THREADS; | |
7440 | } Py_INCREF(Py_None); | |
7441 | _resultobj = Py_None; | |
7442 | return _resultobj; | |
7443 | } | |
7444 | ||
7445 | static PyObject *_wrap_glVertex3d(PyObject *self, PyObject *args) { | |
7446 | PyObject * _resultobj; | |
7447 | GLdouble _arg0; | |
7448 | GLdouble _arg1; | |
7449 | GLdouble _arg2; | |
7450 | ||
7451 | self = self; | |
7452 | if(!PyArg_ParseTuple(args,"ddd:glVertex3d",&_arg0,&_arg1,&_arg2)) | |
7453 | return NULL; | |
7454 | { | |
7455 | wxPy_BEGIN_ALLOW_THREADS; | |
7456 | glVertex3d(_arg0,_arg1,_arg2); | |
7457 | ||
7458 | wxPy_END_ALLOW_THREADS; | |
7459 | } Py_INCREF(Py_None); | |
7460 | _resultobj = Py_None; | |
7461 | return _resultobj; | |
7462 | } | |
7463 | ||
7464 | static PyObject *_wrap_glVertex3dv(PyObject *self, PyObject *args) { | |
7465 | PyObject * _resultobj; | |
7466 | GLdouble * _arg0; | |
f786a3b2 | 7467 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7468 | |
7469 | self = self; | |
f786a3b2 | 7470 | if(!PyArg_ParseTuple(args,"O:glVertex3dv",&_argo0)) |
a29cd6c0 | 7471 | return NULL; |
f786a3b2 HH |
7472 | if (_argo0) { |
7473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
7475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3dv. Expected _GLdouble_p."); |
7476 | return NULL; | |
7477 | } | |
7478 | } | |
7479 | { | |
7480 | wxPy_BEGIN_ALLOW_THREADS; | |
7481 | glVertex3dv(_arg0); | |
7482 | ||
7483 | wxPy_END_ALLOW_THREADS; | |
7484 | } Py_INCREF(Py_None); | |
7485 | _resultobj = Py_None; | |
7486 | return _resultobj; | |
7487 | } | |
7488 | ||
7489 | static PyObject *_wrap_glVertex3f(PyObject *self, PyObject *args) { | |
7490 | PyObject * _resultobj; | |
7491 | GLfloat _arg0; | |
7492 | GLfloat _arg1; | |
7493 | GLfloat _arg2; | |
7494 | ||
7495 | self = self; | |
7496 | if(!PyArg_ParseTuple(args,"fff:glVertex3f",&_arg0,&_arg1,&_arg2)) | |
7497 | return NULL; | |
7498 | { | |
7499 | wxPy_BEGIN_ALLOW_THREADS; | |
7500 | glVertex3f(_arg0,_arg1,_arg2); | |
7501 | ||
7502 | wxPy_END_ALLOW_THREADS; | |
7503 | } Py_INCREF(Py_None); | |
7504 | _resultobj = Py_None; | |
7505 | return _resultobj; | |
7506 | } | |
7507 | ||
7508 | static PyObject *_wrap_glVertex3fv(PyObject *self, PyObject *args) { | |
7509 | PyObject * _resultobj; | |
7510 | GLfloat * _arg0; | |
f786a3b2 | 7511 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7512 | |
7513 | self = self; | |
f786a3b2 | 7514 | if(!PyArg_ParseTuple(args,"O:glVertex3fv",&_argo0)) |
a29cd6c0 | 7515 | return NULL; |
f786a3b2 HH |
7516 | if (_argo0) { |
7517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
7519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3fv. Expected _GLfloat_p."); |
7520 | return NULL; | |
7521 | } | |
7522 | } | |
7523 | { | |
7524 | wxPy_BEGIN_ALLOW_THREADS; | |
7525 | glVertex3fv(_arg0); | |
7526 | ||
7527 | wxPy_END_ALLOW_THREADS; | |
7528 | } Py_INCREF(Py_None); | |
7529 | _resultobj = Py_None; | |
7530 | return _resultobj; | |
7531 | } | |
7532 | ||
7533 | static PyObject *_wrap_glVertex3i(PyObject *self, PyObject *args) { | |
7534 | PyObject * _resultobj; | |
7535 | GLint _arg0; | |
7536 | GLint _arg1; | |
7537 | GLint _arg2; | |
7538 | ||
7539 | self = self; | |
7540 | if(!PyArg_ParseTuple(args,"iii:glVertex3i",&_arg0,&_arg1,&_arg2)) | |
7541 | return NULL; | |
7542 | { | |
7543 | wxPy_BEGIN_ALLOW_THREADS; | |
7544 | glVertex3i(_arg0,_arg1,_arg2); | |
7545 | ||
7546 | wxPy_END_ALLOW_THREADS; | |
7547 | } Py_INCREF(Py_None); | |
7548 | _resultobj = Py_None; | |
7549 | return _resultobj; | |
7550 | } | |
7551 | ||
7552 | static PyObject *_wrap_glVertex3iv(PyObject *self, PyObject *args) { | |
7553 | PyObject * _resultobj; | |
7554 | GLint * _arg0; | |
f786a3b2 | 7555 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7556 | |
7557 | self = self; | |
f786a3b2 | 7558 | if(!PyArg_ParseTuple(args,"O:glVertex3iv",&_argo0)) |
a29cd6c0 | 7559 | return NULL; |
f786a3b2 HH |
7560 | if (_argo0) { |
7561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
7563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3iv. Expected _GLint_p."); |
7564 | return NULL; | |
7565 | } | |
7566 | } | |
7567 | { | |
7568 | wxPy_BEGIN_ALLOW_THREADS; | |
7569 | glVertex3iv(_arg0); | |
7570 | ||
7571 | wxPy_END_ALLOW_THREADS; | |
7572 | } Py_INCREF(Py_None); | |
7573 | _resultobj = Py_None; | |
7574 | return _resultobj; | |
7575 | } | |
7576 | ||
7577 | static PyObject *_wrap_glVertex3s(PyObject *self, PyObject *args) { | |
7578 | PyObject * _resultobj; | |
7579 | GLshort _arg0; | |
7580 | GLshort _arg1; | |
7581 | GLshort _arg2; | |
7582 | ||
7583 | self = self; | |
7584 | if(!PyArg_ParseTuple(args,"hhh:glVertex3s",&_arg0,&_arg1,&_arg2)) | |
7585 | return NULL; | |
7586 | { | |
7587 | wxPy_BEGIN_ALLOW_THREADS; | |
7588 | glVertex3s(_arg0,_arg1,_arg2); | |
7589 | ||
7590 | wxPy_END_ALLOW_THREADS; | |
7591 | } Py_INCREF(Py_None); | |
7592 | _resultobj = Py_None; | |
7593 | return _resultobj; | |
7594 | } | |
7595 | ||
7596 | static PyObject *_wrap_glVertex3sv(PyObject *self, PyObject *args) { | |
7597 | PyObject * _resultobj; | |
7598 | GLshort * _arg0; | |
f786a3b2 | 7599 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7600 | |
7601 | self = self; | |
f786a3b2 | 7602 | if(!PyArg_ParseTuple(args,"O:glVertex3sv",&_argo0)) |
a29cd6c0 | 7603 | return NULL; |
f786a3b2 HH |
7604 | if (_argo0) { |
7605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
7607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3sv. Expected _GLshort_p."); |
7608 | return NULL; | |
7609 | } | |
7610 | } | |
7611 | { | |
7612 | wxPy_BEGIN_ALLOW_THREADS; | |
7613 | glVertex3sv(_arg0); | |
7614 | ||
7615 | wxPy_END_ALLOW_THREADS; | |
7616 | } Py_INCREF(Py_None); | |
7617 | _resultobj = Py_None; | |
7618 | return _resultobj; | |
7619 | } | |
7620 | ||
7621 | static PyObject *_wrap_glVertex4d(PyObject *self, PyObject *args) { | |
7622 | PyObject * _resultobj; | |
7623 | GLdouble _arg0; | |
7624 | GLdouble _arg1; | |
7625 | GLdouble _arg2; | |
7626 | GLdouble _arg3; | |
7627 | ||
7628 | self = self; | |
7629 | if(!PyArg_ParseTuple(args,"dddd:glVertex4d",&_arg0,&_arg1,&_arg2,&_arg3)) | |
7630 | return NULL; | |
7631 | { | |
7632 | wxPy_BEGIN_ALLOW_THREADS; | |
7633 | glVertex4d(_arg0,_arg1,_arg2,_arg3); | |
7634 | ||
7635 | wxPy_END_ALLOW_THREADS; | |
7636 | } Py_INCREF(Py_None); | |
7637 | _resultobj = Py_None; | |
7638 | return _resultobj; | |
7639 | } | |
7640 | ||
7641 | static PyObject *_wrap_glVertex4dv(PyObject *self, PyObject *args) { | |
7642 | PyObject * _resultobj; | |
7643 | GLdouble * _arg0; | |
f786a3b2 | 7644 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7645 | |
7646 | self = self; | |
f786a3b2 | 7647 | if(!PyArg_ParseTuple(args,"O:glVertex4dv",&_argo0)) |
a29cd6c0 | 7648 | return NULL; |
f786a3b2 HH |
7649 | if (_argo0) { |
7650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
a29cd6c0 HH |
7652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4dv. Expected _GLdouble_p."); |
7653 | return NULL; | |
7654 | } | |
7655 | } | |
7656 | { | |
7657 | wxPy_BEGIN_ALLOW_THREADS; | |
7658 | glVertex4dv(_arg0); | |
7659 | ||
7660 | wxPy_END_ALLOW_THREADS; | |
7661 | } Py_INCREF(Py_None); | |
7662 | _resultobj = Py_None; | |
7663 | return _resultobj; | |
7664 | } | |
7665 | ||
7666 | static PyObject *_wrap_glVertex4f(PyObject *self, PyObject *args) { | |
7667 | PyObject * _resultobj; | |
7668 | GLfloat _arg0; | |
7669 | GLfloat _arg1; | |
7670 | GLfloat _arg2; | |
7671 | GLfloat _arg3; | |
7672 | ||
7673 | self = self; | |
7674 | if(!PyArg_ParseTuple(args,"ffff:glVertex4f",&_arg0,&_arg1,&_arg2,&_arg3)) | |
7675 | return NULL; | |
7676 | { | |
7677 | wxPy_BEGIN_ALLOW_THREADS; | |
7678 | glVertex4f(_arg0,_arg1,_arg2,_arg3); | |
7679 | ||
7680 | wxPy_END_ALLOW_THREADS; | |
7681 | } Py_INCREF(Py_None); | |
7682 | _resultobj = Py_None; | |
7683 | return _resultobj; | |
7684 | } | |
7685 | ||
7686 | static PyObject *_wrap_glVertex4fv(PyObject *self, PyObject *args) { | |
7687 | PyObject * _resultobj; | |
7688 | GLfloat * _arg0; | |
f786a3b2 | 7689 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7690 | |
7691 | self = self; | |
f786a3b2 | 7692 | if(!PyArg_ParseTuple(args,"O:glVertex4fv",&_argo0)) |
a29cd6c0 | 7693 | return NULL; |
f786a3b2 HH |
7694 | if (_argo0) { |
7695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
a29cd6c0 HH |
7697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4fv. Expected _GLfloat_p."); |
7698 | return NULL; | |
7699 | } | |
7700 | } | |
7701 | { | |
7702 | wxPy_BEGIN_ALLOW_THREADS; | |
7703 | glVertex4fv(_arg0); | |
7704 | ||
7705 | wxPy_END_ALLOW_THREADS; | |
7706 | } Py_INCREF(Py_None); | |
7707 | _resultobj = Py_None; | |
7708 | return _resultobj; | |
7709 | } | |
7710 | ||
7711 | static PyObject *_wrap_glVertex4i(PyObject *self, PyObject *args) { | |
7712 | PyObject * _resultobj; | |
7713 | GLint _arg0; | |
7714 | GLint _arg1; | |
7715 | GLint _arg2; | |
7716 | GLint _arg3; | |
7717 | ||
7718 | self = self; | |
7719 | if(!PyArg_ParseTuple(args,"iiii:glVertex4i",&_arg0,&_arg1,&_arg2,&_arg3)) | |
7720 | return NULL; | |
7721 | { | |
7722 | wxPy_BEGIN_ALLOW_THREADS; | |
7723 | glVertex4i(_arg0,_arg1,_arg2,_arg3); | |
7724 | ||
7725 | wxPy_END_ALLOW_THREADS; | |
7726 | } Py_INCREF(Py_None); | |
7727 | _resultobj = Py_None; | |
7728 | return _resultobj; | |
7729 | } | |
7730 | ||
7731 | static PyObject *_wrap_glVertex4iv(PyObject *self, PyObject *args) { | |
7732 | PyObject * _resultobj; | |
7733 | GLint * _arg0; | |
f786a3b2 | 7734 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7735 | |
7736 | self = self; | |
f786a3b2 | 7737 | if(!PyArg_ParseTuple(args,"O:glVertex4iv",&_argo0)) |
a29cd6c0 | 7738 | return NULL; |
f786a3b2 HH |
7739 | if (_argo0) { |
7740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
a29cd6c0 HH |
7742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4iv. Expected _GLint_p."); |
7743 | return NULL; | |
7744 | } | |
7745 | } | |
7746 | { | |
7747 | wxPy_BEGIN_ALLOW_THREADS; | |
7748 | glVertex4iv(_arg0); | |
7749 | ||
7750 | wxPy_END_ALLOW_THREADS; | |
7751 | } Py_INCREF(Py_None); | |
7752 | _resultobj = Py_None; | |
7753 | return _resultobj; | |
7754 | } | |
7755 | ||
7756 | static PyObject *_wrap_glVertex4s(PyObject *self, PyObject *args) { | |
7757 | PyObject * _resultobj; | |
7758 | GLshort _arg0; | |
7759 | GLshort _arg1; | |
7760 | GLshort _arg2; | |
7761 | GLshort _arg3; | |
7762 | ||
7763 | self = self; | |
7764 | if(!PyArg_ParseTuple(args,"hhhh:glVertex4s",&_arg0,&_arg1,&_arg2,&_arg3)) | |
7765 | return NULL; | |
7766 | { | |
7767 | wxPy_BEGIN_ALLOW_THREADS; | |
7768 | glVertex4s(_arg0,_arg1,_arg2,_arg3); | |
7769 | ||
7770 | wxPy_END_ALLOW_THREADS; | |
7771 | } Py_INCREF(Py_None); | |
7772 | _resultobj = Py_None; | |
7773 | return _resultobj; | |
7774 | } | |
7775 | ||
7776 | static PyObject *_wrap_glVertex4sv(PyObject *self, PyObject *args) { | |
7777 | PyObject * _resultobj; | |
7778 | GLshort * _arg0; | |
f786a3b2 | 7779 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7780 | |
7781 | self = self; | |
f786a3b2 | 7782 | if(!PyArg_ParseTuple(args,"O:glVertex4sv",&_argo0)) |
a29cd6c0 | 7783 | return NULL; |
f786a3b2 HH |
7784 | if (_argo0) { |
7785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
a29cd6c0 HH |
7787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4sv. Expected _GLshort_p."); |
7788 | return NULL; | |
7789 | } | |
7790 | } | |
7791 | { | |
7792 | wxPy_BEGIN_ALLOW_THREADS; | |
7793 | glVertex4sv(_arg0); | |
7794 | ||
7795 | wxPy_END_ALLOW_THREADS; | |
7796 | } Py_INCREF(Py_None); | |
7797 | _resultobj = Py_None; | |
7798 | return _resultobj; | |
7799 | } | |
7800 | ||
7801 | static PyObject *_wrap_glVertexPointer(PyObject *self, PyObject *args) { | |
7802 | PyObject * _resultobj; | |
7803 | GLint _arg0; | |
7804 | GLenum _arg1; | |
7805 | GLsizei _arg2; | |
7806 | GLvoid * _arg3; | |
f786a3b2 | 7807 | PyObject * _argo3 = 0; |
a29cd6c0 HH |
7808 | |
7809 | self = self; | |
f786a3b2 | 7810 | if(!PyArg_ParseTuple(args,"iiiO:glVertexPointer",&_arg0,&_arg1,&_arg2,&_argo3)) |
a29cd6c0 | 7811 | return NULL; |
f786a3b2 HH |
7812 | if (_argo3) { |
7813 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
7814 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
a29cd6c0 HH |
7815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glVertexPointer. Expected _GLvoid_p."); |
7816 | return NULL; | |
7817 | } | |
7818 | } | |
7819 | { | |
7820 | wxPy_BEGIN_ALLOW_THREADS; | |
7821 | glVertexPointer(_arg0,_arg1,_arg2,_arg3); | |
7822 | ||
7823 | wxPy_END_ALLOW_THREADS; | |
7824 | } Py_INCREF(Py_None); | |
7825 | _resultobj = Py_None; | |
7826 | return _resultobj; | |
7827 | } | |
7828 | ||
7829 | static PyObject *_wrap_glViewport(PyObject *self, PyObject *args) { | |
7830 | PyObject * _resultobj; | |
7831 | GLint _arg0; | |
7832 | GLint _arg1; | |
7833 | GLsizei _arg2; | |
7834 | GLsizei _arg3; | |
7835 | ||
7836 | self = self; | |
7837 | if(!PyArg_ParseTuple(args,"iiii:glViewport",&_arg0,&_arg1,&_arg2,&_arg3)) | |
7838 | return NULL; | |
7839 | { | |
7840 | wxPy_BEGIN_ALLOW_THREADS; | |
7841 | glViewport(_arg0,_arg1,_arg2,_arg3); | |
7842 | ||
7843 | wxPy_END_ALLOW_THREADS; | |
7844 | } Py_INCREF(Py_None); | |
7845 | _resultobj = Py_None; | |
7846 | return _resultobj; | |
7847 | } | |
7848 | ||
7849 | #define new_wxGLContext(_swigarg0,_swigarg1,_swigarg2) (new wxGLContext(_swigarg0,_swigarg1,_swigarg2)) | |
7850 | static PyObject *_wrap_new_wxGLContext(PyObject *self, PyObject *args) { | |
7851 | PyObject * _resultobj; | |
7852 | wxGLContext * _result; | |
7853 | bool _arg0; | |
7854 | wxGLCanvas * _arg1; | |
f786a3b2 | 7855 | wxPalette * _arg2 = (wxPalette *) &wxNullPalette; |
a29cd6c0 | 7856 | int tempbool0; |
f786a3b2 HH |
7857 | PyObject * _argo1 = 0; |
7858 | PyObject * _argo2 = 0; | |
a29cd6c0 HH |
7859 | char _ptemp[128]; |
7860 | ||
7861 | self = self; | |
f786a3b2 | 7862 | if(!PyArg_ParseTuple(args,"iO|O:new_wxGLContext",&tempbool0,&_argo1,&_argo2)) |
a29cd6c0 HH |
7863 | return NULL; |
7864 | _arg0 = (bool ) tempbool0; | |
f786a3b2 HH |
7865 | if (_argo1) { |
7866 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7867 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGLCanvas_p")) { | |
a29cd6c0 HH |
7868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxGLContext. Expected _wxGLCanvas_p."); |
7869 | return NULL; | |
7870 | } | |
7871 | } | |
f786a3b2 HH |
7872 | if (_argo2) { |
7873 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7874 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPalette_p")) { | |
a29cd6c0 HH |
7875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGLContext. Expected _wxPalette_p."); |
7876 | return NULL; | |
7877 | } | |
7878 | } | |
7879 | { | |
7880 | wxPy_BEGIN_ALLOW_THREADS; | |
7881 | _result = (wxGLContext *)new_wxGLContext(_arg0,_arg1,*_arg2); | |
7882 | ||
7883 | wxPy_END_ALLOW_THREADS; | |
f786a3b2 HH |
7884 | } if (_result) { |
7885 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLContext_p"); | |
7886 | _resultobj = Py_BuildValue("s",_ptemp); | |
7887 | } else { | |
7888 | Py_INCREF(Py_None); | |
7889 | _resultobj = Py_None; | |
7890 | } | |
a29cd6c0 HH |
7891 | return _resultobj; |
7892 | } | |
7893 | ||
7894 | #define delete_wxGLContext(_swigobj) (delete _swigobj) | |
7895 | static PyObject *_wrap_delete_wxGLContext(PyObject *self, PyObject *args) { | |
7896 | PyObject * _resultobj; | |
7897 | wxGLContext * _arg0; | |
f786a3b2 | 7898 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7899 | |
7900 | self = self; | |
f786a3b2 | 7901 | if(!PyArg_ParseTuple(args,"O:delete_wxGLContext",&_argo0)) |
a29cd6c0 | 7902 | return NULL; |
f786a3b2 HH |
7903 | if (_argo0) { |
7904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
7906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGLContext. Expected _wxGLContext_p."); |
7907 | return NULL; | |
7908 | } | |
7909 | } | |
7910 | { | |
7911 | wxPy_BEGIN_ALLOW_THREADS; | |
7912 | delete_wxGLContext(_arg0); | |
7913 | ||
7914 | wxPy_END_ALLOW_THREADS; | |
7915 | } Py_INCREF(Py_None); | |
7916 | _resultobj = Py_None; | |
7917 | return _resultobj; | |
7918 | } | |
7919 | ||
7920 | #define wxGLContext_SetCurrent(_swigobj) (_swigobj->SetCurrent()) | |
7921 | static PyObject *_wrap_wxGLContext_SetCurrent(PyObject *self, PyObject *args) { | |
7922 | PyObject * _resultobj; | |
7923 | wxGLContext * _arg0; | |
f786a3b2 | 7924 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7925 | |
7926 | self = self; | |
f786a3b2 | 7927 | if(!PyArg_ParseTuple(args,"O:wxGLContext_SetCurrent",&_argo0)) |
a29cd6c0 | 7928 | return NULL; |
f786a3b2 HH |
7929 | if (_argo0) { |
7930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
7932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetCurrent. Expected _wxGLContext_p."); |
7933 | return NULL; | |
7934 | } | |
7935 | } | |
7936 | { | |
7937 | wxPy_BEGIN_ALLOW_THREADS; | |
7938 | wxGLContext_SetCurrent(_arg0); | |
7939 | ||
7940 | wxPy_END_ALLOW_THREADS; | |
7941 | } Py_INCREF(Py_None); | |
7942 | _resultobj = Py_None; | |
7943 | return _resultobj; | |
7944 | } | |
7945 | ||
7946 | #define wxGLContext_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
7947 | static PyObject *_wrap_wxGLContext_SetColour(PyObject *self, PyObject *args) { | |
7948 | PyObject * _resultobj; | |
7949 | wxGLContext * _arg0; | |
7950 | char * _arg1; | |
f786a3b2 | 7951 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7952 | |
7953 | self = self; | |
f786a3b2 | 7954 | if(!PyArg_ParseTuple(args,"Os:wxGLContext_SetColour",&_argo0,&_arg1)) |
a29cd6c0 | 7955 | return NULL; |
f786a3b2 HH |
7956 | if (_argo0) { |
7957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
7959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetColour. Expected _wxGLContext_p."); |
7960 | return NULL; | |
7961 | } | |
7962 | } | |
7963 | { | |
7964 | wxPy_BEGIN_ALLOW_THREADS; | |
7965 | wxGLContext_SetColour(_arg0,_arg1); | |
7966 | ||
7967 | wxPy_END_ALLOW_THREADS; | |
7968 | } Py_INCREF(Py_None); | |
7969 | _resultobj = Py_None; | |
7970 | return _resultobj; | |
7971 | } | |
7972 | ||
7973 | #define wxGLContext_SwapBuffers(_swigobj) (_swigobj->SwapBuffers()) | |
7974 | static PyObject *_wrap_wxGLContext_SwapBuffers(PyObject *self, PyObject *args) { | |
7975 | PyObject * _resultobj; | |
7976 | wxGLContext * _arg0; | |
f786a3b2 | 7977 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
7978 | |
7979 | self = self; | |
f786a3b2 | 7980 | if(!PyArg_ParseTuple(args,"O:wxGLContext_SwapBuffers",&_argo0)) |
a29cd6c0 | 7981 | return NULL; |
f786a3b2 HH |
7982 | if (_argo0) { |
7983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
7985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SwapBuffers. Expected _wxGLContext_p."); |
7986 | return NULL; | |
7987 | } | |
7988 | } | |
7989 | { | |
7990 | wxPy_BEGIN_ALLOW_THREADS; | |
7991 | wxGLContext_SwapBuffers(_arg0); | |
7992 | ||
7993 | wxPy_END_ALLOW_THREADS; | |
7994 | } Py_INCREF(Py_None); | |
7995 | _resultobj = Py_None; | |
7996 | return _resultobj; | |
7997 | } | |
7998 | ||
7999 | #define wxGLContext_SetupPixelFormat(_swigobj) (_swigobj->SetupPixelFormat()) | |
8000 | static PyObject *_wrap_wxGLContext_SetupPixelFormat(PyObject *self, PyObject *args) { | |
8001 | PyObject * _resultobj; | |
8002 | wxGLContext * _arg0; | |
f786a3b2 | 8003 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
8004 | |
8005 | self = self; | |
f786a3b2 | 8006 | if(!PyArg_ParseTuple(args,"O:wxGLContext_SetupPixelFormat",&_argo0)) |
a29cd6c0 | 8007 | return NULL; |
f786a3b2 HH |
8008 | if (_argo0) { |
8009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
8011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetupPixelFormat. Expected _wxGLContext_p."); |
8012 | return NULL; | |
8013 | } | |
8014 | } | |
8015 | { | |
8016 | wxPy_BEGIN_ALLOW_THREADS; | |
8017 | wxGLContext_SetupPixelFormat(_arg0); | |
8018 | ||
8019 | wxPy_END_ALLOW_THREADS; | |
8020 | } Py_INCREF(Py_None); | |
8021 | _resultobj = Py_None; | |
8022 | return _resultobj; | |
8023 | } | |
8024 | ||
8025 | #define wxGLContext_SetupPalette(_swigobj,_swigarg0) (_swigobj->SetupPalette(_swigarg0)) | |
8026 | static PyObject *_wrap_wxGLContext_SetupPalette(PyObject *self, PyObject *args) { | |
8027 | PyObject * _resultobj; | |
8028 | wxGLContext * _arg0; | |
8029 | wxPalette * _arg1; | |
f786a3b2 HH |
8030 | PyObject * _argo0 = 0; |
8031 | PyObject * _argo1 = 0; | |
a29cd6c0 HH |
8032 | |
8033 | self = self; | |
f786a3b2 | 8034 | if(!PyArg_ParseTuple(args,"OO:wxGLContext_SetupPalette",&_argo0,&_argo1)) |
a29cd6c0 | 8035 | return NULL; |
f786a3b2 HH |
8036 | if (_argo0) { |
8037 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8038 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
8039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetupPalette. Expected _wxGLContext_p."); |
8040 | return NULL; | |
8041 | } | |
8042 | } | |
f786a3b2 HH |
8043 | if (_argo1) { |
8044 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8045 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) { | |
a29cd6c0 HH |
8046 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGLContext_SetupPalette. Expected _wxPalette_p."); |
8047 | return NULL; | |
8048 | } | |
8049 | } | |
8050 | { | |
8051 | wxPy_BEGIN_ALLOW_THREADS; | |
8052 | wxGLContext_SetupPalette(_arg0,*_arg1); | |
8053 | ||
8054 | wxPy_END_ALLOW_THREADS; | |
8055 | } Py_INCREF(Py_None); | |
8056 | _resultobj = Py_None; | |
8057 | return _resultobj; | |
8058 | } | |
8059 | ||
8060 | #define wxGLContext_CreateDefaultPalette(_swigobj) (_swigobj->CreateDefaultPalette()) | |
8061 | static PyObject *_wrap_wxGLContext_CreateDefaultPalette(PyObject *self, PyObject *args) { | |
8062 | PyObject * _resultobj; | |
8063 | wxPalette * _result; | |
8064 | wxGLContext * _arg0; | |
f786a3b2 | 8065 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
8066 | char _ptemp[128]; |
8067 | ||
8068 | self = self; | |
f786a3b2 | 8069 | if(!PyArg_ParseTuple(args,"O:wxGLContext_CreateDefaultPalette",&_argo0)) |
a29cd6c0 | 8070 | return NULL; |
f786a3b2 HH |
8071 | if (_argo0) { |
8072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
8074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_CreateDefaultPalette. Expected _wxGLContext_p."); |
8075 | return NULL; | |
8076 | } | |
8077 | } | |
8078 | { | |
8079 | wxPy_BEGIN_ALLOW_THREADS; | |
8080 | _result = new wxPalette (wxGLContext_CreateDefaultPalette(_arg0)); | |
8081 | ||
8082 | wxPy_END_ALLOW_THREADS; | |
8083 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPalette_p"); | |
8084 | _resultobj = Py_BuildValue("s",_ptemp); | |
8085 | return _resultobj; | |
8086 | } | |
8087 | ||
8088 | #define wxGLContext_GetPalette(_swigobj) (_swigobj->GetPalette()) | |
8089 | static PyObject *_wrap_wxGLContext_GetPalette(PyObject *self, PyObject *args) { | |
8090 | PyObject * _resultobj; | |
8091 | wxPalette * _result; | |
8092 | wxGLContext * _arg0; | |
f786a3b2 | 8093 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
8094 | char _ptemp[128]; |
8095 | ||
8096 | self = self; | |
f786a3b2 | 8097 | if(!PyArg_ParseTuple(args,"O:wxGLContext_GetPalette",&_argo0)) |
a29cd6c0 | 8098 | return NULL; |
f786a3b2 HH |
8099 | if (_argo0) { |
8100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
8102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_GetPalette. Expected _wxGLContext_p."); |
8103 | return NULL; | |
8104 | } | |
8105 | } | |
8106 | { | |
8107 | wxPy_BEGIN_ALLOW_THREADS; | |
8108 | _result = (wxPalette *)wxGLContext_GetPalette(_arg0); | |
8109 | ||
8110 | wxPy_END_ALLOW_THREADS; | |
f786a3b2 HH |
8111 | } if (_result) { |
8112 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p"); | |
8113 | _resultobj = Py_BuildValue("s",_ptemp); | |
8114 | } else { | |
8115 | Py_INCREF(Py_None); | |
8116 | _resultobj = Py_None; | |
8117 | } | |
a29cd6c0 HH |
8118 | return _resultobj; |
8119 | } | |
8120 | ||
8121 | #define wxGLContext_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
8122 | static PyObject *_wrap_wxGLContext_GetWindow(PyObject *self, PyObject *args) { | |
8123 | PyObject * _resultobj; | |
8124 | wxWindow * _result; | |
8125 | wxGLContext * _arg0; | |
f786a3b2 | 8126 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
8127 | char _ptemp[128]; |
8128 | ||
8129 | self = self; | |
f786a3b2 | 8130 | if(!PyArg_ParseTuple(args,"O:wxGLContext_GetWindow",&_argo0)) |
a29cd6c0 | 8131 | return NULL; |
f786a3b2 HH |
8132 | if (_argo0) { |
8133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
a29cd6c0 HH |
8135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_GetWindow. Expected _wxGLContext_p."); |
8136 | return NULL; | |
8137 | } | |
8138 | } | |
8139 | { | |
8140 | wxPy_BEGIN_ALLOW_THREADS; | |
8141 | _result = (wxWindow *)wxGLContext_GetWindow(_arg0); | |
8142 | ||
8143 | wxPy_END_ALLOW_THREADS; | |
f786a3b2 HH |
8144 | } if (_result) { |
8145 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
8146 | _resultobj = Py_BuildValue("s",_ptemp); | |
8147 | } else { | |
8148 | Py_INCREF(Py_None); | |
8149 | _resultobj = Py_None; | |
8150 | } | |
a29cd6c0 HH |
8151 | return _resultobj; |
8152 | } | |
8153 | ||
8154 | static void *SwigwxGLCanvasTowxScrolledWindow(void *ptr) { | |
8155 | wxGLCanvas *src; | |
8156 | wxScrolledWindow *dest; | |
8157 | src = (wxGLCanvas *) ptr; | |
8158 | dest = (wxScrolledWindow *) src; | |
8159 | return (void *) dest; | |
8160 | } | |
8161 | ||
8162 | static void *SwigwxGLCanvasTowxPanel(void *ptr) { | |
8163 | wxGLCanvas *src; | |
8164 | wxPanel *dest; | |
8165 | src = (wxGLCanvas *) ptr; | |
8166 | dest = (wxPanel *) src; | |
8167 | return (void *) dest; | |
8168 | } | |
8169 | ||
8170 | static void *SwigwxGLCanvasTowxWindow(void *ptr) { | |
8171 | wxGLCanvas *src; | |
8172 | wxWindow *dest; | |
8173 | src = (wxGLCanvas *) ptr; | |
8174 | dest = (wxWindow *) src; | |
8175 | return (void *) dest; | |
8176 | } | |
8177 | ||
8178 | static void *SwigwxGLCanvasTowxEvtHandler(void *ptr) { | |
8179 | wxGLCanvas *src; | |
8180 | wxEvtHandler *dest; | |
8181 | src = (wxGLCanvas *) ptr; | |
8182 | dest = (wxEvtHandler *) src; | |
8183 | return (void *) dest; | |
8184 | } | |
8185 | ||
8186 | #define new_wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) | |
8187 | static PyObject *_wrap_new_wxGLCanvas(PyObject *self, PyObject *args) { | |
8188 | PyObject * _resultobj; | |
8189 | wxGLCanvas * _result; | |
8190 | wxWindow * _arg0; | |
f786a3b2 HH |
8191 | wxWindowID _arg1 = (wxWindowID ) -1; |
8192 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
8193 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
8194 | long _arg4 = (long ) 0; | |
8195 | char * _arg5 = (char *) "GLCanvas"; | |
8196 | int * _arg6 = (int *) 0; | |
8197 | wxPalette * _arg7 = (wxPalette *) &wxNullPalette; | |
8198 | PyObject * _argo0 = 0; | |
8199 | PyObject * _argo2 = 0; | |
8200 | PyObject * _argo3 = 0; | |
8201 | PyObject * _argo6 = 0; | |
8202 | PyObject * _argo7 = 0; | |
a29cd6c0 HH |
8203 | char _ptemp[128]; |
8204 | ||
8205 | self = self; | |
f786a3b2 | 8206 | if(!PyArg_ParseTuple(args,"O|iOOlsOO:new_wxGLCanvas",&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5,&_argo6,&_argo7)) |
a29cd6c0 | 8207 | return NULL; |
f786a3b2 HH |
8208 | if (_argo0) { |
8209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
a29cd6c0 HH |
8211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGLCanvas. Expected _wxWindow_p."); |
8212 | return NULL; | |
8213 | } | |
8214 | } | |
f786a3b2 HH |
8215 | if (_argo2) { |
8216 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8217 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) { | |
a29cd6c0 HH |
8218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGLCanvas. Expected _wxPoint_p."); |
8219 | return NULL; | |
8220 | } | |
8221 | } | |
f786a3b2 HH |
8222 | if (_argo3) { |
8223 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
8224 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) { | |
a29cd6c0 HH |
8225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGLCanvas. Expected _wxSize_p."); |
8226 | return NULL; | |
8227 | } | |
8228 | } | |
f786a3b2 HH |
8229 | if (_argo6) { |
8230 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
8231 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_int_p")) { | |
a29cd6c0 HH |
8232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGLCanvas. Expected _int_p."); |
8233 | return NULL; | |
8234 | } | |
8235 | } | |
f786a3b2 HH |
8236 | if (_argo7) { |
8237 | if (_argo7 == Py_None) { _arg7 = NULL; } | |
8238 | else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxPalette_p")) { | |
a29cd6c0 HH |
8239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxGLCanvas. Expected _wxPalette_p."); |
8240 | return NULL; | |
8241 | } | |
8242 | } | |
8243 | { | |
8244 | wxPy_BEGIN_ALLOW_THREADS; | |
8245 | _result = (wxGLCanvas *)new_wxGLCanvas(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7); | |
8246 | ||
8247 | wxPy_END_ALLOW_THREADS; | |
f786a3b2 HH |
8248 | } if (_result) { |
8249 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLCanvas_p"); | |
8250 | _resultobj = Py_BuildValue("s",_ptemp); | |
8251 | } else { | |
8252 | Py_INCREF(Py_None); | |
8253 | _resultobj = Py_None; | |
8254 | } | |
a29cd6c0 HH |
8255 | return _resultobj; |
8256 | } | |
8257 | ||
8258 | #define wxGLCanvas_SetCurrent(_swigobj) (_swigobj->SetCurrent()) | |
8259 | static PyObject *_wrap_wxGLCanvas_SetCurrent(PyObject *self, PyObject *args) { | |
8260 | PyObject * _resultobj; | |
8261 | wxGLCanvas * _arg0; | |
f786a3b2 | 8262 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
8263 | |
8264 | self = self; | |
f786a3b2 | 8265 | if(!PyArg_ParseTuple(args,"O:wxGLCanvas_SetCurrent",&_argo0)) |
a29cd6c0 | 8266 | return NULL; |
f786a3b2 HH |
8267 | if (_argo0) { |
8268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) { | |
a29cd6c0 HH |
8270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SetCurrent. Expected _wxGLCanvas_p."); |
8271 | return NULL; | |
8272 | } | |
8273 | } | |
8274 | { | |
8275 | wxPy_BEGIN_ALLOW_THREADS; | |
8276 | wxGLCanvas_SetCurrent(_arg0); | |
8277 | ||
8278 | wxPy_END_ALLOW_THREADS; | |
8279 | } Py_INCREF(Py_None); | |
8280 | _resultobj = Py_None; | |
8281 | return _resultobj; | |
8282 | } | |
8283 | ||
8284 | #define wxGLCanvas_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
8285 | static PyObject *_wrap_wxGLCanvas_SetColour(PyObject *self, PyObject *args) { | |
8286 | PyObject * _resultobj; | |
8287 | wxGLCanvas * _arg0; | |
8288 | char * _arg1; | |
f786a3b2 | 8289 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
8290 | |
8291 | self = self; | |
f786a3b2 | 8292 | if(!PyArg_ParseTuple(args,"Os:wxGLCanvas_SetColour",&_argo0,&_arg1)) |
a29cd6c0 | 8293 | return NULL; |
f786a3b2 HH |
8294 | if (_argo0) { |
8295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) { | |
a29cd6c0 HH |
8297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SetColour. Expected _wxGLCanvas_p."); |
8298 | return NULL; | |
8299 | } | |
8300 | } | |
8301 | { | |
8302 | wxPy_BEGIN_ALLOW_THREADS; | |
8303 | wxGLCanvas_SetColour(_arg0,_arg1); | |
8304 | ||
8305 | wxPy_END_ALLOW_THREADS; | |
8306 | } Py_INCREF(Py_None); | |
8307 | _resultobj = Py_None; | |
8308 | return _resultobj; | |
8309 | } | |
8310 | ||
8311 | #define wxGLCanvas_SwapBuffers(_swigobj) (_swigobj->SwapBuffers()) | |
8312 | static PyObject *_wrap_wxGLCanvas_SwapBuffers(PyObject *self, PyObject *args) { | |
8313 | PyObject * _resultobj; | |
8314 | wxGLCanvas * _arg0; | |
f786a3b2 | 8315 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
8316 | |
8317 | self = self; | |
f786a3b2 | 8318 | if(!PyArg_ParseTuple(args,"O:wxGLCanvas_SwapBuffers",&_argo0)) |
a29cd6c0 | 8319 | return NULL; |
f786a3b2 HH |
8320 | if (_argo0) { |
8321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) { | |
a29cd6c0 HH |
8323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SwapBuffers. Expected _wxGLCanvas_p."); |
8324 | return NULL; | |
8325 | } | |
8326 | } | |
8327 | { | |
8328 | wxPy_BEGIN_ALLOW_THREADS; | |
8329 | wxGLCanvas_SwapBuffers(_arg0); | |
8330 | ||
8331 | wxPy_END_ALLOW_THREADS; | |
8332 | } Py_INCREF(Py_None); | |
8333 | _resultobj = Py_None; | |
8334 | return _resultobj; | |
8335 | } | |
8336 | ||
8337 | #define wxGLCanvas_GetContext(_swigobj) (_swigobj->GetContext()) | |
8338 | static PyObject *_wrap_wxGLCanvas_GetContext(PyObject *self, PyObject *args) { | |
8339 | PyObject * _resultobj; | |
8340 | wxGLContext * _result; | |
8341 | wxGLCanvas * _arg0; | |
f786a3b2 | 8342 | PyObject * _argo0 = 0; |
a29cd6c0 HH |
8343 | char _ptemp[128]; |
8344 | ||
8345 | self = self; | |
f786a3b2 | 8346 | if(!PyArg_ParseTuple(args,"O:wxGLCanvas_GetContext",&_argo0)) |
a29cd6c0 | 8347 | return NULL; |
f786a3b2 HH |
8348 | if (_argo0) { |
8349 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8350 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) { | |
a29cd6c0 HH |
8351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_GetContext. Expected _wxGLCanvas_p."); |
8352 | return NULL; | |
8353 | } | |
8354 | } | |
8355 | { | |
8356 | wxPy_BEGIN_ALLOW_THREADS; | |
8357 | _result = (wxGLContext *)wxGLCanvas_GetContext(_arg0); | |
8358 | ||
8359 | wxPy_END_ALLOW_THREADS; | |
f786a3b2 HH |
8360 | } if (_result) { |
8361 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLContext_p"); | |
8362 | _resultobj = Py_BuildValue("s",_ptemp); | |
8363 | } else { | |
8364 | Py_INCREF(Py_None); | |
8365 | _resultobj = Py_None; | |
8366 | } | |
a29cd6c0 HH |
8367 | return _resultobj; |
8368 | } | |
8369 | ||
8370 | static PyMethodDef glcanvascMethods[] = { | |
f786a3b2 HH |
8371 | { "wxGLCanvas_GetContext", _wrap_wxGLCanvas_GetContext, METH_VARARGS }, |
8372 | { "wxGLCanvas_SwapBuffers", _wrap_wxGLCanvas_SwapBuffers, METH_VARARGS }, | |
8373 | { "wxGLCanvas_SetColour", _wrap_wxGLCanvas_SetColour, METH_VARARGS }, | |
8374 | { "wxGLCanvas_SetCurrent", _wrap_wxGLCanvas_SetCurrent, METH_VARARGS }, | |
8375 | { "new_wxGLCanvas", _wrap_new_wxGLCanvas, METH_VARARGS }, | |
8376 | { "wxGLContext_GetWindow", _wrap_wxGLContext_GetWindow, METH_VARARGS }, | |
8377 | { "wxGLContext_GetPalette", _wrap_wxGLContext_GetPalette, METH_VARARGS }, | |
8378 | { "wxGLContext_CreateDefaultPalette", _wrap_wxGLContext_CreateDefaultPalette, METH_VARARGS }, | |
8379 | { "wxGLContext_SetupPalette", _wrap_wxGLContext_SetupPalette, METH_VARARGS }, | |
8380 | { "wxGLContext_SetupPixelFormat", _wrap_wxGLContext_SetupPixelFormat, METH_VARARGS }, | |
8381 | { "wxGLContext_SwapBuffers", _wrap_wxGLContext_SwapBuffers, METH_VARARGS }, | |
8382 | { "wxGLContext_SetColour", _wrap_wxGLContext_SetColour, METH_VARARGS }, | |
8383 | { "wxGLContext_SetCurrent", _wrap_wxGLContext_SetCurrent, METH_VARARGS }, | |
8384 | { "delete_wxGLContext", _wrap_delete_wxGLContext, METH_VARARGS }, | |
8385 | { "new_wxGLContext", _wrap_new_wxGLContext, METH_VARARGS }, | |
8386 | { "glViewport", _wrap_glViewport, METH_VARARGS }, | |
8387 | { "glVertexPointer", _wrap_glVertexPointer, METH_VARARGS }, | |
8388 | { "glVertex4sv", _wrap_glVertex4sv, METH_VARARGS }, | |
8389 | { "glVertex4s", _wrap_glVertex4s, METH_VARARGS }, | |
8390 | { "glVertex4iv", _wrap_glVertex4iv, METH_VARARGS }, | |
8391 | { "glVertex4i", _wrap_glVertex4i, METH_VARARGS }, | |
8392 | { "glVertex4fv", _wrap_glVertex4fv, METH_VARARGS }, | |
8393 | { "glVertex4f", _wrap_glVertex4f, METH_VARARGS }, | |
8394 | { "glVertex4dv", _wrap_glVertex4dv, METH_VARARGS }, | |
8395 | { "glVertex4d", _wrap_glVertex4d, METH_VARARGS }, | |
8396 | { "glVertex3sv", _wrap_glVertex3sv, METH_VARARGS }, | |
8397 | { "glVertex3s", _wrap_glVertex3s, METH_VARARGS }, | |
8398 | { "glVertex3iv", _wrap_glVertex3iv, METH_VARARGS }, | |
8399 | { "glVertex3i", _wrap_glVertex3i, METH_VARARGS }, | |
8400 | { "glVertex3fv", _wrap_glVertex3fv, METH_VARARGS }, | |
8401 | { "glVertex3f", _wrap_glVertex3f, METH_VARARGS }, | |
8402 | { "glVertex3dv", _wrap_glVertex3dv, METH_VARARGS }, | |
8403 | { "glVertex3d", _wrap_glVertex3d, METH_VARARGS }, | |
8404 | { "glVertex2sv", _wrap_glVertex2sv, METH_VARARGS }, | |
8405 | { "glVertex2s", _wrap_glVertex2s, METH_VARARGS }, | |
8406 | { "glVertex2iv", _wrap_glVertex2iv, METH_VARARGS }, | |
8407 | { "glVertex2i", _wrap_glVertex2i, METH_VARARGS }, | |
8408 | { "glVertex2fv", _wrap_glVertex2fv, METH_VARARGS }, | |
8409 | { "glVertex2f", _wrap_glVertex2f, METH_VARARGS }, | |
8410 | { "glVertex2dv", _wrap_glVertex2dv, METH_VARARGS }, | |
8411 | { "glVertex2d", _wrap_glVertex2d, METH_VARARGS }, | |
8412 | { "glTranslatef", _wrap_glTranslatef, METH_VARARGS }, | |
8413 | { "glTranslated", _wrap_glTranslated, METH_VARARGS }, | |
8414 | { "glTexSubImage2D", _wrap_glTexSubImage2D, METH_VARARGS }, | |
8415 | { "glTexSubImage1D", _wrap_glTexSubImage1D, METH_VARARGS }, | |
8416 | { "glTexParameteriv", _wrap_glTexParameteriv, METH_VARARGS }, | |
8417 | { "glTexParameteri", _wrap_glTexParameteri, METH_VARARGS }, | |
8418 | { "glTexParameterfv", _wrap_glTexParameterfv, METH_VARARGS }, | |
8419 | { "glTexParameterf", _wrap_glTexParameterf, METH_VARARGS }, | |
8420 | { "glTexImage2D", _wrap_glTexImage2D, METH_VARARGS }, | |
8421 | { "glTexImage1D", _wrap_glTexImage1D, METH_VARARGS }, | |
8422 | { "glTexGeniv", _wrap_glTexGeniv, METH_VARARGS }, | |
8423 | { "glTexGeni", _wrap_glTexGeni, METH_VARARGS }, | |
8424 | { "glTexGenfv", _wrap_glTexGenfv, METH_VARARGS }, | |
8425 | { "glTexGenf", _wrap_glTexGenf, METH_VARARGS }, | |
8426 | { "glTexGendv", _wrap_glTexGendv, METH_VARARGS }, | |
8427 | { "glTexGend", _wrap_glTexGend, METH_VARARGS }, | |
8428 | { "glTexEnviv", _wrap_glTexEnviv, METH_VARARGS }, | |
8429 | { "glTexEnvi", _wrap_glTexEnvi, METH_VARARGS }, | |
8430 | { "glTexEnvfv", _wrap_glTexEnvfv, METH_VARARGS }, | |
8431 | { "glTexEnvf", _wrap_glTexEnvf, METH_VARARGS }, | |
8432 | { "glTexCoordPointer", _wrap_glTexCoordPointer, METH_VARARGS }, | |
8433 | { "glTexCoord4sv", _wrap_glTexCoord4sv, METH_VARARGS }, | |
8434 | { "glTexCoord4s", _wrap_glTexCoord4s, METH_VARARGS }, | |
8435 | { "glTexCoord4iv", _wrap_glTexCoord4iv, METH_VARARGS }, | |
8436 | { "glTexCoord4i", _wrap_glTexCoord4i, METH_VARARGS }, | |
8437 | { "glTexCoord4fv", _wrap_glTexCoord4fv, METH_VARARGS }, | |
8438 | { "glTexCoord4f", _wrap_glTexCoord4f, METH_VARARGS }, | |
8439 | { "glTexCoord4dv", _wrap_glTexCoord4dv, METH_VARARGS }, | |
8440 | { "glTexCoord4d", _wrap_glTexCoord4d, METH_VARARGS }, | |
8441 | { "glTexCoord3sv", _wrap_glTexCoord3sv, METH_VARARGS }, | |
8442 | { "glTexCoord3s", _wrap_glTexCoord3s, METH_VARARGS }, | |
8443 | { "glTexCoord3iv", _wrap_glTexCoord3iv, METH_VARARGS }, | |
8444 | { "glTexCoord3i", _wrap_glTexCoord3i, METH_VARARGS }, | |
8445 | { "glTexCoord3fv", _wrap_glTexCoord3fv, METH_VARARGS }, | |
8446 | { "glTexCoord3f", _wrap_glTexCoord3f, METH_VARARGS }, | |
8447 | { "glTexCoord3dv", _wrap_glTexCoord3dv, METH_VARARGS }, | |
8448 | { "glTexCoord3d", _wrap_glTexCoord3d, METH_VARARGS }, | |
8449 | { "glTexCoord2sv", _wrap_glTexCoord2sv, METH_VARARGS }, | |
8450 | { "glTexCoord2s", _wrap_glTexCoord2s, METH_VARARGS }, | |
8451 | { "glTexCoord2iv", _wrap_glTexCoord2iv, METH_VARARGS }, | |
8452 | { "glTexCoord2i", _wrap_glTexCoord2i, METH_VARARGS }, | |
8453 | { "glTexCoord2fv", _wrap_glTexCoord2fv, METH_VARARGS }, | |
8454 | { "glTexCoord2f", _wrap_glTexCoord2f, METH_VARARGS }, | |
8455 | { "glTexCoord2dv", _wrap_glTexCoord2dv, METH_VARARGS }, | |
8456 | { "glTexCoord2d", _wrap_glTexCoord2d, METH_VARARGS }, | |
8457 | { "glTexCoord1sv", _wrap_glTexCoord1sv, METH_VARARGS }, | |
8458 | { "glTexCoord1s", _wrap_glTexCoord1s, METH_VARARGS }, | |
8459 | { "glTexCoord1iv", _wrap_glTexCoord1iv, METH_VARARGS }, | |
8460 | { "glTexCoord1i", _wrap_glTexCoord1i, METH_VARARGS }, | |
8461 | { "glTexCoord1fv", _wrap_glTexCoord1fv, METH_VARARGS }, | |
8462 | { "glTexCoord1f", _wrap_glTexCoord1f, METH_VARARGS }, | |
8463 | { "glTexCoord1dv", _wrap_glTexCoord1dv, METH_VARARGS }, | |
8464 | { "glTexCoord1d", _wrap_glTexCoord1d, METH_VARARGS }, | |
8465 | { "glStencilOp", _wrap_glStencilOp, METH_VARARGS }, | |
8466 | { "glStencilMask", _wrap_glStencilMask, METH_VARARGS }, | |
8467 | { "glStencilFunc", _wrap_glStencilFunc, METH_VARARGS }, | |
8468 | { "glShadeModel", _wrap_glShadeModel, METH_VARARGS }, | |
8469 | { "glSelectBuffer", _wrap_glSelectBuffer, METH_VARARGS }, | |
8470 | { "glScissor", _wrap_glScissor, METH_VARARGS }, | |
8471 | { "glScalef", _wrap_glScalef, METH_VARARGS }, | |
8472 | { "glScaled", _wrap_glScaled, METH_VARARGS }, | |
8473 | { "glRotatef", _wrap_glRotatef, METH_VARARGS }, | |
8474 | { "glRotated", _wrap_glRotated, METH_VARARGS }, | |
8475 | { "glRenderMode", _wrap_glRenderMode, METH_VARARGS }, | |
8476 | { "glRectsv", _wrap_glRectsv, METH_VARARGS }, | |
8477 | { "glRects", _wrap_glRects, METH_VARARGS }, | |
8478 | { "glRectiv", _wrap_glRectiv, METH_VARARGS }, | |
8479 | { "glRecti", _wrap_glRecti, METH_VARARGS }, | |
8480 | { "glRectfv", _wrap_glRectfv, METH_VARARGS }, | |
8481 | { "glRectf", _wrap_glRectf, METH_VARARGS }, | |
8482 | { "glRectdv", _wrap_glRectdv, METH_VARARGS }, | |
8483 | { "glRectd", _wrap_glRectd, METH_VARARGS }, | |
8484 | { "glReadPixels", _wrap_glReadPixels, METH_VARARGS }, | |
8485 | { "glReadBuffer", _wrap_glReadBuffer, METH_VARARGS }, | |
8486 | { "glRasterPos4sv", _wrap_glRasterPos4sv, METH_VARARGS }, | |
8487 | { "glRasterPos4s", _wrap_glRasterPos4s, METH_VARARGS }, | |
8488 | { "glRasterPos4iv", _wrap_glRasterPos4iv, METH_VARARGS }, | |
8489 | { "glRasterPos4i", _wrap_glRasterPos4i, METH_VARARGS }, | |
8490 | { "glRasterPos4fv", _wrap_glRasterPos4fv, METH_VARARGS }, | |
8491 | { "glRasterPos4f", _wrap_glRasterPos4f, METH_VARARGS }, | |
8492 | { "glRasterPos4dv", _wrap_glRasterPos4dv, METH_VARARGS }, | |
8493 | { "glRasterPos4d", _wrap_glRasterPos4d, METH_VARARGS }, | |
8494 | { "glRasterPos3sv", _wrap_glRasterPos3sv, METH_VARARGS }, | |
8495 | { "glRasterPos3s", _wrap_glRasterPos3s, METH_VARARGS }, | |
8496 | { "glRasterPos3iv", _wrap_glRasterPos3iv, METH_VARARGS }, | |
8497 | { "glRasterPos3i", _wrap_glRasterPos3i, METH_VARARGS }, | |
8498 | { "glRasterPos3fv", _wrap_glRasterPos3fv, METH_VARARGS }, | |
8499 | { "glRasterPos3f", _wrap_glRasterPos3f, METH_VARARGS }, | |
8500 | { "glRasterPos3dv", _wrap_glRasterPos3dv, METH_VARARGS }, | |
8501 | { "glRasterPos3d", _wrap_glRasterPos3d, METH_VARARGS }, | |
8502 | { "glRasterPos2sv", _wrap_glRasterPos2sv, METH_VARARGS }, | |
8503 | { "glRasterPos2s", _wrap_glRasterPos2s, METH_VARARGS }, | |
8504 | { "glRasterPos2iv", _wrap_glRasterPos2iv, METH_VARARGS }, | |
8505 | { "glRasterPos2i", _wrap_glRasterPos2i, METH_VARARGS }, | |
8506 | { "glRasterPos2fv", _wrap_glRasterPos2fv, METH_VARARGS }, | |
8507 | { "glRasterPos2f", _wrap_glRasterPos2f, METH_VARARGS }, | |
8508 | { "glRasterPos2dv", _wrap_glRasterPos2dv, METH_VARARGS }, | |
8509 | { "glRasterPos2d", _wrap_glRasterPos2d, METH_VARARGS }, | |
8510 | { "glPushName", _wrap_glPushName, METH_VARARGS }, | |
8511 | { "glPushMatrix", _wrap_glPushMatrix, METH_VARARGS }, | |
8512 | { "glPushClientAttrib", _wrap_glPushClientAttrib, METH_VARARGS }, | |
8513 | { "glPushAttrib", _wrap_glPushAttrib, METH_VARARGS }, | |
8514 | { "glPrioritizeTextures", _wrap_glPrioritizeTextures, METH_VARARGS }, | |
8515 | { "glPopName", _wrap_glPopName, METH_VARARGS }, | |
8516 | { "glPopMatrix", _wrap_glPopMatrix, METH_VARARGS }, | |
8517 | { "glPopClientAttrib", _wrap_glPopClientAttrib, METH_VARARGS }, | |
8518 | { "glPopAttrib", _wrap_glPopAttrib, METH_VARARGS }, | |
8519 | { "glPolygonStipple", _wrap_glPolygonStipple, METH_VARARGS }, | |
8520 | { "glPolygonOffset", _wrap_glPolygonOffset, METH_VARARGS }, | |
8521 | { "glPolygonMode", _wrap_glPolygonMode, METH_VARARGS }, | |
8522 | { "glPointSize", _wrap_glPointSize, METH_VARARGS }, | |
8523 | { "glPixelZoom", _wrap_glPixelZoom, METH_VARARGS }, | |
8524 | { "glPixelTransferi", _wrap_glPixelTransferi, METH_VARARGS }, | |
8525 | { "glPixelTransferf", _wrap_glPixelTransferf, METH_VARARGS }, | |
8526 | { "glPixelStorei", _wrap_glPixelStorei, METH_VARARGS }, | |
8527 | { "glPixelStoref", _wrap_glPixelStoref, METH_VARARGS }, | |
8528 | { "glPixelMapusv", _wrap_glPixelMapusv, METH_VARARGS }, | |
8529 | { "glPixelMapuiv", _wrap_glPixelMapuiv, METH_VARARGS }, | |
8530 | { "glPixelMapfv", _wrap_glPixelMapfv, METH_VARARGS }, | |
8531 | { "glPassThrough", _wrap_glPassThrough, METH_VARARGS }, | |
8532 | { "glOrtho", _wrap_glOrtho, METH_VARARGS }, | |
8533 | { "glNormalPointer", _wrap_glNormalPointer, METH_VARARGS }, | |
8534 | { "glNormal3sv", _wrap_glNormal3sv, METH_VARARGS }, | |
8535 | { "glNormal3s", _wrap_glNormal3s, METH_VARARGS }, | |
8536 | { "glNormal3iv", _wrap_glNormal3iv, METH_VARARGS }, | |
8537 | { "glNormal3i", _wrap_glNormal3i, METH_VARARGS }, | |
8538 | { "glNormal3fv", _wrap_glNormal3fv, METH_VARARGS }, | |
8539 | { "glNormal3f", _wrap_glNormal3f, METH_VARARGS }, | |
8540 | { "glNormal3dv", _wrap_glNormal3dv, METH_VARARGS }, | |
8541 | { "glNormal3d", _wrap_glNormal3d, METH_VARARGS }, | |
8542 | { "glNormal3bv", _wrap_glNormal3bv, METH_VARARGS }, | |
8543 | { "glNormal3b", _wrap_glNormal3b, METH_VARARGS }, | |
8544 | { "glNewList", _wrap_glNewList, METH_VARARGS }, | |
8545 | { "glMultMatrixf", _wrap_glMultMatrixf, METH_VARARGS }, | |
8546 | { "glMultMatrixd", _wrap_glMultMatrixd, METH_VARARGS }, | |
8547 | { "glMatrixMode", _wrap_glMatrixMode, METH_VARARGS }, | |
8548 | { "glMaterialiv", _wrap_glMaterialiv, METH_VARARGS }, | |
8549 | { "glMateriali", _wrap_glMateriali, METH_VARARGS }, | |
8550 | { "glMaterialfv", _wrap_glMaterialfv, METH_VARARGS }, | |
8551 | { "glMaterialf", _wrap_glMaterialf, METH_VARARGS }, | |
8552 | { "glMapGrid2f", _wrap_glMapGrid2f, METH_VARARGS }, | |
8553 | { "glMapGrid2d", _wrap_glMapGrid2d, METH_VARARGS }, | |
8554 | { "glMapGrid1f", _wrap_glMapGrid1f, METH_VARARGS }, | |
8555 | { "glMapGrid1d", _wrap_glMapGrid1d, METH_VARARGS }, | |
8556 | { "glMap2f", _wrap_glMap2f, METH_VARARGS }, | |
8557 | { "glMap2d", _wrap_glMap2d, METH_VARARGS }, | |
8558 | { "glMap1f", _wrap_glMap1f, METH_VARARGS }, | |
8559 | { "glMap1d", _wrap_glMap1d, METH_VARARGS }, | |
8560 | { "glLogicOp", _wrap_glLogicOp, METH_VARARGS }, | |
8561 | { "glLoadName", _wrap_glLoadName, METH_VARARGS }, | |
8562 | { "glLoadMatrixf", _wrap_glLoadMatrixf, METH_VARARGS }, | |
8563 | { "glLoadMatrixd", _wrap_glLoadMatrixd, METH_VARARGS }, | |
8564 | { "glLoadIdentity", _wrap_glLoadIdentity, METH_VARARGS }, | |
8565 | { "glListBase", _wrap_glListBase, METH_VARARGS }, | |
8566 | { "glLineWidth", _wrap_glLineWidth, METH_VARARGS }, | |
8567 | { "glLineStipple", _wrap_glLineStipple, METH_VARARGS }, | |
8568 | { "glLightiv", _wrap_glLightiv, METH_VARARGS }, | |
8569 | { "glLighti", _wrap_glLighti, METH_VARARGS }, | |
8570 | { "glLightfv", _wrap_glLightfv, METH_VARARGS }, | |
8571 | { "glLightf", _wrap_glLightf, METH_VARARGS }, | |
8572 | { "glLightModeliv", _wrap_glLightModeliv, METH_VARARGS }, | |
8573 | { "glLightModeli", _wrap_glLightModeli, METH_VARARGS }, | |
8574 | { "glLightModelfv", _wrap_glLightModelfv, METH_VARARGS }, | |
8575 | { "glLightModelf", _wrap_glLightModelf, METH_VARARGS }, | |
8576 | { "glIsTexture", _wrap_glIsTexture, METH_VARARGS }, | |
8577 | { "glIsList", _wrap_glIsList, METH_VARARGS }, | |
8578 | { "glIsEnabled", _wrap_glIsEnabled, METH_VARARGS }, | |
8579 | { "glInterleavedArrays", _wrap_glInterleavedArrays, METH_VARARGS }, | |
8580 | { "glInitNames", _wrap_glInitNames, METH_VARARGS }, | |
8581 | { "glIndexubv", _wrap_glIndexubv, METH_VARARGS }, | |
8582 | { "glIndexub", _wrap_glIndexub, METH_VARARGS }, | |
8583 | { "glIndexsv", _wrap_glIndexsv, METH_VARARGS }, | |
8584 | { "glIndexs", _wrap_glIndexs, METH_VARARGS }, | |
8585 | { "glIndexiv", _wrap_glIndexiv, METH_VARARGS }, | |
8586 | { "glIndexi", _wrap_glIndexi, METH_VARARGS }, | |
8587 | { "glIndexfv", _wrap_glIndexfv, METH_VARARGS }, | |
8588 | { "glIndexf", _wrap_glIndexf, METH_VARARGS }, | |
8589 | { "glIndexdv", _wrap_glIndexdv, METH_VARARGS }, | |
8590 | { "glIndexd", _wrap_glIndexd, METH_VARARGS }, | |
8591 | { "glIndexPointer", _wrap_glIndexPointer, METH_VARARGS }, | |
8592 | { "glIndexMask", _wrap_glIndexMask, METH_VARARGS }, | |
8593 | { "glHint", _wrap_glHint, METH_VARARGS }, | |
8594 | { "glGetTexParameteriv", _wrap_glGetTexParameteriv, METH_VARARGS }, | |
8595 | { "glGetTexParameterfv", _wrap_glGetTexParameterfv, METH_VARARGS }, | |
8596 | { "glGetTexLevelParameteriv", _wrap_glGetTexLevelParameteriv, METH_VARARGS }, | |
8597 | { "glGetTexLevelParameterfv", _wrap_glGetTexLevelParameterfv, METH_VARARGS }, | |
8598 | { "glGetTexImage", _wrap_glGetTexImage, METH_VARARGS }, | |
8599 | { "glGetTexGeniv", _wrap_glGetTexGeniv, METH_VARARGS }, | |
8600 | { "glGetTexGenfv", _wrap_glGetTexGenfv, METH_VARARGS }, | |
8601 | { "glGetTexGendv", _wrap_glGetTexGendv, METH_VARARGS }, | |
8602 | { "glGetTexEnviv", _wrap_glGetTexEnviv, METH_VARARGS }, | |
8603 | { "glGetTexEnvfv", _wrap_glGetTexEnvfv, METH_VARARGS }, | |
8604 | { "glGetString", _wrap_glGetString, METH_VARARGS }, | |
8605 | { "glGetPolygonStipple", _wrap_glGetPolygonStipple, METH_VARARGS }, | |
8606 | { "glGetPointerv", _wrap_glGetPointerv, METH_VARARGS }, | |
8607 | { "glGetPixelMapusv", _wrap_glGetPixelMapusv, METH_VARARGS }, | |
8608 | { "glGetPixelMapuiv", _wrap_glGetPixelMapuiv, METH_VARARGS }, | |
8609 | { "glGetPixelMapfv", _wrap_glGetPixelMapfv, METH_VARARGS }, | |
8610 | { "glGetMaterialiv", _wrap_glGetMaterialiv, METH_VARARGS }, | |
8611 | { "glGetMaterialfv", _wrap_glGetMaterialfv, METH_VARARGS }, | |
8612 | { "glGetMapiv", _wrap_glGetMapiv, METH_VARARGS }, | |
8613 | { "glGetMapfv", _wrap_glGetMapfv, METH_VARARGS }, | |
8614 | { "glGetMapdv", _wrap_glGetMapdv, METH_VARARGS }, | |
8615 | { "glGetLightiv", _wrap_glGetLightiv, METH_VARARGS }, | |
8616 | { "glGetLightfv", _wrap_glGetLightfv, METH_VARARGS }, | |
8617 | { "glGetIntegerv", _wrap_glGetIntegerv, METH_VARARGS }, | |
8618 | { "glGetFloatv", _wrap_glGetFloatv, METH_VARARGS }, | |
8619 | { "glGetError", _wrap_glGetError, METH_VARARGS }, | |
8620 | { "glGetDoublev", _wrap_glGetDoublev, METH_VARARGS }, | |
8621 | { "glGetClipPlane", _wrap_glGetClipPlane, METH_VARARGS }, | |
8622 | { "glGetBooleanv", _wrap_glGetBooleanv, METH_VARARGS }, | |
8623 | { "glGenTextures", _wrap_glGenTextures, METH_VARARGS }, | |
8624 | { "glGenLists", _wrap_glGenLists, METH_VARARGS }, | |
8625 | { "glFrustum", _wrap_glFrustum, METH_VARARGS }, | |
8626 | { "glFrontFace", _wrap_glFrontFace, METH_VARARGS }, | |
8627 | { "glFogiv", _wrap_glFogiv, METH_VARARGS }, | |
8628 | { "glFogi", _wrap_glFogi, METH_VARARGS }, | |
8629 | { "glFogfv", _wrap_glFogfv, METH_VARARGS }, | |
8630 | { "glFogf", _wrap_glFogf, METH_VARARGS }, | |
8631 | { "glFlush", _wrap_glFlush, METH_VARARGS }, | |
8632 | { "glFinish", _wrap_glFinish, METH_VARARGS }, | |
8633 | { "glFeedbackBuffer", _wrap_glFeedbackBuffer, METH_VARARGS }, | |
8634 | { "glEvalPoint2", _wrap_glEvalPoint2, METH_VARARGS }, | |
8635 | { "glEvalPoint1", _wrap_glEvalPoint1, METH_VARARGS }, | |
8636 | { "glEvalMesh2", _wrap_glEvalMesh2, METH_VARARGS }, | |
8637 | { "glEvalMesh1", _wrap_glEvalMesh1, METH_VARARGS }, | |
8638 | { "glEvalCoord2fv", _wrap_glEvalCoord2fv, METH_VARARGS }, | |
8639 | { "glEvalCoord2f", _wrap_glEvalCoord2f, METH_VARARGS }, | |
8640 | { "glEvalCoord2dv", _wrap_glEvalCoord2dv, METH_VARARGS }, | |
8641 | { "glEvalCoord2d", _wrap_glEvalCoord2d, METH_VARARGS }, | |
8642 | { "glEvalCoord1fv", _wrap_glEvalCoord1fv, METH_VARARGS }, | |
8643 | { "glEvalCoord1f", _wrap_glEvalCoord1f, METH_VARARGS }, | |
8644 | { "glEvalCoord1dv", _wrap_glEvalCoord1dv, METH_VARARGS }, | |
8645 | { "glEvalCoord1d", _wrap_glEvalCoord1d, METH_VARARGS }, | |
8646 | { "glEndList", _wrap_glEndList, METH_VARARGS }, | |
8647 | { "glEnd", _wrap_glEnd, METH_VARARGS }, | |
8648 | { "glEnableClientState", _wrap_glEnableClientState, METH_VARARGS }, | |
8649 | { "glEnable", _wrap_glEnable, METH_VARARGS }, | |
8650 | { "glEdgeFlagv", _wrap_glEdgeFlagv, METH_VARARGS }, | |
8651 | { "glEdgeFlagPointer", _wrap_glEdgeFlagPointer, METH_VARARGS }, | |
8652 | { "glEdgeFlag", _wrap_glEdgeFlag, METH_VARARGS }, | |
8653 | { "glDrawPixels", _wrap_glDrawPixels, METH_VARARGS }, | |
8654 | { "glDrawElements", _wrap_glDrawElements, METH_VARARGS }, | |
8655 | { "glDrawBuffer", _wrap_glDrawBuffer, METH_VARARGS }, | |
8656 | { "glDrawArrays", _wrap_glDrawArrays, METH_VARARGS }, | |
8657 | { "glDisableClientState", _wrap_glDisableClientState, METH_VARARGS }, | |
8658 | { "glDisable", _wrap_glDisable, METH_VARARGS }, | |
8659 | { "glDepthRange", _wrap_glDepthRange, METH_VARARGS }, | |
8660 | { "glDepthMask", _wrap_glDepthMask, METH_VARARGS }, | |
8661 | { "glDepthFunc", _wrap_glDepthFunc, METH_VARARGS }, | |
8662 | { "glDeleteTextures", _wrap_glDeleteTextures, METH_VARARGS }, | |
8663 | { "glDeleteLists", _wrap_glDeleteLists, METH_VARARGS }, | |
8664 | { "glCullFace", _wrap_glCullFace, METH_VARARGS }, | |
8665 | { "glCopyTexSubImage2D", _wrap_glCopyTexSubImage2D, METH_VARARGS }, | |
8666 | { "glCopyTexSubImage1D", _wrap_glCopyTexSubImage1D, METH_VARARGS }, | |
8667 | { "glCopyTexImage2D", _wrap_glCopyTexImage2D, METH_VARARGS }, | |
8668 | { "glCopyTexImage1D", _wrap_glCopyTexImage1D, METH_VARARGS }, | |
8669 | { "glCopyPixels", _wrap_glCopyPixels, METH_VARARGS }, | |
8670 | { "glColorPointer", _wrap_glColorPointer, METH_VARARGS }, | |
8671 | { "glColorMaterial", _wrap_glColorMaterial, METH_VARARGS }, | |
8672 | { "glColorMask", _wrap_glColorMask, METH_VARARGS }, | |
8673 | { "glColor4usv", _wrap_glColor4usv, METH_VARARGS }, | |
8674 | { "glColor4us", _wrap_glColor4us, METH_VARARGS }, | |
8675 | { "glColor4uiv", _wrap_glColor4uiv, METH_VARARGS }, | |
8676 | { "glColor4ui", _wrap_glColor4ui, METH_VARARGS }, | |
8677 | { "glColor4ubv", _wrap_glColor4ubv, METH_VARARGS }, | |
8678 | { "glColor4ub", _wrap_glColor4ub, METH_VARARGS }, | |
8679 | { "glColor4sv", _wrap_glColor4sv, METH_VARARGS }, | |
8680 | { "glColor4s", _wrap_glColor4s, METH_VARARGS }, | |
8681 | { "glColor4iv", _wrap_glColor4iv, METH_VARARGS }, | |
8682 | { "glColor4i", _wrap_glColor4i, METH_VARARGS }, | |
8683 | { "glColor4fv", _wrap_glColor4fv, METH_VARARGS }, | |
8684 | { "glColor4f", _wrap_glColor4f, METH_VARARGS }, | |
8685 | { "glColor4dv", _wrap_glColor4dv, METH_VARARGS }, | |
8686 | { "glColor4d", _wrap_glColor4d, METH_VARARGS }, | |
8687 | { "glColor4bv", _wrap_glColor4bv, METH_VARARGS }, | |
8688 | { "glColor4b", _wrap_glColor4b, METH_VARARGS }, | |
8689 | { "glColor3usv", _wrap_glColor3usv, METH_VARARGS }, | |
8690 | { "glColor3us", _wrap_glColor3us, METH_VARARGS }, | |
8691 | { "glColor3uiv", _wrap_glColor3uiv, METH_VARARGS }, | |
8692 | { "glColor3ui", _wrap_glColor3ui, METH_VARARGS }, | |
8693 | { "glColor3ubv", _wrap_glColor3ubv, METH_VARARGS }, | |
8694 | { "glColor3ub", _wrap_glColor3ub, METH_VARARGS }, | |
8695 | { "glColor3sv", _wrap_glColor3sv, METH_VARARGS }, | |
8696 | { "glColor3s", _wrap_glColor3s, METH_VARARGS }, | |
8697 | { "glColor3iv", _wrap_glColor3iv, METH_VARARGS }, | |
8698 | { "glColor3i", _wrap_glColor3i, METH_VARARGS }, | |
8699 | { "glColor3fv", _wrap_glColor3fv, METH_VARARGS }, | |
8700 | { "glColor3f", _wrap_glColor3f, METH_VARARGS }, | |
8701 | { "glColor3dv", _wrap_glColor3dv, METH_VARARGS }, | |
8702 | { "glColor3d", _wrap_glColor3d, METH_VARARGS }, | |
8703 | { "glColor3bv", _wrap_glColor3bv, METH_VARARGS }, | |
8704 | { "glColor3b", _wrap_glColor3b, METH_VARARGS }, | |
8705 | { "glClipPlane", _wrap_glClipPlane, METH_VARARGS }, | |
8706 | { "glClearStencil", _wrap_glClearStencil, METH_VARARGS }, | |
8707 | { "glClearIndex", _wrap_glClearIndex, METH_VARARGS }, | |
8708 | { "glClearDepth", _wrap_glClearDepth, METH_VARARGS }, | |
8709 | { "glClearColor", _wrap_glClearColor, METH_VARARGS }, | |
8710 | { "glClearAccum", _wrap_glClearAccum, METH_VARARGS }, | |
8711 | { "glClear", _wrap_glClear, METH_VARARGS }, | |
8712 | { "glCallLists", _wrap_glCallLists, METH_VARARGS }, | |
8713 | { "glCallList", _wrap_glCallList, METH_VARARGS }, | |
8714 | { "glBlendFunc", _wrap_glBlendFunc, METH_VARARGS }, | |
8715 | { "glBitmap", _wrap_glBitmap, METH_VARARGS }, | |
8716 | { "glBindTexture", _wrap_glBindTexture, METH_VARARGS }, | |
8717 | { "glBegin", _wrap_glBegin, METH_VARARGS }, | |
8718 | { "glArrayElement", _wrap_glArrayElement, METH_VARARGS }, | |
8719 | { "glAreTexturesResident", _wrap_glAreTexturesResident, METH_VARARGS }, | |
8720 | { "glAlphaFunc", _wrap_glAlphaFunc, METH_VARARGS }, | |
8721 | { "glAccum", _wrap_glAccum, METH_VARARGS }, | |
8722 | { "glGetColorTableEXT", _wrap_glGetColorTableEXT, METH_VARARGS }, | |
8723 | { "glColorTableEXT", _wrap_glColorTableEXT, METH_VARARGS }, | |
8724 | { "glVertexPointerEXT", _wrap_glVertexPointerEXT, METH_VARARGS }, | |
8725 | { "glTexCoordPointerEXT", _wrap_glTexCoordPointerEXT, METH_VARARGS }, | |
8726 | { "glNormalPointerEXT", _wrap_glNormalPointerEXT, METH_VARARGS }, | |
8727 | { "glIndexPointerEXT", _wrap_glIndexPointerEXT, METH_VARARGS }, | |
8728 | { "glGetPointervEXT", _wrap_glGetPointervEXT, METH_VARARGS }, | |
8729 | { "glEdgeFlagPointerEXT", _wrap_glEdgeFlagPointerEXT, METH_VARARGS }, | |
8730 | { "glDrawArraysEXT", _wrap_glDrawArraysEXT, METH_VARARGS }, | |
8731 | { "glColorPointerEXT", _wrap_glColorPointerEXT, METH_VARARGS }, | |
8732 | { "glArrayElementEXT", _wrap_glArrayElementEXT, METH_VARARGS }, | |
a29cd6c0 HH |
8733 | { NULL, NULL } |
8734 | }; | |
f786a3b2 HH |
8735 | #ifdef __cplusplus |
8736 | } | |
8737 | #endif | |
8738 | /* | |
8739 | * This table is used by the pointer type-checker | |
8740 | */ | |
8741 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8742 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8743 | { "_wxEvent","_class_wxEvent",0}, | |
8744 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8745 | { "_GLfloat","_GLclampf",0}, | |
8746 | { "_GLfloat","_float",0}, | |
8747 | { "_signed_long","_long",0}, | |
8748 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
8749 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
8750 | { "_wxBMPHandler","_class_wxBMPHandler",0}, | |
8751 | { "_wxImage","_class_wxImage",0}, | |
8752 | { "_double","_GLclampd",0}, | |
8753 | { "_double","_GLdouble",0}, | |
8754 | { "_wxPrintQuality","_GLuint",0}, | |
8755 | { "_wxPrintQuality","_GLsizei",0}, | |
8756 | { "_wxPrintQuality","_GLint",0}, | |
8757 | { "_wxPrintQuality","_GLbitfield",0}, | |
8758 | { "_wxPrintQuality","_GLenum",0}, | |
8759 | { "_wxPrintQuality","_int",0}, | |
8760 | { "_wxPrintQuality","_signed_int",0}, | |
8761 | { "_wxPrintQuality","_unsigned_int",0}, | |
8762 | { "_wxPrintQuality","_wxWindowID",0}, | |
8763 | { "_wxPrintQuality","_uint",0}, | |
8764 | { "_wxPrintQuality","_EBool",0}, | |
8765 | { "_wxPrintQuality","_size_t",0}, | |
8766 | { "_wxFontData","_class_wxFontData",0}, | |
8767 | { "___wxPyCleanup","_class___wxPyCleanup",0}, | |
8768 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
8769 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
8770 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
8771 | { "_class_wxEvtHandler","_class_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler}, | |
8772 | { "_class_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler}, | |
8773 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
8774 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
8775 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
8776 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
8777 | { "_wxCursor","_class_wxCursor",0}, | |
8778 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
8779 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
8780 | { "_GLsizei","_GLuint",0}, | |
8781 | { "_GLsizei","_int",0}, | |
8782 | { "_GLsizei","_signed_int",0}, | |
8783 | { "_GLsizei","_unsigned_int",0}, | |
8784 | { "_GLsizei","_wxWindowID",0}, | |
8785 | { "_GLsizei","_uint",0}, | |
8786 | { "_GLsizei","_EBool",0}, | |
8787 | { "_GLsizei","_size_t",0}, | |
8788 | { "_GLsizei","_wxPrintQuality",0}, | |
8789 | { "_GLsizei","_GLenum",0}, | |
8790 | { "_GLsizei","_GLbitfield",0}, | |
8791 | { "_GLsizei","_GLint",0}, | |
8792 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, | |
8793 | { "_wxMask","_class_wxMask",0}, | |
8794 | { "_wxToolTip","_class_wxToolTip",0}, | |
8795 | { "_wxGrid","_class_wxGrid",0}, | |
8796 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
8797 | { "_class_wxColourData","_wxColourData",0}, | |
8798 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
8799 | { "_wxPrinter","_class_wxPrinter",0}, | |
8800 | { "_GLbyte","_signed_char",0}, | |
8801 | { "_wxPen","_class_wxPen",0}, | |
8802 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
8803 | { "_byte","_GLubyte",0}, | |
8804 | { "_byte","_GLboolean",0}, | |
8805 | { "_byte","_unsigned_char",0}, | |
8806 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
8807 | { "_wxChoice","_class_wxChoice",0}, | |
8808 | { "_wxSlider","_class_wxSlider",0}, | |
8809 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
8810 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
8811 | { "_long","_wxDash",0}, | |
8812 | { "_long","_unsigned_long",0}, | |
8813 | { "_long","_signed_long",0}, | |
8814 | { "_wxImageList","_class_wxImageList",0}, | |
8815 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
8816 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
8817 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
8818 | { "_GLenum","_GLuint",0}, | |
8819 | { "_GLenum","_GLsizei",0}, | |
8820 | { "_GLenum","_GLint",0}, | |
8821 | { "_GLenum","_GLbitfield",0}, | |
8822 | { "_GLenum","_unsigned_int",0}, | |
8823 | { "_GLenum","_int",0}, | |
8824 | { "_GLenum","_wxWindowID",0}, | |
8825 | { "_GLenum","_uint",0}, | |
8826 | { "_GLenum","_size_t",0}, | |
8827 | { "_GLenum","_wxPrintQuality",0}, | |
8828 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
8829 | { "_wxGLContext","_class_wxGLContext",0}, | |
8830 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
8831 | { "_class_wxGauge","_wxGauge",0}, | |
8832 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
8833 | { "_float","_GLclampf",0}, | |
8834 | { "_float","_GLfloat",0}, | |
8835 | { "_wxDC","_class_wxDC",0}, | |
8836 | { "_wxListEvent","_class_wxListEvent",0}, | |
8837 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
8838 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
8839 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
8840 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
8841 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
8842 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
8843 | { "_size_t","_GLuint",0}, | |
8844 | { "_size_t","_GLsizei",0}, | |
8845 | { "_size_t","_GLint",0}, | |
8846 | { "_size_t","_GLbitfield",0}, | |
8847 | { "_size_t","_GLenum",0}, | |
8848 | { "_size_t","_wxPrintQuality",0}, | |
8849 | { "_size_t","_unsigned_int",0}, | |
8850 | { "_size_t","_int",0}, | |
8851 | { "_size_t","_wxWindowID",0}, | |
8852 | { "_size_t","_uint",0}, | |
8853 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
8854 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
8855 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8856 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8857 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8858 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
8859 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
8860 | { "_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel}, | |
8861 | { "_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel}, | |
8862 | { "_wxPanel","_class_wxPanel",0}, | |
8863 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8864 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
8865 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
8866 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8867 | { "_signed_char","_GLbyte",0}, | |
8868 | { "_class_wxMask","_wxMask",0}, | |
8869 | { "_class_wxToolTip","_wxToolTip",0}, | |
8870 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
8871 | { "_class_wxGrid","_wxGrid",0}, | |
8872 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
8873 | { "_wxColour","_class_wxColour",0}, | |
8874 | { "_class_wxDialog","_wxDialog",0}, | |
8875 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
8876 | { "_class_wxPrinter","_wxPrinter",0}, | |
8877 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
8878 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8879 | { "_wxToolBar","_class_wxToolBar",0}, | |
8880 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
8881 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
8882 | { "_wxBrush","_class_wxBrush",0}, | |
8883 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
8884 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8885 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
8886 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
8887 | { "_GLuint","_unsigned_int",0}, | |
8888 | { "_GLuint","_int",0}, | |
8889 | { "_GLuint","_wxWindowID",0}, | |
8890 | { "_GLuint","_uint",0}, | |
8891 | { "_GLuint","_size_t",0}, | |
8892 | { "_GLuint","_wxPrintQuality",0}, | |
8893 | { "_GLuint","_GLenum",0}, | |
8894 | { "_GLuint","_GLbitfield",0}, | |
8895 | { "_GLuint","_GLint",0}, | |
8896 | { "_GLuint","_GLsizei",0}, | |
8897 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
8898 | { "_uint","_GLuint",0}, | |
8899 | { "_uint","_GLsizei",0}, | |
8900 | { "_uint","_GLint",0}, | |
8901 | { "_uint","_GLbitfield",0}, | |
8902 | { "_uint","_GLenum",0}, | |
8903 | { "_uint","_wxPrintQuality",0}, | |
8904 | { "_uint","_size_t",0}, | |
8905 | { "_uint","_unsigned_int",0}, | |
8906 | { "_uint","_int",0}, | |
8907 | { "_uint","_wxWindowID",0}, | |
8908 | { "_class_wxEvent","_wxEvent",0}, | |
8909 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8910 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
8911 | { "_wxGridEvent","_class_wxGridEvent",0}, | |
8912 | { "_wxRect","_class_wxRect",0}, | |
8913 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8914 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
8915 | { "_class_wxImage","_wxImage",0}, | |
8916 | { "_GLclampd","_double",0}, | |
8917 | { "_GLclampd","_GLdouble",0}, | |
8918 | { "_wxPoint","_class_wxPoint",0}, | |
8919 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
8920 | { "_class_wxButton","_wxButton",0}, | |
8921 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
8922 | { "_class_wxFontData","_wxFontData",0}, | |
8923 | { "_class___wxPyCleanup","___wxPyCleanup",0}, | |
8924 | { "_GLclampf","_float",0}, | |
8925 | { "_GLclampf","_GLfloat",0}, | |
8926 | { "_wxBitmap","_class_wxBitmap",0}, | |
8927 | { "_wxPrintDialog","_class_wxPrintDialog",0}, | |
8928 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
8929 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
8930 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
8931 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
8932 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
8933 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
8934 | { "_wxPrintData","_class_wxPrintData",0}, | |
8935 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
8936 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8937 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
8938 | { "_GLbitfield","_GLuint",0}, | |
8939 | { "_GLbitfield","_GLsizei",0}, | |
8940 | { "_GLbitfield","_GLint",0}, | |
8941 | { "_GLbitfield","_unsigned_int",0}, | |
8942 | { "_GLbitfield","_int",0}, | |
8943 | { "_GLbitfield","_wxWindowID",0}, | |
8944 | { "_GLbitfield","_uint",0}, | |
8945 | { "_GLbitfield","_size_t",0}, | |
8946 | { "_GLbitfield","_wxPrintQuality",0}, | |
8947 | { "_GLbitfield","_GLenum",0}, | |
8948 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
8949 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
8950 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
8951 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
8952 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
8953 | { "_wxListItem","_class_wxListItem",0}, | |
8954 | { "_class_wxToolBar","_wxToolBar",0}, | |
8955 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
8956 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
8957 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
8958 | { "_EBool","_GLsizei",0}, | |
8959 | { "_EBool","_GLint",0}, | |
8960 | { "_EBool","_wxPrintQuality",0}, | |
8961 | { "_EBool","_signed_int",0}, | |
8962 | { "_EBool","_int",0}, | |
8963 | { "_EBool","_wxWindowID",0}, | |
8964 | { "_class_wxRegion","_wxRegion",0}, | |
8965 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
8966 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
8967 | { "_wxStaticText","_class_wxStaticText",0}, | |
8968 | { "_wxFont","_class_wxFont",0}, | |
8969 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
8970 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
8971 | { "_wxNotebook","_class_wxNotebook",0}, | |
8972 | { "_unsigned_long","_wxDash",0}, | |
8973 | { "_unsigned_long","_long",0}, | |
8974 | { "_class_wxRect","_wxRect",0}, | |
8975 | { "_class_wxDC","_wxDC",0}, | |
8976 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
8977 | { "_wxPyApp","_class_wxPyApp",0}, | |
8978 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
8979 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8980 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
8981 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
8982 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
8983 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
8984 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
8985 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8986 | { "_class_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel}, | |
8987 | { "_class_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel}, | |
8988 | { "_class_wxPanel","_wxPanel",0}, | |
8989 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8990 | { "_wxComboBox","_class_wxComboBox",0}, | |
8991 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8992 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
8993 | { "_signed_int","_GLsizei",0}, | |
8994 | { "_signed_int","_GLint",0}, | |
8995 | { "_signed_int","_wxPrintQuality",0}, | |
8996 | { "_signed_int","_EBool",0}, | |
8997 | { "_signed_int","_wxWindowID",0}, | |
8998 | { "_signed_int","_int",0}, | |
8999 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
9000 | { "_GLboolean","_GLubyte",0}, | |
9001 | { "_GLboolean","_unsigned_char",0}, | |
9002 | { "_GLboolean","_byte",0}, | |
9003 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
9004 | { "_wxMenu","_class_wxMenu",0}, | |
9005 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
9006 | { "_wxListBox","_class_wxListBox",0}, | |
9007 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
9008 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
9009 | { "_WXTYPE","_GLushort",0}, | |
9010 | { "_WXTYPE","_GLshort",0}, | |
9011 | { "_WXTYPE","_short",0}, | |
9012 | { "_WXTYPE","_signed_short",0}, | |
9013 | { "_WXTYPE","_unsigned_short",0}, | |
9014 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
9015 | { "_GLshort","_GLushort",0}, | |
9016 | { "_GLshort","_short",0}, | |
9017 | { "_GLshort","_signed_short",0}, | |
9018 | { "_GLshort","_unsigned_short",0}, | |
9019 | { "_GLshort","_WXTYPE",0}, | |
9020 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
9021 | { "_class_wxBrush","_wxBrush",0}, | |
9022 | { "_unsigned_short","_GLushort",0}, | |
9023 | { "_unsigned_short","_GLshort",0}, | |
9024 | { "_unsigned_short","_WXTYPE",0}, | |
9025 | { "_unsigned_short","_short",0}, | |
9026 | { "_class_wxWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxWindow}, | |
9027 | { "_class_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow}, | |
9028 | { "_class_wxWindow","_wxWindow",0}, | |
9029 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
9030 | { "_class_wxStaticText","_wxStaticText",0}, | |
9031 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
9032 | { "_GLushort","_unsigned_short",0}, | |
9033 | { "_GLushort","_short",0}, | |
9034 | { "_GLushort","_WXTYPE",0}, | |
9035 | { "_GLushort","_GLshort",0}, | |
9036 | { "_class_wxFont","_wxFont",0}, | |
9037 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
9038 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
9039 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
9040 | { "_wxClientDC","_class_wxClientDC",0}, | |
9041 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
9042 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
9043 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
9044 | { "_wxGLCanvas","_class_wxGLCanvas",0}, | |
9045 | { "_class_wxPoint","_wxPoint",0}, | |
9046 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
9047 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
9048 | { "_wxGridCell","_class_wxGridCell",0}, | |
9049 | { "_signed_short","_GLshort",0}, | |
9050 | { "_signed_short","_WXTYPE",0}, | |
9051 | { "_signed_short","_short",0}, | |
9052 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
9053 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
9054 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
9055 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
9056 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
9057 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
9058 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
9059 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
9060 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
9061 | { "_class_wxCursor","_wxCursor",0}, | |
9062 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
9063 | { "_class_wxImageHandler","_wxImageHandler",0}, | |
9064 | { "_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow}, | |
9065 | { "_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow}, | |
9066 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
9067 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
9068 | { "_unsigned_char","_GLubyte",0}, | |
9069 | { "_unsigned_char","_GLboolean",0}, | |
9070 | { "_unsigned_char","_byte",0}, | |
9071 | { "_class_wxMenu","_wxMenu",0}, | |
9072 | { "_wxControl","_class_wxControl",0}, | |
9073 | { "_class_wxListBox","_wxListBox",0}, | |
9074 | { "_unsigned_int","_GLuint",0}, | |
9075 | { "_unsigned_int","_GLsizei",0}, | |
9076 | { "_unsigned_int","_GLint",0}, | |
9077 | { "_unsigned_int","_GLbitfield",0}, | |
9078 | { "_unsigned_int","_GLenum",0}, | |
9079 | { "_unsigned_int","_wxPrintQuality",0}, | |
9080 | { "_unsigned_int","_size_t",0}, | |
9081 | { "_unsigned_int","_uint",0}, | |
9082 | { "_unsigned_int","_wxWindowID",0}, | |
9083 | { "_unsigned_int","_int",0}, | |
9084 | { "_wxIcon","_class_wxIcon",0}, | |
9085 | { "_wxDialog","_class_wxDialog",0}, | |
9086 | { "_class_wxListItem","_wxListItem",0}, | |
9087 | { "_GLdouble","_GLclampd",0}, | |
9088 | { "_GLdouble","_double",0}, | |
9089 | { "_class_wxPen","_wxPen",0}, | |
9090 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
9091 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
9092 | { "_short","_GLushort",0}, | |
9093 | { "_short","_GLshort",0}, | |
9094 | { "_short","_WXTYPE",0}, | |
9095 | { "_short","_unsigned_short",0}, | |
9096 | { "_short","_signed_short",0}, | |
9097 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
9098 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
9099 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
9100 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
9101 | { "_class_wxChoice","_wxChoice",0}, | |
9102 | { "_class_wxSlider","_wxSlider",0}, | |
9103 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
9104 | { "_class_wxImageList","_wxImageList",0}, | |
9105 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
9106 | { "_wxFrame","_class_wxFrame",0}, | |
9107 | { "_class_wxGLContext","_wxGLContext",0}, | |
9108 | { "_class_wxNotebook","_wxNotebook",0}, | |
9109 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
9110 | { "_wxWindowID","_GLuint",0}, | |
9111 | { "_wxWindowID","_GLsizei",0}, | |
9112 | { "_wxWindowID","_GLint",0}, | |
9113 | { "_wxWindowID","_GLbitfield",0}, | |
9114 | { "_wxWindowID","_GLenum",0}, | |
9115 | { "_wxWindowID","_wxPrintQuality",0}, | |
9116 | { "_wxWindowID","_size_t",0}, | |
9117 | { "_wxWindowID","_EBool",0}, | |
9118 | { "_wxWindowID","_uint",0}, | |
9119 | { "_wxWindowID","_int",0}, | |
9120 | { "_wxWindowID","_signed_int",0}, | |
9121 | { "_wxWindowID","_unsigned_int",0}, | |
9122 | { "_int","_GLuint",0}, | |
9123 | { "_int","_GLsizei",0}, | |
9124 | { "_int","_GLint",0}, | |
9125 | { "_int","_GLbitfield",0}, | |
9126 | { "_int","_GLenum",0}, | |
9127 | { "_int","_wxPrintQuality",0}, | |
9128 | { "_int","_size_t",0}, | |
9129 | { "_int","_EBool",0}, | |
9130 | { "_int","_uint",0}, | |
9131 | { "_int","_wxWindowID",0}, | |
9132 | { "_int","_unsigned_int",0}, | |
9133 | { "_int","_signed_int",0}, | |
9134 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
9135 | { "_class_wxListEvent","_wxListEvent",0}, | |
9136 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
9137 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
9138 | { "_wxButton","_class_wxButton",0}, | |
9139 | { "_class_wxPyApp","_wxPyApp",0}, | |
9140 | { "_wxSize","_class_wxSize",0}, | |
9141 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
9142 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
9143 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
9144 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
9145 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
9146 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
9147 | { "_class_wxComboBox","_wxComboBox",0}, | |
9148 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
9149 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
9150 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
9151 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
9152 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
9153 | { "_class_wxControl","_wxControl",0}, | |
9154 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
9155 | { "_class_wxIcon","_wxIcon",0}, | |
9156 | { "_class_wxColour","_wxColour",0}, | |
9157 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
9158 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
9159 | { "_wxPalette","_class_wxPalette",0}, | |
9160 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
9161 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
9162 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
9163 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
9164 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
9165 | { "_wxRegion","_class_wxRegion",0}, | |
9166 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
9167 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
9168 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
9169 | { "_GLint","_GLuint",0}, | |
9170 | { "_GLint","_GLsizei",0}, | |
9171 | { "_GLint","_int",0}, | |
9172 | { "_GLint","_signed_int",0}, | |
9173 | { "_GLint","_unsigned_int",0}, | |
9174 | { "_GLint","_wxWindowID",0}, | |
9175 | { "_GLint","_uint",0}, | |
9176 | { "_GLint","_EBool",0}, | |
9177 | { "_GLint","_size_t",0}, | |
9178 | { "_GLint","_wxPrintQuality",0}, | |
9179 | { "_GLint","_GLenum",0}, | |
9180 | { "_GLint","_GLbitfield",0}, | |
9181 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
9182 | { "_wxGauge","_class_wxGauge",0}, | |
9183 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
9184 | { "_class_wxGridEvent","_wxGridEvent",0}, | |
9185 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
9186 | { "_GLubyte","_unsigned_char",0}, | |
9187 | { "_GLubyte","_byte",0}, | |
9188 | { "_GLubyte","_GLboolean",0}, | |
9189 | { "_class_wxClientDC","_wxClientDC",0}, | |
9190 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
9191 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
9192 | { "_class_wxGLCanvas","_wxGLCanvas",0}, | |
9193 | { "_class_wxGridCell","_wxGridCell",0}, | |
9194 | { "_class_wxSize","_wxSize",0}, | |
9195 | { "_class_wxBitmap","_wxBitmap",0}, | |
9196 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
9197 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
9198 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
9199 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
9200 | { "_wxEvtHandler","_class_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler}, | |
9201 | { "_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler}, | |
9202 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
9203 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
9204 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
9205 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
9206 | { "_class_wxPrintData","_wxPrintData",0}, | |
9207 | { "_wxDash","_unsigned_long",0}, | |
9208 | { "_wxDash","_long",0}, | |
9209 | { "_class_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow}, | |
9210 | { "_class_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow}, | |
9211 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
9212 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
9213 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
9214 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
9215 | { "_wxColourData","_class_wxColourData",0}, | |
9216 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
9217 | { "_class_wxPalette","_wxPalette",0}, | |
9218 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
9219 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
9220 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
9221 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
9222 | { "_wxWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxWindow}, | |
9223 | { "_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow}, | |
9224 | { "_wxWindow","_class_wxWindow",0}, | |
9225 | { "_class_wxFrame","_wxFrame",0}, | |
9226 | {0,0,0}}; | |
9227 | ||
a29cd6c0 HH |
9228 | static PyObject *SWIG_globals; |
9229 | #ifdef __cplusplus | |
9230 | extern "C" | |
9231 | #endif | |
f786a3b2 | 9232 | SWIGEXPORT(void) initglcanvasc() { |
a29cd6c0 HH |
9233 | PyObject *m, *d; |
9234 | SWIG_globals = SWIG_newvarlink(); | |
9235 | m = Py_InitModule("glcanvasc", glcanvascMethods); | |
9236 | d = PyModule_GetDict(m); | |
9237 | PyDict_SetItemString(d,"GL_2D", PyInt_FromLong((long) GL_2D)); | |
9238 | PyDict_SetItemString(d,"GL_2_BYTES", PyInt_FromLong((long) GL_2_BYTES)); | |
9239 | PyDict_SetItemString(d,"GL_3D", PyInt_FromLong((long) GL_3D)); | |
9240 | PyDict_SetItemString(d,"GL_3D_COLOR", PyInt_FromLong((long) GL_3D_COLOR)); | |
9241 | PyDict_SetItemString(d,"GL_3D_COLOR_TEXTURE", PyInt_FromLong((long) GL_3D_COLOR_TEXTURE)); | |
9242 | PyDict_SetItemString(d,"GL_3_BYTES", PyInt_FromLong((long) GL_3_BYTES)); | |
9243 | PyDict_SetItemString(d,"GL_4D_COLOR_TEXTURE", PyInt_FromLong((long) GL_4D_COLOR_TEXTURE)); | |
9244 | PyDict_SetItemString(d,"GL_4_BYTES", PyInt_FromLong((long) GL_4_BYTES)); | |
9245 | PyDict_SetItemString(d,"GL_ACCUM", PyInt_FromLong((long) GL_ACCUM)); | |
9246 | PyDict_SetItemString(d,"GL_ACCUM_ALPHA_BITS", PyInt_FromLong((long) GL_ACCUM_ALPHA_BITS)); | |
9247 | PyDict_SetItemString(d,"GL_ACCUM_BLUE_BITS", PyInt_FromLong((long) GL_ACCUM_BLUE_BITS)); | |
9248 | PyDict_SetItemString(d,"GL_ACCUM_BUFFER_BIT", PyInt_FromLong((long) GL_ACCUM_BUFFER_BIT)); | |
9249 | PyDict_SetItemString(d,"GL_ACCUM_CLEAR_VALUE", PyInt_FromLong((long) GL_ACCUM_CLEAR_VALUE)); | |
9250 | PyDict_SetItemString(d,"GL_ACCUM_GREEN_BITS", PyInt_FromLong((long) GL_ACCUM_GREEN_BITS)); | |
9251 | PyDict_SetItemString(d,"GL_ACCUM_RED_BITS", PyInt_FromLong((long) GL_ACCUM_RED_BITS)); | |
9252 | PyDict_SetItemString(d,"GL_ADD", PyInt_FromLong((long) GL_ADD)); | |
9253 | PyDict_SetItemString(d,"GL_ALL_ATTRIB_BITS", PyInt_FromLong((long) GL_ALL_ATTRIB_BITS)); | |
9254 | PyDict_SetItemString(d,"GL_ALPHA", PyInt_FromLong((long) GL_ALPHA)); | |
9255 | PyDict_SetItemString(d,"GL_ALPHA12", PyInt_FromLong((long) GL_ALPHA12)); | |
9256 | PyDict_SetItemString(d,"GL_ALPHA16", PyInt_FromLong((long) GL_ALPHA16)); | |
9257 | PyDict_SetItemString(d,"GL_ALPHA4", PyInt_FromLong((long) GL_ALPHA4)); | |
9258 | PyDict_SetItemString(d,"GL_ALPHA8", PyInt_FromLong((long) GL_ALPHA8)); | |
9259 | PyDict_SetItemString(d,"GL_ALPHA_BIAS", PyInt_FromLong((long) GL_ALPHA_BIAS)); | |
9260 | PyDict_SetItemString(d,"GL_ALPHA_BITS", PyInt_FromLong((long) GL_ALPHA_BITS)); | |
9261 | PyDict_SetItemString(d,"GL_ALPHA_SCALE", PyInt_FromLong((long) GL_ALPHA_SCALE)); | |
9262 | PyDict_SetItemString(d,"GL_ALPHA_TEST", PyInt_FromLong((long) GL_ALPHA_TEST)); | |
9263 | PyDict_SetItemString(d,"GL_ALPHA_TEST_FUNC", PyInt_FromLong((long) GL_ALPHA_TEST_FUNC)); | |
9264 | PyDict_SetItemString(d,"GL_ALPHA_TEST_REF", PyInt_FromLong((long) GL_ALPHA_TEST_REF)); | |
9265 | PyDict_SetItemString(d,"GL_ALWAYS", PyInt_FromLong((long) GL_ALWAYS)); | |
9266 | PyDict_SetItemString(d,"GL_AMBIENT", PyInt_FromLong((long) GL_AMBIENT)); | |
9267 | PyDict_SetItemString(d,"GL_AMBIENT_AND_DIFFUSE", PyInt_FromLong((long) GL_AMBIENT_AND_DIFFUSE)); | |
9268 | PyDict_SetItemString(d,"GL_AND", PyInt_FromLong((long) GL_AND)); | |
9269 | PyDict_SetItemString(d,"GL_AND_INVERTED", PyInt_FromLong((long) GL_AND_INVERTED)); | |
9270 | PyDict_SetItemString(d,"GL_AND_REVERSE", PyInt_FromLong((long) GL_AND_REVERSE)); | |
9271 | PyDict_SetItemString(d,"GL_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_ATTRIB_STACK_DEPTH)); | |
9272 | PyDict_SetItemString(d,"GL_AUTO_NORMAL", PyInt_FromLong((long) GL_AUTO_NORMAL)); | |
9273 | PyDict_SetItemString(d,"GL_AUX0", PyInt_FromLong((long) GL_AUX0)); | |
9274 | PyDict_SetItemString(d,"GL_AUX1", PyInt_FromLong((long) GL_AUX1)); | |
9275 | PyDict_SetItemString(d,"GL_AUX2", PyInt_FromLong((long) GL_AUX2)); | |
9276 | PyDict_SetItemString(d,"GL_AUX3", PyInt_FromLong((long) GL_AUX3)); | |
9277 | PyDict_SetItemString(d,"GL_AUX_BUFFERS", PyInt_FromLong((long) GL_AUX_BUFFERS)); | |
9278 | PyDict_SetItemString(d,"GL_BACK", PyInt_FromLong((long) GL_BACK)); | |
9279 | PyDict_SetItemString(d,"GL_BACK_LEFT", PyInt_FromLong((long) GL_BACK_LEFT)); | |
9280 | PyDict_SetItemString(d,"GL_BACK_RIGHT", PyInt_FromLong((long) GL_BACK_RIGHT)); | |
9281 | PyDict_SetItemString(d,"GL_BITMAP", PyInt_FromLong((long) GL_BITMAP)); | |
9282 | PyDict_SetItemString(d,"GL_BITMAP_TOKEN", PyInt_FromLong((long) GL_BITMAP_TOKEN)); | |
9283 | PyDict_SetItemString(d,"GL_BLEND", PyInt_FromLong((long) GL_BLEND)); | |
9284 | PyDict_SetItemString(d,"GL_BLEND_DST", PyInt_FromLong((long) GL_BLEND_DST)); | |
9285 | PyDict_SetItemString(d,"GL_BLEND_SRC", PyInt_FromLong((long) GL_BLEND_SRC)); | |
9286 | PyDict_SetItemString(d,"GL_BLUE", PyInt_FromLong((long) GL_BLUE)); | |
9287 | PyDict_SetItemString(d,"GL_BLUE_BIAS", PyInt_FromLong((long) GL_BLUE_BIAS)); | |
9288 | PyDict_SetItemString(d,"GL_BLUE_BITS", PyInt_FromLong((long) GL_BLUE_BITS)); | |
9289 | PyDict_SetItemString(d,"GL_BLUE_SCALE", PyInt_FromLong((long) GL_BLUE_SCALE)); | |
9290 | PyDict_SetItemString(d,"GL_BYTE", PyInt_FromLong((long) GL_BYTE)); | |
9291 | PyDict_SetItemString(d,"GL_C3F_V3F", PyInt_FromLong((long) GL_C3F_V3F)); | |
9292 | PyDict_SetItemString(d,"GL_C4F_N3F_V3F", PyInt_FromLong((long) GL_C4F_N3F_V3F)); | |
9293 | PyDict_SetItemString(d,"GL_C4UB_V2F", PyInt_FromLong((long) GL_C4UB_V2F)); | |
9294 | PyDict_SetItemString(d,"GL_C4UB_V3F", PyInt_FromLong((long) GL_C4UB_V3F)); | |
9295 | PyDict_SetItemString(d,"GL_CCW", PyInt_FromLong((long) GL_CCW)); | |
9296 | PyDict_SetItemString(d,"GL_CLAMP", PyInt_FromLong((long) GL_CLAMP)); | |
9297 | PyDict_SetItemString(d,"GL_CLEAR", PyInt_FromLong((long) GL_CLEAR)); | |
9298 | PyDict_SetItemString(d,"GL_CLIENT_ALL_ATTRIB_BITS", PyInt_FromLong((long) GL_CLIENT_ALL_ATTRIB_BITS)); | |
9299 | PyDict_SetItemString(d,"GL_CLIENT_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_CLIENT_ATTRIB_STACK_DEPTH)); | |
9300 | PyDict_SetItemString(d,"GL_CLIENT_PIXEL_STORE_BIT", PyInt_FromLong((long) GL_CLIENT_PIXEL_STORE_BIT)); | |
9301 | PyDict_SetItemString(d,"GL_CLIENT_VERTEX_ARRAY_BIT", PyInt_FromLong((long) GL_CLIENT_VERTEX_ARRAY_BIT)); | |
9302 | PyDict_SetItemString(d,"GL_CLIP_PLANE0", PyInt_FromLong((long) GL_CLIP_PLANE0)); | |
9303 | PyDict_SetItemString(d,"GL_CLIP_PLANE1", PyInt_FromLong((long) GL_CLIP_PLANE1)); | |
9304 | PyDict_SetItemString(d,"GL_CLIP_PLANE2", PyInt_FromLong((long) GL_CLIP_PLANE2)); | |
9305 | PyDict_SetItemString(d,"GL_CLIP_PLANE3", PyInt_FromLong((long) GL_CLIP_PLANE3)); | |
9306 | PyDict_SetItemString(d,"GL_CLIP_PLANE4", PyInt_FromLong((long) GL_CLIP_PLANE4)); | |
9307 | PyDict_SetItemString(d,"GL_CLIP_PLANE5", PyInt_FromLong((long) GL_CLIP_PLANE5)); | |
9308 | PyDict_SetItemString(d,"GL_COEFF", PyInt_FromLong((long) GL_COEFF)); | |
9309 | PyDict_SetItemString(d,"GL_COLOR", PyInt_FromLong((long) GL_COLOR)); | |
9310 | PyDict_SetItemString(d,"GL_COLOR_ARRAY", PyInt_FromLong((long) GL_COLOR_ARRAY)); | |
9311 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_COUNT_EXT)); | |
9312 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_EXT)); | |
9313 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_POINTER", PyInt_FromLong((long) GL_COLOR_ARRAY_POINTER)); | |
9314 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_POINTER_EXT)); | |
9315 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_SIZE", PyInt_FromLong((long) GL_COLOR_ARRAY_SIZE)); | |
9316 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_SIZE_EXT)); | |
9317 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_STRIDE", PyInt_FromLong((long) GL_COLOR_ARRAY_STRIDE)); | |
9318 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_STRIDE_EXT)); | |
9319 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_TYPE", PyInt_FromLong((long) GL_COLOR_ARRAY_TYPE)); | |
9320 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_TYPE_EXT)); | |
9321 | PyDict_SetItemString(d,"GL_COLOR_BUFFER_BIT", PyInt_FromLong((long) GL_COLOR_BUFFER_BIT)); | |
9322 | PyDict_SetItemString(d,"GL_COLOR_CLEAR_VALUE", PyInt_FromLong((long) GL_COLOR_CLEAR_VALUE)); | |
9323 | PyDict_SetItemString(d,"GL_COLOR_INDEX", PyInt_FromLong((long) GL_COLOR_INDEX)); | |
9324 | PyDict_SetItemString(d,"GL_COLOR_INDEX12_EXT", PyInt_FromLong((long) GL_COLOR_INDEX12_EXT)); | |
9325 | PyDict_SetItemString(d,"GL_COLOR_INDEX16_EXT", PyInt_FromLong((long) GL_COLOR_INDEX16_EXT)); | |
9326 | PyDict_SetItemString(d,"GL_COLOR_INDEX1_EXT", PyInt_FromLong((long) GL_COLOR_INDEX1_EXT)); | |
9327 | PyDict_SetItemString(d,"GL_COLOR_INDEX2_EXT", PyInt_FromLong((long) GL_COLOR_INDEX2_EXT)); | |
9328 | PyDict_SetItemString(d,"GL_COLOR_INDEX4_EXT", PyInt_FromLong((long) GL_COLOR_INDEX4_EXT)); | |
9329 | PyDict_SetItemString(d,"GL_COLOR_INDEX8_EXT", PyInt_FromLong((long) GL_COLOR_INDEX8_EXT)); | |
9330 | PyDict_SetItemString(d,"GL_COLOR_INDEXES", PyInt_FromLong((long) GL_COLOR_INDEXES)); | |
9331 | PyDict_SetItemString(d,"GL_COLOR_LOGIC_OP", PyInt_FromLong((long) GL_COLOR_LOGIC_OP)); | |
9332 | PyDict_SetItemString(d,"GL_COLOR_MATERIAL", PyInt_FromLong((long) GL_COLOR_MATERIAL)); | |
9333 | PyDict_SetItemString(d,"GL_COLOR_MATERIAL_FACE", PyInt_FromLong((long) GL_COLOR_MATERIAL_FACE)); | |
9334 | PyDict_SetItemString(d,"GL_COLOR_MATERIAL_PARAMETER", PyInt_FromLong((long) GL_COLOR_MATERIAL_PARAMETER)); | |
9335 | PyDict_SetItemString(d,"GL_COLOR_TABLE_ALPHA_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_ALPHA_SIZE_EXT)); | |
9336 | PyDict_SetItemString(d,"GL_COLOR_TABLE_BLUE_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_BLUE_SIZE_EXT)); | |
9337 | PyDict_SetItemString(d,"GL_COLOR_TABLE_FORMAT_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_FORMAT_EXT)); | |
9338 | PyDict_SetItemString(d,"GL_COLOR_TABLE_GREEN_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_GREEN_SIZE_EXT)); | |
9339 | PyDict_SetItemString(d,"GL_COLOR_TABLE_INTENSITY_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_INTENSITY_SIZE_EXT)); | |
9340 | PyDict_SetItemString(d,"GL_COLOR_TABLE_LUMINANCE_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_LUMINANCE_SIZE_EXT)); | |
9341 | PyDict_SetItemString(d,"GL_COLOR_TABLE_RED_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_RED_SIZE_EXT)); | |
9342 | PyDict_SetItemString(d,"GL_COLOR_TABLE_WIDTH_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_WIDTH_EXT)); | |
9343 | PyDict_SetItemString(d,"GL_COLOR_WRITEMASK", PyInt_FromLong((long) GL_COLOR_WRITEMASK)); | |
9344 | PyDict_SetItemString(d,"GL_COMPILE", PyInt_FromLong((long) GL_COMPILE)); | |
9345 | PyDict_SetItemString(d,"GL_COMPILE_AND_EXECUTE", PyInt_FromLong((long) GL_COMPILE_AND_EXECUTE)); | |
9346 | PyDict_SetItemString(d,"GL_CONSTANT_ATTENUATION", PyInt_FromLong((long) GL_CONSTANT_ATTENUATION)); | |
9347 | PyDict_SetItemString(d,"GL_COPY", PyInt_FromLong((long) GL_COPY)); | |
9348 | PyDict_SetItemString(d,"GL_COPY_INVERTED", PyInt_FromLong((long) GL_COPY_INVERTED)); | |
9349 | PyDict_SetItemString(d,"GL_COPY_PIXEL_TOKEN", PyInt_FromLong((long) GL_COPY_PIXEL_TOKEN)); | |
9350 | PyDict_SetItemString(d,"GL_CULL_FACE", PyInt_FromLong((long) GL_CULL_FACE)); | |
9351 | PyDict_SetItemString(d,"GL_CULL_FACE_MODE", PyInt_FromLong((long) GL_CULL_FACE_MODE)); | |
9352 | PyDict_SetItemString(d,"GL_CURRENT_BIT", PyInt_FromLong((long) GL_CURRENT_BIT)); | |
9353 | PyDict_SetItemString(d,"GL_CURRENT_COLOR", PyInt_FromLong((long) GL_CURRENT_COLOR)); | |
9354 | PyDict_SetItemString(d,"GL_CURRENT_INDEX", PyInt_FromLong((long) GL_CURRENT_INDEX)); | |
9355 | PyDict_SetItemString(d,"GL_CURRENT_NORMAL", PyInt_FromLong((long) GL_CURRENT_NORMAL)); | |
9356 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_COLOR", PyInt_FromLong((long) GL_CURRENT_RASTER_COLOR)); | |
9357 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_DISTANCE", PyInt_FromLong((long) GL_CURRENT_RASTER_DISTANCE)); | |
9358 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_INDEX", PyInt_FromLong((long) GL_CURRENT_RASTER_INDEX)); | |
9359 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_POSITION", PyInt_FromLong((long) GL_CURRENT_RASTER_POSITION)); | |
9360 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_POSITION_VALID", PyInt_FromLong((long) GL_CURRENT_RASTER_POSITION_VALID)); | |
9361 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_TEXTURE_COORDS", PyInt_FromLong((long) GL_CURRENT_RASTER_TEXTURE_COORDS)); | |
9362 | PyDict_SetItemString(d,"GL_CURRENT_TEXTURE_COORDS", PyInt_FromLong((long) GL_CURRENT_TEXTURE_COORDS)); | |
9363 | PyDict_SetItemString(d,"GL_CW", PyInt_FromLong((long) GL_CW)); | |
9364 | PyDict_SetItemString(d,"GL_DECAL", PyInt_FromLong((long) GL_DECAL)); | |
9365 | PyDict_SetItemString(d,"GL_DECR", PyInt_FromLong((long) GL_DECR)); | |
9366 | PyDict_SetItemString(d,"GL_DEPTH", PyInt_FromLong((long) GL_DEPTH)); | |
9367 | PyDict_SetItemString(d,"GL_DEPTH_BIAS", PyInt_FromLong((long) GL_DEPTH_BIAS)); | |
9368 | PyDict_SetItemString(d,"GL_DEPTH_BITS", PyInt_FromLong((long) GL_DEPTH_BITS)); | |
9369 | PyDict_SetItemString(d,"GL_DEPTH_BUFFER_BIT", PyInt_FromLong((long) GL_DEPTH_BUFFER_BIT)); | |
9370 | PyDict_SetItemString(d,"GL_DEPTH_CLEAR_VALUE", PyInt_FromLong((long) GL_DEPTH_CLEAR_VALUE)); | |
9371 | PyDict_SetItemString(d,"GL_DEPTH_COMPONENT", PyInt_FromLong((long) GL_DEPTH_COMPONENT)); | |
9372 | PyDict_SetItemString(d,"GL_DEPTH_FUNC", PyInt_FromLong((long) GL_DEPTH_FUNC)); | |
9373 | PyDict_SetItemString(d,"GL_DEPTH_RANGE", PyInt_FromLong((long) GL_DEPTH_RANGE)); | |
9374 | PyDict_SetItemString(d,"GL_DEPTH_SCALE", PyInt_FromLong((long) GL_DEPTH_SCALE)); | |
9375 | PyDict_SetItemString(d,"GL_DEPTH_TEST", PyInt_FromLong((long) GL_DEPTH_TEST)); | |
9376 | PyDict_SetItemString(d,"GL_DEPTH_WRITEMASK", PyInt_FromLong((long) GL_DEPTH_WRITEMASK)); | |
9377 | PyDict_SetItemString(d,"GL_DIFFUSE", PyInt_FromLong((long) GL_DIFFUSE)); | |
9378 | PyDict_SetItemString(d,"GL_DITHER", PyInt_FromLong((long) GL_DITHER)); | |
9379 | PyDict_SetItemString(d,"GL_DOMAIN", PyInt_FromLong((long) GL_DOMAIN)); | |
9380 | PyDict_SetItemString(d,"GL_DONT_CARE", PyInt_FromLong((long) GL_DONT_CARE)); | |
9381 | PyDict_SetItemString(d,"GL_DOUBLE", PyInt_FromLong((long) GL_DOUBLE)); | |
9382 | PyDict_SetItemString(d,"GL_DOUBLEBUFFER", PyInt_FromLong((long) GL_DOUBLEBUFFER)); | |
9383 | PyDict_SetItemString(d,"GL_DRAW_BUFFER", PyInt_FromLong((long) GL_DRAW_BUFFER)); | |
9384 | PyDict_SetItemString(d,"GL_DRAW_PIXEL_TOKEN", PyInt_FromLong((long) GL_DRAW_PIXEL_TOKEN)); | |
9385 | PyDict_SetItemString(d,"GL_DST_ALPHA", PyInt_FromLong((long) GL_DST_ALPHA)); | |
9386 | PyDict_SetItemString(d,"GL_DST_COLOR", PyInt_FromLong((long) GL_DST_COLOR)); | |
9387 | PyDict_SetItemString(d,"GL_EDGE_FLAG", PyInt_FromLong((long) GL_EDGE_FLAG)); | |
9388 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY)); | |
9389 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_COUNT_EXT)); | |
9390 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_EXT)); | |
9391 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_POINTER", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_POINTER)); | |
9392 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_POINTER_EXT)); | |
9393 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_STRIDE", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_STRIDE)); | |
9394 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_STRIDE_EXT)); | |
9395 | PyDict_SetItemString(d,"GL_EMISSION", PyInt_FromLong((long) GL_EMISSION)); | |
9396 | PyDict_SetItemString(d,"GL_ENABLE_BIT", PyInt_FromLong((long) GL_ENABLE_BIT)); | |
9397 | PyDict_SetItemString(d,"GL_EQUAL", PyInt_FromLong((long) GL_EQUAL)); | |
9398 | PyDict_SetItemString(d,"GL_EQUIV", PyInt_FromLong((long) GL_EQUIV)); | |
9399 | PyDict_SetItemString(d,"GL_EVAL_BIT", PyInt_FromLong((long) GL_EVAL_BIT)); | |
9400 | PyDict_SetItemString(d,"GL_EXP", PyInt_FromLong((long) GL_EXP)); | |
9401 | PyDict_SetItemString(d,"GL_EXP2", PyInt_FromLong((long) GL_EXP2)); | |
9402 | PyDict_SetItemString(d,"GL_EXTENSIONS", PyInt_FromLong((long) GL_EXTENSIONS)); | |
9403 | PyDict_SetItemString(d,"GL_EXT_paletted_texture", PyInt_FromLong((long) GL_EXT_paletted_texture)); | |
9404 | PyDict_SetItemString(d,"GL_EXT_vertex_array", PyInt_FromLong((long) GL_EXT_vertex_array)); | |
9405 | PyDict_SetItemString(d,"GL_EYE_LINEAR", PyInt_FromLong((long) GL_EYE_LINEAR)); | |
9406 | PyDict_SetItemString(d,"GL_EYE_PLANE", PyInt_FromLong((long) GL_EYE_PLANE)); | |
9407 | PyDict_SetItemString(d,"GL_FALSE", PyInt_FromLong((long) GL_FALSE)); | |
9408 | PyDict_SetItemString(d,"GL_FASTEST", PyInt_FromLong((long) GL_FASTEST)); | |
9409 | PyDict_SetItemString(d,"GL_FEEDBACK", PyInt_FromLong((long) GL_FEEDBACK)); | |
9410 | PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_POINTER", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_POINTER)); | |
9411 | PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_SIZE", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_SIZE)); | |
9412 | PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_TYPE", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_TYPE)); | |
9413 | PyDict_SetItemString(d,"GL_FILL", PyInt_FromLong((long) GL_FILL)); | |
9414 | PyDict_SetItemString(d,"GL_FLAT", PyInt_FromLong((long) GL_FLAT)); | |
9415 | PyDict_SetItemString(d,"GL_FLOAT", PyInt_FromLong((long) GL_FLOAT)); | |
9416 | PyDict_SetItemString(d,"GL_FOG", PyInt_FromLong((long) GL_FOG)); | |
9417 | PyDict_SetItemString(d,"GL_FOG_BIT", PyInt_FromLong((long) GL_FOG_BIT)); | |
9418 | PyDict_SetItemString(d,"GL_FOG_COLOR", PyInt_FromLong((long) GL_FOG_COLOR)); | |
9419 | PyDict_SetItemString(d,"GL_FOG_DENSITY", PyInt_FromLong((long) GL_FOG_DENSITY)); | |
9420 | PyDict_SetItemString(d,"GL_FOG_END", PyInt_FromLong((long) GL_FOG_END)); | |
9421 | PyDict_SetItemString(d,"GL_FOG_HINT", PyInt_FromLong((long) GL_FOG_HINT)); | |
9422 | PyDict_SetItemString(d,"GL_FOG_INDEX", PyInt_FromLong((long) GL_FOG_INDEX)); | |
9423 | PyDict_SetItemString(d,"GL_FOG_MODE", PyInt_FromLong((long) GL_FOG_MODE)); | |
9424 | PyDict_SetItemString(d,"GL_FOG_START", PyInt_FromLong((long) GL_FOG_START)); | |
9425 | PyDict_SetItemString(d,"GL_FRONT", PyInt_FromLong((long) GL_FRONT)); | |
9426 | PyDict_SetItemString(d,"GL_FRONT_AND_BACK", PyInt_FromLong((long) GL_FRONT_AND_BACK)); | |
9427 | PyDict_SetItemString(d,"GL_FRONT_FACE", PyInt_FromLong((long) GL_FRONT_FACE)); | |
9428 | PyDict_SetItemString(d,"GL_FRONT_LEFT", PyInt_FromLong((long) GL_FRONT_LEFT)); | |
9429 | PyDict_SetItemString(d,"GL_FRONT_RIGHT", PyInt_FromLong((long) GL_FRONT_RIGHT)); | |
9430 | PyDict_SetItemString(d,"GL_GEQUAL", PyInt_FromLong((long) GL_GEQUAL)); | |
9431 | PyDict_SetItemString(d,"GL_GREATER", PyInt_FromLong((long) GL_GREATER)); | |
9432 | PyDict_SetItemString(d,"GL_GREEN", PyInt_FromLong((long) GL_GREEN)); | |
9433 | PyDict_SetItemString(d,"GL_GREEN_BIAS", PyInt_FromLong((long) GL_GREEN_BIAS)); | |
9434 | PyDict_SetItemString(d,"GL_GREEN_BITS", PyInt_FromLong((long) GL_GREEN_BITS)); | |
9435 | PyDict_SetItemString(d,"GL_GREEN_SCALE", PyInt_FromLong((long) GL_GREEN_SCALE)); | |
9436 | PyDict_SetItemString(d,"GL_HINT_BIT", PyInt_FromLong((long) GL_HINT_BIT)); | |
9437 | PyDict_SetItemString(d,"GL_INCR", PyInt_FromLong((long) GL_INCR)); | |
9438 | PyDict_SetItemString(d,"GL_INDEX_ARRAY", PyInt_FromLong((long) GL_INDEX_ARRAY)); | |
9439 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_COUNT_EXT)); | |
9440 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_EXT)); | |
9441 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_POINTER", PyInt_FromLong((long) GL_INDEX_ARRAY_POINTER)); | |
9442 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_POINTER_EXT)); | |
9443 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_STRIDE", PyInt_FromLong((long) GL_INDEX_ARRAY_STRIDE)); | |
9444 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_STRIDE_EXT)); | |
9445 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_TYPE", PyInt_FromLong((long) GL_INDEX_ARRAY_TYPE)); | |
9446 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_TYPE_EXT)); | |
9447 | PyDict_SetItemString(d,"GL_INDEX_BITS", PyInt_FromLong((long) GL_INDEX_BITS)); | |
9448 | PyDict_SetItemString(d,"GL_INDEX_CLEAR_VALUE", PyInt_FromLong((long) GL_INDEX_CLEAR_VALUE)); | |
9449 | PyDict_SetItemString(d,"GL_INDEX_LOGIC_OP", PyInt_FromLong((long) GL_INDEX_LOGIC_OP)); | |
9450 | PyDict_SetItemString(d,"GL_INDEX_MODE", PyInt_FromLong((long) GL_INDEX_MODE)); | |
9451 | PyDict_SetItemString(d,"GL_INDEX_OFFSET", PyInt_FromLong((long) GL_INDEX_OFFSET)); | |
9452 | PyDict_SetItemString(d,"GL_INDEX_SHIFT", PyInt_FromLong((long) GL_INDEX_SHIFT)); | |
9453 | PyDict_SetItemString(d,"GL_INDEX_WRITEMASK", PyInt_FromLong((long) GL_INDEX_WRITEMASK)); | |
9454 | PyDict_SetItemString(d,"GL_INT", PyInt_FromLong((long) GL_INT)); | |
9455 | PyDict_SetItemString(d,"GL_INTENSITY", PyInt_FromLong((long) GL_INTENSITY)); | |
9456 | PyDict_SetItemString(d,"GL_INTENSITY12", PyInt_FromLong((long) GL_INTENSITY12)); | |
9457 | PyDict_SetItemString(d,"GL_INTENSITY16", PyInt_FromLong((long) GL_INTENSITY16)); | |
9458 | PyDict_SetItemString(d,"GL_INTENSITY4", PyInt_FromLong((long) GL_INTENSITY4)); | |
9459 | PyDict_SetItemString(d,"GL_INTENSITY8", PyInt_FromLong((long) GL_INTENSITY8)); | |
9460 | PyDict_SetItemString(d,"GL_INVALID_ENUM", PyInt_FromLong((long) GL_INVALID_ENUM)); | |
9461 | PyDict_SetItemString(d,"GL_INVALID_OPERATION", PyInt_FromLong((long) GL_INVALID_OPERATION)); | |
9462 | PyDict_SetItemString(d,"GL_INVALID_VALUE", PyInt_FromLong((long) GL_INVALID_VALUE)); | |
9463 | PyDict_SetItemString(d,"GL_INVERT", PyInt_FromLong((long) GL_INVERT)); | |
9464 | PyDict_SetItemString(d,"GL_KEEP", PyInt_FromLong((long) GL_KEEP)); | |
9465 | PyDict_SetItemString(d,"GL_LEFT", PyInt_FromLong((long) GL_LEFT)); | |
9466 | PyDict_SetItemString(d,"GL_LEQUAL", PyInt_FromLong((long) GL_LEQUAL)); | |
9467 | PyDict_SetItemString(d,"GL_LESS", PyInt_FromLong((long) GL_LESS)); | |
9468 | PyDict_SetItemString(d,"GL_LIGHT0", PyInt_FromLong((long) GL_LIGHT0)); | |
9469 | PyDict_SetItemString(d,"GL_LIGHT1", PyInt_FromLong((long) GL_LIGHT1)); | |
9470 | PyDict_SetItemString(d,"GL_LIGHT2", PyInt_FromLong((long) GL_LIGHT2)); | |
9471 | PyDict_SetItemString(d,"GL_LIGHT3", PyInt_FromLong((long) GL_LIGHT3)); | |
9472 | PyDict_SetItemString(d,"GL_LIGHT4", PyInt_FromLong((long) GL_LIGHT4)); | |
9473 | PyDict_SetItemString(d,"GL_LIGHT5", PyInt_FromLong((long) GL_LIGHT5)); | |
9474 | PyDict_SetItemString(d,"GL_LIGHT6", PyInt_FromLong((long) GL_LIGHT6)); | |
9475 | PyDict_SetItemString(d,"GL_LIGHT7", PyInt_FromLong((long) GL_LIGHT7)); | |
9476 | PyDict_SetItemString(d,"GL_LIGHTING", PyInt_FromLong((long) GL_LIGHTING)); | |
9477 | PyDict_SetItemString(d,"GL_LIGHTING_BIT", PyInt_FromLong((long) GL_LIGHTING_BIT)); | |
9478 | PyDict_SetItemString(d,"GL_LIGHT_MODEL_AMBIENT", PyInt_FromLong((long) GL_LIGHT_MODEL_AMBIENT)); | |
9479 | PyDict_SetItemString(d,"GL_LIGHT_MODEL_LOCAL_VIEWER", PyInt_FromLong((long) GL_LIGHT_MODEL_LOCAL_VIEWER)); | |
9480 | PyDict_SetItemString(d,"GL_LIGHT_MODEL_TWO_SIDE", PyInt_FromLong((long) GL_LIGHT_MODEL_TWO_SIDE)); | |
9481 | PyDict_SetItemString(d,"GL_LINE", PyInt_FromLong((long) GL_LINE)); | |
9482 | PyDict_SetItemString(d,"GL_LINEAR", PyInt_FromLong((long) GL_LINEAR)); | |
9483 | PyDict_SetItemString(d,"GL_LINEAR_ATTENUATION", PyInt_FromLong((long) GL_LINEAR_ATTENUATION)); | |
9484 | PyDict_SetItemString(d,"GL_LINEAR_MIPMAP_LINEAR", PyInt_FromLong((long) GL_LINEAR_MIPMAP_LINEAR)); | |
9485 | PyDict_SetItemString(d,"GL_LINEAR_MIPMAP_NEAREST", PyInt_FromLong((long) GL_LINEAR_MIPMAP_NEAREST)); | |
9486 | PyDict_SetItemString(d,"GL_LINES", PyInt_FromLong((long) GL_LINES)); | |
9487 | PyDict_SetItemString(d,"GL_LINE_BIT", PyInt_FromLong((long) GL_LINE_BIT)); | |
9488 | PyDict_SetItemString(d,"GL_LINE_LOOP", PyInt_FromLong((long) GL_LINE_LOOP)); | |
9489 | PyDict_SetItemString(d,"GL_LINE_RESET_TOKEN", PyInt_FromLong((long) GL_LINE_RESET_TOKEN)); | |
9490 | PyDict_SetItemString(d,"GL_LINE_SMOOTH", PyInt_FromLong((long) GL_LINE_SMOOTH)); | |
9491 | PyDict_SetItemString(d,"GL_LINE_SMOOTH_HINT", PyInt_FromLong((long) GL_LINE_SMOOTH_HINT)); | |
9492 | PyDict_SetItemString(d,"GL_LINE_STIPPLE", PyInt_FromLong((long) GL_LINE_STIPPLE)); | |
9493 | PyDict_SetItemString(d,"GL_LINE_STIPPLE_PATTERN", PyInt_FromLong((long) GL_LINE_STIPPLE_PATTERN)); | |
9494 | PyDict_SetItemString(d,"GL_LINE_STIPPLE_REPEAT", PyInt_FromLong((long) GL_LINE_STIPPLE_REPEAT)); | |
9495 | PyDict_SetItemString(d,"GL_LINE_STRIP", PyInt_FromLong((long) GL_LINE_STRIP)); | |
9496 | PyDict_SetItemString(d,"GL_LINE_TOKEN", PyInt_FromLong((long) GL_LINE_TOKEN)); | |
9497 | PyDict_SetItemString(d,"GL_LINE_WIDTH", PyInt_FromLong((long) GL_LINE_WIDTH)); | |
9498 | PyDict_SetItemString(d,"GL_LINE_WIDTH_GRANULARITY", PyInt_FromLong((long) GL_LINE_WIDTH_GRANULARITY)); | |
9499 | PyDict_SetItemString(d,"GL_LINE_WIDTH_RANGE", PyInt_FromLong((long) GL_LINE_WIDTH_RANGE)); | |
9500 | PyDict_SetItemString(d,"GL_LIST_BASE", PyInt_FromLong((long) GL_LIST_BASE)); | |
9501 | PyDict_SetItemString(d,"GL_LIST_BIT", PyInt_FromLong((long) GL_LIST_BIT)); | |
9502 | PyDict_SetItemString(d,"GL_LIST_INDEX", PyInt_FromLong((long) GL_LIST_INDEX)); | |
9503 | PyDict_SetItemString(d,"GL_LIST_MODE", PyInt_FromLong((long) GL_LIST_MODE)); | |
9504 | PyDict_SetItemString(d,"GL_LOAD", PyInt_FromLong((long) GL_LOAD)); | |
9505 | PyDict_SetItemString(d,"GL_LOGIC_OP", PyInt_FromLong((long) GL_LOGIC_OP)); | |
9506 | PyDict_SetItemString(d,"GL_LOGIC_OP_MODE", PyInt_FromLong((long) GL_LOGIC_OP_MODE)); | |
9507 | PyDict_SetItemString(d,"GL_LUMINANCE", PyInt_FromLong((long) GL_LUMINANCE)); | |
9508 | PyDict_SetItemString(d,"GL_LUMINANCE12", PyInt_FromLong((long) GL_LUMINANCE12)); | |
9509 | PyDict_SetItemString(d,"GL_LUMINANCE12_ALPHA12", PyInt_FromLong((long) GL_LUMINANCE12_ALPHA12)); | |
9510 | PyDict_SetItemString(d,"GL_LUMINANCE12_ALPHA4", PyInt_FromLong((long) GL_LUMINANCE12_ALPHA4)); | |
9511 | PyDict_SetItemString(d,"GL_LUMINANCE16", PyInt_FromLong((long) GL_LUMINANCE16)); | |
9512 | PyDict_SetItemString(d,"GL_LUMINANCE16_ALPHA16", PyInt_FromLong((long) GL_LUMINANCE16_ALPHA16)); | |
9513 | PyDict_SetItemString(d,"GL_LUMINANCE4", PyInt_FromLong((long) GL_LUMINANCE4)); | |
9514 | PyDict_SetItemString(d,"GL_LUMINANCE4_ALPHA4", PyInt_FromLong((long) GL_LUMINANCE4_ALPHA4)); | |
9515 | PyDict_SetItemString(d,"GL_LUMINANCE6_ALPHA2", PyInt_FromLong((long) GL_LUMINANCE6_ALPHA2)); | |
9516 | PyDict_SetItemString(d,"GL_LUMINANCE8", PyInt_FromLong((long) GL_LUMINANCE8)); | |
9517 | PyDict_SetItemString(d,"GL_LUMINANCE8_ALPHA8", PyInt_FromLong((long) GL_LUMINANCE8_ALPHA8)); | |
9518 | PyDict_SetItemString(d,"GL_LUMINANCE_ALPHA", PyInt_FromLong((long) GL_LUMINANCE_ALPHA)); | |
9519 | PyDict_SetItemString(d,"GL_MAP1_COLOR_4", PyInt_FromLong((long) GL_MAP1_COLOR_4)); | |
9520 | PyDict_SetItemString(d,"GL_MAP1_GRID_DOMAIN", PyInt_FromLong((long) GL_MAP1_GRID_DOMAIN)); | |
9521 | PyDict_SetItemString(d,"GL_MAP1_GRID_SEGMENTS", PyInt_FromLong((long) GL_MAP1_GRID_SEGMENTS)); | |
9522 | PyDict_SetItemString(d,"GL_MAP1_INDEX", PyInt_FromLong((long) GL_MAP1_INDEX)); | |
9523 | PyDict_SetItemString(d,"GL_MAP1_NORMAL", PyInt_FromLong((long) GL_MAP1_NORMAL)); | |
9524 | PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_1", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_1)); | |
9525 | PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_2", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_2)); | |
9526 | PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_3", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_3)); | |
9527 | PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_4", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_4)); | |
9528 | PyDict_SetItemString(d,"GL_MAP1_VERTEX_3", PyInt_FromLong((long) GL_MAP1_VERTEX_3)); | |
9529 | PyDict_SetItemString(d,"GL_MAP1_VERTEX_4", PyInt_FromLong((long) GL_MAP1_VERTEX_4)); | |
9530 | PyDict_SetItemString(d,"GL_MAP2_COLOR_4", PyInt_FromLong((long) GL_MAP2_COLOR_4)); | |
9531 | PyDict_SetItemString(d,"GL_MAP2_GRID_DOMAIN", PyInt_FromLong((long) GL_MAP2_GRID_DOMAIN)); | |
9532 | PyDict_SetItemString(d,"GL_MAP2_GRID_SEGMENTS", PyInt_FromLong((long) GL_MAP2_GRID_SEGMENTS)); | |
9533 | PyDict_SetItemString(d,"GL_MAP2_INDEX", PyInt_FromLong((long) GL_MAP2_INDEX)); | |
9534 | PyDict_SetItemString(d,"GL_MAP2_NORMAL", PyInt_FromLong((long) GL_MAP2_NORMAL)); | |
9535 | PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_1", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_1)); | |
9536 | PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_2", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_2)); | |
9537 | PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_3", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_3)); | |
9538 | PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_4", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_4)); | |
9539 | PyDict_SetItemString(d,"GL_MAP2_VERTEX_3", PyInt_FromLong((long) GL_MAP2_VERTEX_3)); | |
9540 | PyDict_SetItemString(d,"GL_MAP2_VERTEX_4", PyInt_FromLong((long) GL_MAP2_VERTEX_4)); | |
9541 | PyDict_SetItemString(d,"GL_MAP_COLOR", PyInt_FromLong((long) GL_MAP_COLOR)); | |
9542 | PyDict_SetItemString(d,"GL_MAP_STENCIL", PyInt_FromLong((long) GL_MAP_STENCIL)); | |
9543 | PyDict_SetItemString(d,"GL_MATRIX_MODE", PyInt_FromLong((long) GL_MATRIX_MODE)); | |
9544 | PyDict_SetItemString(d,"GL_MAX_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_ATTRIB_STACK_DEPTH)); | |
9545 | PyDict_SetItemString(d,"GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_CLIENT_ATTRIB_STACK_DEPTH)); | |
9546 | PyDict_SetItemString(d,"GL_MAX_CLIP_PLANES", PyInt_FromLong((long) GL_MAX_CLIP_PLANES)); | |
9547 | PyDict_SetItemString(d,"GL_MAX_EVAL_ORDER", PyInt_FromLong((long) GL_MAX_EVAL_ORDER)); | |
9548 | PyDict_SetItemString(d,"GL_MAX_LIGHTS", PyInt_FromLong((long) GL_MAX_LIGHTS)); | |
9549 | PyDict_SetItemString(d,"GL_MAX_LIST_NESTING", PyInt_FromLong((long) GL_MAX_LIST_NESTING)); | |
9550 | PyDict_SetItemString(d,"GL_MAX_MODELVIEW_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_MODELVIEW_STACK_DEPTH)); | |
9551 | PyDict_SetItemString(d,"GL_MAX_NAME_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_NAME_STACK_DEPTH)); | |
9552 | PyDict_SetItemString(d,"GL_MAX_PIXEL_MAP_TABLE", PyInt_FromLong((long) GL_MAX_PIXEL_MAP_TABLE)); | |
9553 | PyDict_SetItemString(d,"GL_MAX_PROJECTION_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_PROJECTION_STACK_DEPTH)); | |
9554 | PyDict_SetItemString(d,"GL_MAX_TEXTURE_SIZE", PyInt_FromLong((long) GL_MAX_TEXTURE_SIZE)); | |
9555 | PyDict_SetItemString(d,"GL_MAX_TEXTURE_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_TEXTURE_STACK_DEPTH)); | |
9556 | PyDict_SetItemString(d,"GL_MAX_VIEWPORT_DIMS", PyInt_FromLong((long) GL_MAX_VIEWPORT_DIMS)); | |
9557 | PyDict_SetItemString(d,"GL_MODELVIEW", PyInt_FromLong((long) GL_MODELVIEW)); | |
9558 | PyDict_SetItemString(d,"GL_MODELVIEW_MATRIX", PyInt_FromLong((long) GL_MODELVIEW_MATRIX)); | |
9559 | PyDict_SetItemString(d,"GL_MODELVIEW_STACK_DEPTH", PyInt_FromLong((long) GL_MODELVIEW_STACK_DEPTH)); | |
9560 | PyDict_SetItemString(d,"GL_MODULATE", PyInt_FromLong((long) GL_MODULATE)); | |
9561 | PyDict_SetItemString(d,"GL_MULT", PyInt_FromLong((long) GL_MULT)); | |
9562 | PyDict_SetItemString(d,"GL_N3F_V3F", PyInt_FromLong((long) GL_N3F_V3F)); | |
9563 | PyDict_SetItemString(d,"GL_NAME_STACK_DEPTH", PyInt_FromLong((long) GL_NAME_STACK_DEPTH)); | |
9564 | PyDict_SetItemString(d,"GL_NAND", PyInt_FromLong((long) GL_NAND)); | |
9565 | PyDict_SetItemString(d,"GL_NEAREST", PyInt_FromLong((long) GL_NEAREST)); | |
9566 | PyDict_SetItemString(d,"GL_NEAREST_MIPMAP_LINEAR", PyInt_FromLong((long) GL_NEAREST_MIPMAP_LINEAR)); | |
9567 | PyDict_SetItemString(d,"GL_NEAREST_MIPMAP_NEAREST", PyInt_FromLong((long) GL_NEAREST_MIPMAP_NEAREST)); | |
9568 | PyDict_SetItemString(d,"GL_NEVER", PyInt_FromLong((long) GL_NEVER)); | |
9569 | PyDict_SetItemString(d,"GL_NICEST", PyInt_FromLong((long) GL_NICEST)); | |
9570 | PyDict_SetItemString(d,"GL_NONE", PyInt_FromLong((long) GL_NONE)); | |
9571 | PyDict_SetItemString(d,"GL_NOOP", PyInt_FromLong((long) GL_NOOP)); | |
9572 | PyDict_SetItemString(d,"GL_NOR", PyInt_FromLong((long) GL_NOR)); | |
9573 | PyDict_SetItemString(d,"GL_NORMALIZE", PyInt_FromLong((long) GL_NORMALIZE)); | |
9574 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY", PyInt_FromLong((long) GL_NORMAL_ARRAY)); | |
9575 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_COUNT_EXT)); | |
9576 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_EXT)); | |
9577 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_POINTER", PyInt_FromLong((long) GL_NORMAL_ARRAY_POINTER)); | |
9578 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_POINTER_EXT)); | |
9579 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_STRIDE", PyInt_FromLong((long) GL_NORMAL_ARRAY_STRIDE)); | |
9580 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_STRIDE_EXT)); | |
9581 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_TYPE", PyInt_FromLong((long) GL_NORMAL_ARRAY_TYPE)); | |
9582 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_TYPE_EXT)); | |
9583 | PyDict_SetItemString(d,"GL_NOTEQUAL", PyInt_FromLong((long) GL_NOTEQUAL)); | |
9584 | PyDict_SetItemString(d,"GL_NO_ERROR", PyInt_FromLong((long) GL_NO_ERROR)); | |
9585 | PyDict_SetItemString(d,"GL_OBJECT_LINEAR", PyInt_FromLong((long) GL_OBJECT_LINEAR)); | |
9586 | PyDict_SetItemString(d,"GL_OBJECT_PLANE", PyInt_FromLong((long) GL_OBJECT_PLANE)); | |
9587 | PyDict_SetItemString(d,"GL_ONE", PyInt_FromLong((long) GL_ONE)); | |
9588 | PyDict_SetItemString(d,"GL_ONE_MINUS_DST_ALPHA", PyInt_FromLong((long) GL_ONE_MINUS_DST_ALPHA)); | |
9589 | PyDict_SetItemString(d,"GL_ONE_MINUS_DST_COLOR", PyInt_FromLong((long) GL_ONE_MINUS_DST_COLOR)); | |
9590 | PyDict_SetItemString(d,"GL_ONE_MINUS_SRC_ALPHA", PyInt_FromLong((long) GL_ONE_MINUS_SRC_ALPHA)); | |
9591 | PyDict_SetItemString(d,"GL_ONE_MINUS_SRC_COLOR", PyInt_FromLong((long) GL_ONE_MINUS_SRC_COLOR)); | |
9592 | PyDict_SetItemString(d,"GL_OR", PyInt_FromLong((long) GL_OR)); | |
9593 | PyDict_SetItemString(d,"GL_ORDER", PyInt_FromLong((long) GL_ORDER)); | |
9594 | PyDict_SetItemString(d,"GL_OR_INVERTED", PyInt_FromLong((long) GL_OR_INVERTED)); | |
9595 | PyDict_SetItemString(d,"GL_OR_REVERSE", PyInt_FromLong((long) GL_OR_REVERSE)); | |
9596 | PyDict_SetItemString(d,"GL_OUT_OF_MEMORY", PyInt_FromLong((long) GL_OUT_OF_MEMORY)); | |
9597 | PyDict_SetItemString(d,"GL_PACK_ALIGNMENT", PyInt_FromLong((long) GL_PACK_ALIGNMENT)); | |
9598 | PyDict_SetItemString(d,"GL_PACK_LSB_FIRST", PyInt_FromLong((long) GL_PACK_LSB_FIRST)); | |
9599 | PyDict_SetItemString(d,"GL_PACK_ROW_LENGTH", PyInt_FromLong((long) GL_PACK_ROW_LENGTH)); | |
9600 | PyDict_SetItemString(d,"GL_PACK_SKIP_PIXELS", PyInt_FromLong((long) GL_PACK_SKIP_PIXELS)); | |
9601 | PyDict_SetItemString(d,"GL_PACK_SKIP_ROWS", PyInt_FromLong((long) GL_PACK_SKIP_ROWS)); | |
9602 | PyDict_SetItemString(d,"GL_PACK_SWAP_BYTES", PyInt_FromLong((long) GL_PACK_SWAP_BYTES)); | |
9603 | PyDict_SetItemString(d,"GL_PASS_THROUGH_TOKEN", PyInt_FromLong((long) GL_PASS_THROUGH_TOKEN)); | |
9604 | PyDict_SetItemString(d,"GL_PERSPECTIVE_CORRECTION_HINT", PyInt_FromLong((long) GL_PERSPECTIVE_CORRECTION_HINT)); | |
9605 | PyDict_SetItemString(d,"GL_PIXEL_MAP_A_TO_A", PyInt_FromLong((long) GL_PIXEL_MAP_A_TO_A)); | |
9606 | PyDict_SetItemString(d,"GL_PIXEL_MAP_A_TO_A_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_A_TO_A_SIZE)); | |
9607 | PyDict_SetItemString(d,"GL_PIXEL_MAP_B_TO_B", PyInt_FromLong((long) GL_PIXEL_MAP_B_TO_B)); | |
9608 | PyDict_SetItemString(d,"GL_PIXEL_MAP_B_TO_B_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_B_TO_B_SIZE)); | |
9609 | PyDict_SetItemString(d,"GL_PIXEL_MAP_G_TO_G", PyInt_FromLong((long) GL_PIXEL_MAP_G_TO_G)); | |
9610 | PyDict_SetItemString(d,"GL_PIXEL_MAP_G_TO_G_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_G_TO_G_SIZE)); | |
9611 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_A", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_A)); | |
9612 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_A_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_A_SIZE)); | |
9613 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_B", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_B)); | |
9614 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_B_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_B_SIZE)); | |
9615 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_G", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_G)); | |
9616 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_G_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_G_SIZE)); | |
9617 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_I", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_I)); | |
9618 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_I_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_I_SIZE)); | |
9619 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_R", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_R)); | |
9620 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_R_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_R_SIZE)); | |
9621 | PyDict_SetItemString(d,"GL_PIXEL_MAP_R_TO_R", PyInt_FromLong((long) GL_PIXEL_MAP_R_TO_R)); | |
9622 | PyDict_SetItemString(d,"GL_PIXEL_MAP_R_TO_R_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_R_TO_R_SIZE)); | |
9623 | PyDict_SetItemString(d,"GL_PIXEL_MAP_S_TO_S", PyInt_FromLong((long) GL_PIXEL_MAP_S_TO_S)); | |
9624 | PyDict_SetItemString(d,"GL_PIXEL_MAP_S_TO_S_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_S_TO_S_SIZE)); | |
9625 | PyDict_SetItemString(d,"GL_PIXEL_MODE_BIT", PyInt_FromLong((long) GL_PIXEL_MODE_BIT)); | |
9626 | PyDict_SetItemString(d,"GL_POINT", PyInt_FromLong((long) GL_POINT)); | |
9627 | PyDict_SetItemString(d,"GL_POINTS", PyInt_FromLong((long) GL_POINTS)); | |
9628 | PyDict_SetItemString(d,"GL_POINT_BIT", PyInt_FromLong((long) GL_POINT_BIT)); | |
9629 | PyDict_SetItemString(d,"GL_POINT_SIZE", PyInt_FromLong((long) GL_POINT_SIZE)); | |
9630 | PyDict_SetItemString(d,"GL_POINT_SIZE_GRANULARITY", PyInt_FromLong((long) GL_POINT_SIZE_GRANULARITY)); | |
9631 | PyDict_SetItemString(d,"GL_POINT_SIZE_RANGE", PyInt_FromLong((long) GL_POINT_SIZE_RANGE)); | |
9632 | PyDict_SetItemString(d,"GL_POINT_SMOOTH", PyInt_FromLong((long) GL_POINT_SMOOTH)); | |
9633 | PyDict_SetItemString(d,"GL_POINT_SMOOTH_HINT", PyInt_FromLong((long) GL_POINT_SMOOTH_HINT)); | |
9634 | PyDict_SetItemString(d,"GL_POINT_TOKEN", PyInt_FromLong((long) GL_POINT_TOKEN)); | |
9635 | PyDict_SetItemString(d,"GL_POLYGON", PyInt_FromLong((long) GL_POLYGON)); | |
9636 | PyDict_SetItemString(d,"GL_POLYGON_BIT", PyInt_FromLong((long) GL_POLYGON_BIT)); | |
9637 | PyDict_SetItemString(d,"GL_POLYGON_MODE", PyInt_FromLong((long) GL_POLYGON_MODE)); | |
9638 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_FACTOR", PyInt_FromLong((long) GL_POLYGON_OFFSET_FACTOR)); | |
9639 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_FILL", PyInt_FromLong((long) GL_POLYGON_OFFSET_FILL)); | |
9640 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_LINE", PyInt_FromLong((long) GL_POLYGON_OFFSET_LINE)); | |
9641 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_POINT", PyInt_FromLong((long) GL_POLYGON_OFFSET_POINT)); | |
9642 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_UNITS", PyInt_FromLong((long) GL_POLYGON_OFFSET_UNITS)); | |
9643 | PyDict_SetItemString(d,"GL_POLYGON_SMOOTH", PyInt_FromLong((long) GL_POLYGON_SMOOTH)); | |
9644 | PyDict_SetItemString(d,"GL_POLYGON_SMOOTH_HINT", PyInt_FromLong((long) GL_POLYGON_SMOOTH_HINT)); | |
9645 | PyDict_SetItemString(d,"GL_POLYGON_STIPPLE", PyInt_FromLong((long) GL_POLYGON_STIPPLE)); | |
9646 | PyDict_SetItemString(d,"GL_POLYGON_STIPPLE_BIT", PyInt_FromLong((long) GL_POLYGON_STIPPLE_BIT)); | |
9647 | PyDict_SetItemString(d,"GL_POLYGON_TOKEN", PyInt_FromLong((long) GL_POLYGON_TOKEN)); | |
9648 | PyDict_SetItemString(d,"GL_POSITION", PyInt_FromLong((long) GL_POSITION)); | |
9649 | PyDict_SetItemString(d,"GL_PROJECTION", PyInt_FromLong((long) GL_PROJECTION)); | |
9650 | PyDict_SetItemString(d,"GL_PROJECTION_MATRIX", PyInt_FromLong((long) GL_PROJECTION_MATRIX)); | |
9651 | PyDict_SetItemString(d,"GL_PROJECTION_STACK_DEPTH", PyInt_FromLong((long) GL_PROJECTION_STACK_DEPTH)); | |
9652 | PyDict_SetItemString(d,"GL_PROXY_TEXTURE_1D", PyInt_FromLong((long) GL_PROXY_TEXTURE_1D)); | |
9653 | PyDict_SetItemString(d,"GL_PROXY_TEXTURE_2D", PyInt_FromLong((long) GL_PROXY_TEXTURE_2D)); | |
9654 | PyDict_SetItemString(d,"GL_Q", PyInt_FromLong((long) GL_Q)); | |
9655 | PyDict_SetItemString(d,"GL_QUADRATIC_ATTENUATION", PyInt_FromLong((long) GL_QUADRATIC_ATTENUATION)); | |
9656 | PyDict_SetItemString(d,"GL_QUADS", PyInt_FromLong((long) GL_QUADS)); | |
9657 | PyDict_SetItemString(d,"GL_QUAD_STRIP", PyInt_FromLong((long) GL_QUAD_STRIP)); | |
9658 | PyDict_SetItemString(d,"GL_R", PyInt_FromLong((long) GL_R)); | |
9659 | PyDict_SetItemString(d,"GL_R3_G3_B2", PyInt_FromLong((long) GL_R3_G3_B2)); | |
9660 | PyDict_SetItemString(d,"GL_READ_BUFFER", PyInt_FromLong((long) GL_READ_BUFFER)); | |
9661 | PyDict_SetItemString(d,"GL_RED", PyInt_FromLong((long) GL_RED)); | |
9662 | PyDict_SetItemString(d,"GL_RED_BIAS", PyInt_FromLong((long) GL_RED_BIAS)); | |
9663 | PyDict_SetItemString(d,"GL_RED_BITS", PyInt_FromLong((long) GL_RED_BITS)); | |
9664 | PyDict_SetItemString(d,"GL_RED_SCALE", PyInt_FromLong((long) GL_RED_SCALE)); | |
9665 | PyDict_SetItemString(d,"GL_RENDER", PyInt_FromLong((long) GL_RENDER)); | |
9666 | PyDict_SetItemString(d,"GL_RENDERER", PyInt_FromLong((long) GL_RENDERER)); | |
9667 | PyDict_SetItemString(d,"GL_RENDER_MODE", PyInt_FromLong((long) GL_RENDER_MODE)); | |
9668 | PyDict_SetItemString(d,"GL_REPEAT", PyInt_FromLong((long) GL_REPEAT)); | |
9669 | PyDict_SetItemString(d,"GL_REPLACE", PyInt_FromLong((long) GL_REPLACE)); | |
9670 | PyDict_SetItemString(d,"GL_RETURN", PyInt_FromLong((long) GL_RETURN)); | |
9671 | PyDict_SetItemString(d,"GL_RGB", PyInt_FromLong((long) GL_RGB)); | |
9672 | PyDict_SetItemString(d,"GL_RGB10", PyInt_FromLong((long) GL_RGB10)); | |
9673 | PyDict_SetItemString(d,"GL_RGB10_A2", PyInt_FromLong((long) GL_RGB10_A2)); | |
9674 | PyDict_SetItemString(d,"GL_RGB12", PyInt_FromLong((long) GL_RGB12)); | |
9675 | PyDict_SetItemString(d,"GL_RGB16", PyInt_FromLong((long) GL_RGB16)); | |
9676 | PyDict_SetItemString(d,"GL_RGB4", PyInt_FromLong((long) GL_RGB4)); | |
9677 | PyDict_SetItemString(d,"GL_RGB5", PyInt_FromLong((long) GL_RGB5)); | |
9678 | PyDict_SetItemString(d,"GL_RGB5_A1", PyInt_FromLong((long) GL_RGB5_A1)); | |
9679 | PyDict_SetItemString(d,"GL_RGB8", PyInt_FromLong((long) GL_RGB8)); | |
9680 | PyDict_SetItemString(d,"GL_RGBA", PyInt_FromLong((long) GL_RGBA)); | |
9681 | PyDict_SetItemString(d,"GL_RGBA12", PyInt_FromLong((long) GL_RGBA12)); | |
9682 | PyDict_SetItemString(d,"GL_RGBA16", PyInt_FromLong((long) GL_RGBA16)); | |
9683 | PyDict_SetItemString(d,"GL_RGBA2", PyInt_FromLong((long) GL_RGBA2)); | |
9684 | PyDict_SetItemString(d,"GL_RGBA4", PyInt_FromLong((long) GL_RGBA4)); | |
9685 | PyDict_SetItemString(d,"GL_RGBA8", PyInt_FromLong((long) GL_RGBA8)); | |
9686 | PyDict_SetItemString(d,"GL_RGBA_MODE", PyInt_FromLong((long) GL_RGBA_MODE)); | |
9687 | PyDict_SetItemString(d,"GL_RIGHT", PyInt_FromLong((long) GL_RIGHT)); | |
9688 | PyDict_SetItemString(d,"GL_S", PyInt_FromLong((long) GL_S)); | |
9689 | PyDict_SetItemString(d,"GL_SCISSOR_BIT", PyInt_FromLong((long) GL_SCISSOR_BIT)); | |
9690 | PyDict_SetItemString(d,"GL_SCISSOR_BOX", PyInt_FromLong((long) GL_SCISSOR_BOX)); | |
9691 | PyDict_SetItemString(d,"GL_SCISSOR_TEST", PyInt_FromLong((long) GL_SCISSOR_TEST)); | |
9692 | PyDict_SetItemString(d,"GL_SELECT", PyInt_FromLong((long) GL_SELECT)); | |
9693 | PyDict_SetItemString(d,"GL_SELECTION_BUFFER_POINTER", PyInt_FromLong((long) GL_SELECTION_BUFFER_POINTER)); | |
9694 | PyDict_SetItemString(d,"GL_SELECTION_BUFFER_SIZE", PyInt_FromLong((long) GL_SELECTION_BUFFER_SIZE)); | |
9695 | PyDict_SetItemString(d,"GL_SET", PyInt_FromLong((long) GL_SET)); | |
9696 | PyDict_SetItemString(d,"GL_SHADE_MODEL", PyInt_FromLong((long) GL_SHADE_MODEL)); | |
9697 | PyDict_SetItemString(d,"GL_SHININESS", PyInt_FromLong((long) GL_SHININESS)); | |
9698 | PyDict_SetItemString(d,"GL_SHORT", PyInt_FromLong((long) GL_SHORT)); | |
9699 | PyDict_SetItemString(d,"GL_SMOOTH", PyInt_FromLong((long) GL_SMOOTH)); | |
9700 | PyDict_SetItemString(d,"GL_SPECULAR", PyInt_FromLong((long) GL_SPECULAR)); | |
9701 | PyDict_SetItemString(d,"GL_SPHERE_MAP", PyInt_FromLong((long) GL_SPHERE_MAP)); | |
9702 | PyDict_SetItemString(d,"GL_SPOT_CUTOFF", PyInt_FromLong((long) GL_SPOT_CUTOFF)); | |
9703 | PyDict_SetItemString(d,"GL_SPOT_DIRECTION", PyInt_FromLong((long) GL_SPOT_DIRECTION)); | |
9704 | PyDict_SetItemString(d,"GL_SPOT_EXPONENT", PyInt_FromLong((long) GL_SPOT_EXPONENT)); | |
9705 | PyDict_SetItemString(d,"GL_SRC_ALPHA", PyInt_FromLong((long) GL_SRC_ALPHA)); | |
9706 | PyDict_SetItemString(d,"GL_SRC_ALPHA_SATURATE", PyInt_FromLong((long) GL_SRC_ALPHA_SATURATE)); | |
9707 | PyDict_SetItemString(d,"GL_SRC_COLOR", PyInt_FromLong((long) GL_SRC_COLOR)); | |
9708 | PyDict_SetItemString(d,"GL_STACK_OVERFLOW", PyInt_FromLong((long) GL_STACK_OVERFLOW)); | |
9709 | PyDict_SetItemString(d,"GL_STACK_UNDERFLOW", PyInt_FromLong((long) GL_STACK_UNDERFLOW)); | |
9710 | PyDict_SetItemString(d,"GL_STENCIL", PyInt_FromLong((long) GL_STENCIL)); | |
9711 | PyDict_SetItemString(d,"GL_STENCIL_BITS", PyInt_FromLong((long) GL_STENCIL_BITS)); | |
9712 | PyDict_SetItemString(d,"GL_STENCIL_BUFFER_BIT", PyInt_FromLong((long) GL_STENCIL_BUFFER_BIT)); | |
9713 | PyDict_SetItemString(d,"GL_STENCIL_CLEAR_VALUE", PyInt_FromLong((long) GL_STENCIL_CLEAR_VALUE)); | |
9714 | PyDict_SetItemString(d,"GL_STENCIL_FAIL", PyInt_FromLong((long) GL_STENCIL_FAIL)); | |
9715 | PyDict_SetItemString(d,"GL_STENCIL_FUNC", PyInt_FromLong((long) GL_STENCIL_FUNC)); | |
9716 | PyDict_SetItemString(d,"GL_STENCIL_INDEX", PyInt_FromLong((long) GL_STENCIL_INDEX)); | |
9717 | PyDict_SetItemString(d,"GL_STENCIL_PASS_DEPTH_FAIL", PyInt_FromLong((long) GL_STENCIL_PASS_DEPTH_FAIL)); | |
9718 | PyDict_SetItemString(d,"GL_STENCIL_PASS_DEPTH_PASS", PyInt_FromLong((long) GL_STENCIL_PASS_DEPTH_PASS)); | |
9719 | PyDict_SetItemString(d,"GL_STENCIL_REF", PyInt_FromLong((long) GL_STENCIL_REF)); | |
9720 | PyDict_SetItemString(d,"GL_STENCIL_TEST", PyInt_FromLong((long) GL_STENCIL_TEST)); | |
9721 | PyDict_SetItemString(d,"GL_STENCIL_VALUE_MASK", PyInt_FromLong((long) GL_STENCIL_VALUE_MASK)); | |
9722 | PyDict_SetItemString(d,"GL_STENCIL_WRITEMASK", PyInt_FromLong((long) GL_STENCIL_WRITEMASK)); | |
9723 | PyDict_SetItemString(d,"GL_STEREO", PyInt_FromLong((long) GL_STEREO)); | |
9724 | PyDict_SetItemString(d,"GL_SUBPIXEL_BITS", PyInt_FromLong((long) GL_SUBPIXEL_BITS)); | |
9725 | PyDict_SetItemString(d,"GL_T", PyInt_FromLong((long) GL_T)); | |
9726 | PyDict_SetItemString(d,"GL_T2F_C3F_V3F", PyInt_FromLong((long) GL_T2F_C3F_V3F)); | |
9727 | PyDict_SetItemString(d,"GL_T2F_C4F_N3F_V3F", PyInt_FromLong((long) GL_T2F_C4F_N3F_V3F)); | |
9728 | PyDict_SetItemString(d,"GL_T2F_C4UB_V3F", PyInt_FromLong((long) GL_T2F_C4UB_V3F)); | |
9729 | PyDict_SetItemString(d,"GL_T2F_N3F_V3F", PyInt_FromLong((long) GL_T2F_N3F_V3F)); | |
9730 | PyDict_SetItemString(d,"GL_T2F_V3F", PyInt_FromLong((long) GL_T2F_V3F)); | |
9731 | PyDict_SetItemString(d,"GL_T4F_C4F_N3F_V4F", PyInt_FromLong((long) GL_T4F_C4F_N3F_V4F)); | |
9732 | PyDict_SetItemString(d,"GL_T4F_V4F", PyInt_FromLong((long) GL_T4F_V4F)); | |
9733 | PyDict_SetItemString(d,"GL_TEXTURE", PyInt_FromLong((long) GL_TEXTURE)); | |
9734 | PyDict_SetItemString(d,"GL_TEXTURE_1D", PyInt_FromLong((long) GL_TEXTURE_1D)); | |
9735 | PyDict_SetItemString(d,"GL_TEXTURE_2D", PyInt_FromLong((long) GL_TEXTURE_2D)); | |
9736 | PyDict_SetItemString(d,"GL_TEXTURE_ALPHA_SIZE", PyInt_FromLong((long) GL_TEXTURE_ALPHA_SIZE)); | |
9737 | PyDict_SetItemString(d,"GL_TEXTURE_BINDING_1D", PyInt_FromLong((long) GL_TEXTURE_BINDING_1D)); | |
9738 | PyDict_SetItemString(d,"GL_TEXTURE_BINDING_2D", PyInt_FromLong((long) GL_TEXTURE_BINDING_2D)); | |
9739 | PyDict_SetItemString(d,"GL_TEXTURE_BIT", PyInt_FromLong((long) GL_TEXTURE_BIT)); | |
9740 | PyDict_SetItemString(d,"GL_TEXTURE_BLUE_SIZE", PyInt_FromLong((long) GL_TEXTURE_BLUE_SIZE)); | |
9741 | PyDict_SetItemString(d,"GL_TEXTURE_BORDER", PyInt_FromLong((long) GL_TEXTURE_BORDER)); | |
9742 | PyDict_SetItemString(d,"GL_TEXTURE_BORDER_COLOR", PyInt_FromLong((long) GL_TEXTURE_BORDER_COLOR)); | |
9743 | PyDict_SetItemString(d,"GL_TEXTURE_COMPONENTS", PyInt_FromLong((long) GL_TEXTURE_COMPONENTS)); | |
9744 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY)); | |
9745 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_COUNT_EXT)); | |
9746 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_EXT)); | |
9747 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_POINTER", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_POINTER)); | |
9748 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_POINTER_EXT)); | |
9749 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_SIZE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_SIZE)); | |
9750 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_SIZE_EXT)); | |
9751 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_STRIDE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_STRIDE)); | |
9752 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_STRIDE_EXT)); | |
9753 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_TYPE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_TYPE)); | |
9754 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_TYPE_EXT)); | |
9755 | PyDict_SetItemString(d,"GL_TEXTURE_ENV", PyInt_FromLong((long) GL_TEXTURE_ENV)); | |
9756 | PyDict_SetItemString(d,"GL_TEXTURE_ENV_COLOR", PyInt_FromLong((long) GL_TEXTURE_ENV_COLOR)); | |
9757 | PyDict_SetItemString(d,"GL_TEXTURE_ENV_MODE", PyInt_FromLong((long) GL_TEXTURE_ENV_MODE)); | |
9758 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_MODE", PyInt_FromLong((long) GL_TEXTURE_GEN_MODE)); | |
9759 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_Q", PyInt_FromLong((long) GL_TEXTURE_GEN_Q)); | |
9760 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_R", PyInt_FromLong((long) GL_TEXTURE_GEN_R)); | |
9761 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_S", PyInt_FromLong((long) GL_TEXTURE_GEN_S)); | |
9762 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_T", PyInt_FromLong((long) GL_TEXTURE_GEN_T)); | |
9763 | PyDict_SetItemString(d,"GL_TEXTURE_GREEN_SIZE", PyInt_FromLong((long) GL_TEXTURE_GREEN_SIZE)); | |
9764 | PyDict_SetItemString(d,"GL_TEXTURE_HEIGHT", PyInt_FromLong((long) GL_TEXTURE_HEIGHT)); | |
9765 | PyDict_SetItemString(d,"GL_TEXTURE_INTENSITY_SIZE", PyInt_FromLong((long) GL_TEXTURE_INTENSITY_SIZE)); | |
9766 | PyDict_SetItemString(d,"GL_TEXTURE_INTERNAL_FORMAT", PyInt_FromLong((long) GL_TEXTURE_INTERNAL_FORMAT)); | |
9767 | PyDict_SetItemString(d,"GL_TEXTURE_LUMINANCE_SIZE", PyInt_FromLong((long) GL_TEXTURE_LUMINANCE_SIZE)); | |
9768 | PyDict_SetItemString(d,"GL_TEXTURE_MAG_FILTER", PyInt_FromLong((long) GL_TEXTURE_MAG_FILTER)); | |
9769 | PyDict_SetItemString(d,"GL_TEXTURE_MATRIX", PyInt_FromLong((long) GL_TEXTURE_MATRIX)); | |
9770 | PyDict_SetItemString(d,"GL_TEXTURE_MIN_FILTER", PyInt_FromLong((long) GL_TEXTURE_MIN_FILTER)); | |
9771 | PyDict_SetItemString(d,"GL_TEXTURE_PRIORITY", PyInt_FromLong((long) GL_TEXTURE_PRIORITY)); | |
9772 | PyDict_SetItemString(d,"GL_TEXTURE_RED_SIZE", PyInt_FromLong((long) GL_TEXTURE_RED_SIZE)); | |
9773 | PyDict_SetItemString(d,"GL_TEXTURE_RESIDENT", PyInt_FromLong((long) GL_TEXTURE_RESIDENT)); | |
9774 | PyDict_SetItemString(d,"GL_TEXTURE_STACK_DEPTH", PyInt_FromLong((long) GL_TEXTURE_STACK_DEPTH)); | |
9775 | PyDict_SetItemString(d,"GL_TEXTURE_WIDTH", PyInt_FromLong((long) GL_TEXTURE_WIDTH)); | |
9776 | PyDict_SetItemString(d,"GL_TEXTURE_WRAP_S", PyInt_FromLong((long) GL_TEXTURE_WRAP_S)); | |
9777 | PyDict_SetItemString(d,"GL_TEXTURE_WRAP_T", PyInt_FromLong((long) GL_TEXTURE_WRAP_T)); | |
9778 | PyDict_SetItemString(d,"GL_TRANSFORM_BIT", PyInt_FromLong((long) GL_TRANSFORM_BIT)); | |
9779 | PyDict_SetItemString(d,"GL_TRIANGLES", PyInt_FromLong((long) GL_TRIANGLES)); | |
9780 | PyDict_SetItemString(d,"GL_TRIANGLE_FAN", PyInt_FromLong((long) GL_TRIANGLE_FAN)); | |
9781 | PyDict_SetItemString(d,"GL_TRIANGLE_STRIP", PyInt_FromLong((long) GL_TRIANGLE_STRIP)); | |
9782 | PyDict_SetItemString(d,"GL_TRUE", PyInt_FromLong((long) GL_TRUE)); | |
9783 | PyDict_SetItemString(d,"GL_UNPACK_ALIGNMENT", PyInt_FromLong((long) GL_UNPACK_ALIGNMENT)); | |
9784 | PyDict_SetItemString(d,"GL_UNPACK_LSB_FIRST", PyInt_FromLong((long) GL_UNPACK_LSB_FIRST)); | |
9785 | PyDict_SetItemString(d,"GL_UNPACK_ROW_LENGTH", PyInt_FromLong((long) GL_UNPACK_ROW_LENGTH)); | |
9786 | PyDict_SetItemString(d,"GL_UNPACK_SKIP_PIXELS", PyInt_FromLong((long) GL_UNPACK_SKIP_PIXELS)); | |
9787 | PyDict_SetItemString(d,"GL_UNPACK_SKIP_ROWS", PyInt_FromLong((long) GL_UNPACK_SKIP_ROWS)); | |
9788 | PyDict_SetItemString(d,"GL_UNPACK_SWAP_BYTES", PyInt_FromLong((long) GL_UNPACK_SWAP_BYTES)); | |
9789 | PyDict_SetItemString(d,"GL_UNSIGNED_BYTE", PyInt_FromLong((long) GL_UNSIGNED_BYTE)); | |
9790 | PyDict_SetItemString(d,"GL_UNSIGNED_INT", PyInt_FromLong((long) GL_UNSIGNED_INT)); | |
9791 | PyDict_SetItemString(d,"GL_UNSIGNED_SHORT", PyInt_FromLong((long) GL_UNSIGNED_SHORT)); | |
9792 | PyDict_SetItemString(d,"GL_V2F", PyInt_FromLong((long) GL_V2F)); | |
9793 | PyDict_SetItemString(d,"GL_V3F", PyInt_FromLong((long) GL_V3F)); | |
9794 | PyDict_SetItemString(d,"GL_VENDOR", PyInt_FromLong((long) GL_VENDOR)); | |
9795 | PyDict_SetItemString(d,"GL_VERSION", PyInt_FromLong((long) GL_VERSION)); | |
9796 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY", PyInt_FromLong((long) GL_VERTEX_ARRAY)); | |
9797 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_COUNT_EXT)); | |
9798 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_EXT)); | |
9799 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_POINTER", PyInt_FromLong((long) GL_VERTEX_ARRAY_POINTER)); | |
9800 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_POINTER_EXT)); | |
9801 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_SIZE", PyInt_FromLong((long) GL_VERTEX_ARRAY_SIZE)); | |
9802 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_SIZE_EXT)); | |
9803 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_STRIDE", PyInt_FromLong((long) GL_VERTEX_ARRAY_STRIDE)); | |
9804 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_STRIDE_EXT)); | |
9805 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_TYPE", PyInt_FromLong((long) GL_VERTEX_ARRAY_TYPE)); | |
9806 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_TYPE_EXT)); | |
9807 | PyDict_SetItemString(d,"GL_VIEWPORT", PyInt_FromLong((long) GL_VIEWPORT)); | |
9808 | PyDict_SetItemString(d,"GL_VIEWPORT_BIT", PyInt_FromLong((long) GL_VIEWPORT_BIT)); | |
9809 | PyDict_SetItemString(d,"GL_XOR", PyInt_FromLong((long) GL_XOR)); | |
9810 | PyDict_SetItemString(d,"GL_ZERO", PyInt_FromLong((long) GL_ZERO)); | |
9811 | PyDict_SetItemString(d,"GL_ZOOM_X", PyInt_FromLong((long) GL_ZOOM_X)); | |
9812 | PyDict_SetItemString(d,"GL_ZOOM_Y", PyInt_FromLong((long) GL_ZOOM_Y)); | |
9813 | ||
9814 | ||
9815 | wxClassInfo::CleanUpClasses(); | |
9816 | wxClassInfo::InitializeClasses(); | |
9817 | ||
f786a3b2 HH |
9818 | { |
9819 | int i; | |
9820 | for (i = 0; _swig_mapping[i].n1; i++) | |
9821 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
9822 | } | |
a29cd6c0 | 9823 | } |