Removed all non wx stuff from the glcanvas module since DA's PyOpenGL
[wxWidgets.git] / utils / wxPython / modules / glcanvas / gtk / glcanvas.cpp
1 /*
2 * FILE : gtk/glcanvas.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
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 *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
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
119 #if defined(__WXMSW__)
120 static wxString wxPyEmptyStr("");
121 static wxPoint wxPyDefaultPosition(-1, -1);
122 static wxSize wxPyDefaultSize(-1, -1);
123 #endif
124 #ifdef __cplusplus
125 extern "C" {
126 #endif
127 static PyObject *_wrap_glArrayElementEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
128 PyObject * _resultobj;
129 GLint _arg0;
130 char *_kwnames[] = { "i", NULL };
131
132 self = self;
133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glArrayElementEXT",_kwnames,&_arg0))
134 return NULL;
135 {
136 wxPy_BEGIN_ALLOW_THREADS;
137 glArrayElementEXT(_arg0);
138
139 wxPy_END_ALLOW_THREADS;
140 } Py_INCREF(Py_None);
141 _resultobj = Py_None;
142 return _resultobj;
143 }
144
145 static PyObject *_wrap_glColorPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
146 PyObject * _resultobj;
147 GLint _arg0;
148 GLenum _arg1;
149 GLsizei _arg2;
150 GLsizei _arg3;
151 GLvoid * _arg4;
152 PyObject * _argo4 = 0;
153 char *_kwnames[] = { "size","type","stride","count","pointer", NULL };
154
155 self = self;
156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glColorPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4))
157 return NULL;
158 if (_argo4) {
159 if (_argo4 == Py_None) { _arg4 = NULL; }
160 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) {
161 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glColorPointerEXT. Expected _GLvoid_p.");
162 return NULL;
163 }
164 }
165 {
166 wxPy_BEGIN_ALLOW_THREADS;
167 glColorPointerEXT(_arg0,_arg1,_arg2,_arg3,_arg4);
168
169 wxPy_END_ALLOW_THREADS;
170 } Py_INCREF(Py_None);
171 _resultobj = Py_None;
172 return _resultobj;
173 }
174
175 static PyObject *_wrap_glDrawArraysEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
176 PyObject * _resultobj;
177 GLenum _arg0;
178 GLint _arg1;
179 GLsizei _arg2;
180 char *_kwnames[] = { "mode","first","count", NULL };
181
182 self = self;
183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glDrawArraysEXT",_kwnames,&_arg0,&_arg1,&_arg2))
184 return NULL;
185 {
186 wxPy_BEGIN_ALLOW_THREADS;
187 glDrawArraysEXT(_arg0,_arg1,_arg2);
188
189 wxPy_END_ALLOW_THREADS;
190 } Py_INCREF(Py_None);
191 _resultobj = Py_None;
192 return _resultobj;
193 }
194
195 static PyObject *_wrap_glEdgeFlagPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
196 PyObject * _resultobj;
197 GLsizei _arg0;
198 GLsizei _arg1;
199 GLboolean * _arg2;
200 PyObject * _argo2 = 0;
201 char *_kwnames[] = { "stride","count","pointer", NULL };
202
203 self = self;
204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glEdgeFlagPointerEXT",_kwnames,&_arg0,&_arg1,&_argo2))
205 return NULL;
206 if (_argo2) {
207 if (_argo2 == Py_None) { _arg2 = NULL; }
208 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLboolean_p")) {
209 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glEdgeFlagPointerEXT. Expected _GLboolean_p.");
210 return NULL;
211 }
212 }
213 {
214 wxPy_BEGIN_ALLOW_THREADS;
215 glEdgeFlagPointerEXT(_arg0,_arg1,_arg2);
216
217 wxPy_END_ALLOW_THREADS;
218 } Py_INCREF(Py_None);
219 _resultobj = Py_None;
220 return _resultobj;
221 }
222
223 static PyObject *_wrap_glGetPointervEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
224 PyObject * _resultobj;
225 GLenum _arg0;
226 GLvoid ** _arg1;
227 PyObject * _argo1 = 0;
228 char *_kwnames[] = { "pname","params", NULL };
229
230 self = self;
231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPointervEXT",_kwnames,&_arg0,&_argo1))
232 return NULL;
233 if (_argo1) {
234 if (_argo1 == Py_None) { _arg1 = NULL; }
235 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPointervEXT. Expected _GLvoid_pp.");
237 return NULL;
238 }
239 }
240 {
241 wxPy_BEGIN_ALLOW_THREADS;
242 glGetPointervEXT(_arg0,_arg1);
243
244 wxPy_END_ALLOW_THREADS;
245 } Py_INCREF(Py_None);
246 _resultobj = Py_None;
247 return _resultobj;
248 }
249
250 static PyObject *_wrap_glIndexPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
251 PyObject * _resultobj;
252 GLenum _arg0;
253 GLsizei _arg1;
254 GLsizei _arg2;
255 GLvoid * _arg3;
256 PyObject * _argo3 = 0;
257 char *_kwnames[] = { "type","stride","count","pointer", NULL };
258
259 self = self;
260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glIndexPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
261 return NULL;
262 if (_argo3) {
263 if (_argo3 == Py_None) { _arg3 = NULL; }
264 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glIndexPointerEXT. Expected _GLvoid_p.");
266 return NULL;
267 }
268 }
269 {
270 wxPy_BEGIN_ALLOW_THREADS;
271 glIndexPointerEXT(_arg0,_arg1,_arg2,_arg3);
272
273 wxPy_END_ALLOW_THREADS;
274 } Py_INCREF(Py_None);
275 _resultobj = Py_None;
276 return _resultobj;
277 }
278
279 static PyObject *_wrap_glNormalPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
280 PyObject * _resultobj;
281 GLenum _arg0;
282 GLsizei _arg1;
283 GLsizei _arg2;
284 GLvoid * _arg3;
285 PyObject * _argo3 = 0;
286 char *_kwnames[] = { "type","stride","count","pointer", NULL };
287
288 self = self;
289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glNormalPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
290 return NULL;
291 if (_argo3) {
292 if (_argo3 == Py_None) { _arg3 = NULL; }
293 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
294 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glNormalPointerEXT. Expected _GLvoid_p.");
295 return NULL;
296 }
297 }
298 {
299 wxPy_BEGIN_ALLOW_THREADS;
300 glNormalPointerEXT(_arg0,_arg1,_arg2,_arg3);
301
302 wxPy_END_ALLOW_THREADS;
303 } Py_INCREF(Py_None);
304 _resultobj = Py_None;
305 return _resultobj;
306 }
307
308 static PyObject *_wrap_glTexCoordPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
309 PyObject * _resultobj;
310 GLint _arg0;
311 GLenum _arg1;
312 GLsizei _arg2;
313 GLsizei _arg3;
314 GLvoid * _arg4;
315 PyObject * _argo4 = 0;
316 char *_kwnames[] = { "size","type","stride","count","pointer", NULL };
317
318 self = self;
319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glTexCoordPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4))
320 return NULL;
321 if (_argo4) {
322 if (_argo4 == Py_None) { _arg4 = NULL; }
323 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) {
324 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glTexCoordPointerEXT. Expected _GLvoid_p.");
325 return NULL;
326 }
327 }
328 {
329 wxPy_BEGIN_ALLOW_THREADS;
330 glTexCoordPointerEXT(_arg0,_arg1,_arg2,_arg3,_arg4);
331
332 wxPy_END_ALLOW_THREADS;
333 } Py_INCREF(Py_None);
334 _resultobj = Py_None;
335 return _resultobj;
336 }
337
338 static PyObject *_wrap_glVertexPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
339 PyObject * _resultobj;
340 GLint _arg0;
341 GLenum _arg1;
342 GLsizei _arg2;
343 GLsizei _arg3;
344 GLvoid * _arg4;
345 PyObject * _argo4 = 0;
346 char *_kwnames[] = { "size","type","stride","count","pointer", NULL };
347
348 self = self;
349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glVertexPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4))
350 return NULL;
351 if (_argo4) {
352 if (_argo4 == Py_None) { _arg4 = NULL; }
353 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) {
354 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glVertexPointerEXT. Expected _GLvoid_p.");
355 return NULL;
356 }
357 }
358 {
359 wxPy_BEGIN_ALLOW_THREADS;
360 glVertexPointerEXT(_arg0,_arg1,_arg2,_arg3,_arg4);
361
362 wxPy_END_ALLOW_THREADS;
363 } Py_INCREF(Py_None);
364 _resultobj = Py_None;
365 return _resultobj;
366 }
367
368 static PyObject *_wrap_glColorTableEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
369 PyObject * _resultobj;
370 GLenum _arg0;
371 GLenum _arg1;
372 GLsizei _arg2;
373 GLenum _arg3;
374 GLenum _arg4;
375 GLvoid * _arg5;
376 PyObject * _argo5 = 0;
377 char *_kwnames[] = { "target","internalformat","width","format","type","table", NULL };
378
379 self = self;
380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiO:glColorTableEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5))
381 return NULL;
382 if (_argo5) {
383 if (_argo5 == Py_None) { _arg5 = NULL; }
384 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,(char *) 0 )) {
385 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glColorTableEXT. Expected _GLvoid_p.");
386 return NULL;
387 }
388 }
389 {
390 wxPy_BEGIN_ALLOW_THREADS;
391 glColorTableEXT(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
392
393 wxPy_END_ALLOW_THREADS;
394 } Py_INCREF(Py_None);
395 _resultobj = Py_None;
396 return _resultobj;
397 }
398
399 static PyObject *_wrap_glGetColorTableEXT(PyObject *self, PyObject *args, PyObject *kwargs) {
400 PyObject * _resultobj;
401 GLenum _arg0;
402 GLenum _arg1;
403 GLenum _arg2;
404 GLvoid * _arg3;
405 PyObject * _argo3 = 0;
406 char *_kwnames[] = { "target","format","type","table", NULL };
407
408 self = self;
409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glGetColorTableEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
410 return NULL;
411 if (_argo3) {
412 if (_argo3 == Py_None) { _arg3 = NULL; }
413 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
414 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetColorTableEXT. Expected _GLvoid_p.");
415 return NULL;
416 }
417 }
418 {
419 wxPy_BEGIN_ALLOW_THREADS;
420 glGetColorTableEXT(_arg0,_arg1,_arg2,_arg3);
421
422 wxPy_END_ALLOW_THREADS;
423 } Py_INCREF(Py_None);
424 _resultobj = Py_None;
425 return _resultobj;
426 }
427
428 static PyObject *_wrap_glAccum(PyObject *self, PyObject *args, PyObject *kwargs) {
429 PyObject * _resultobj;
430 GLenum _arg0;
431 GLfloat _arg1;
432 char *_kwnames[] = { "op","value", NULL };
433
434 self = self;
435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glAccum",_kwnames,&_arg0,&_arg1))
436 return NULL;
437 {
438 wxPy_BEGIN_ALLOW_THREADS;
439 glAccum(_arg0,_arg1);
440
441 wxPy_END_ALLOW_THREADS;
442 } Py_INCREF(Py_None);
443 _resultobj = Py_None;
444 return _resultobj;
445 }
446
447 static PyObject *_wrap_glAlphaFunc(PyObject *self, PyObject *args, PyObject *kwargs) {
448 PyObject * _resultobj;
449 GLenum _arg0;
450 GLclampf _arg1;
451 char *_kwnames[] = { "func","ref", NULL };
452
453 self = self;
454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glAlphaFunc",_kwnames,&_arg0,&_arg1))
455 return NULL;
456 {
457 wxPy_BEGIN_ALLOW_THREADS;
458 glAlphaFunc(_arg0,_arg1);
459
460 wxPy_END_ALLOW_THREADS;
461 } Py_INCREF(Py_None);
462 _resultobj = Py_None;
463 return _resultobj;
464 }
465
466 static PyObject *_wrap_glAreTexturesResident(PyObject *self, PyObject *args, PyObject *kwargs) {
467 PyObject * _resultobj;
468 GLboolean _result;
469 GLsizei _arg0;
470 GLuint * _arg1;
471 GLboolean * _arg2;
472 PyObject * _argo1 = 0;
473 PyObject * _argo2 = 0;
474 char *_kwnames[] = { "n","textures","residences", NULL };
475
476 self = self;
477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:glAreTexturesResident",_kwnames,&_arg0,&_argo1,&_argo2))
478 return NULL;
479 if (_argo1) {
480 if (_argo1 == Py_None) { _arg1 = NULL; }
481 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) {
482 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glAreTexturesResident. Expected _GLuint_p.");
483 return NULL;
484 }
485 }
486 if (_argo2) {
487 if (_argo2 == Py_None) { _arg2 = NULL; }
488 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLboolean_p")) {
489 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glAreTexturesResident. Expected _GLboolean_p.");
490 return NULL;
491 }
492 }
493 {
494 wxPy_BEGIN_ALLOW_THREADS;
495 _result = (GLboolean )glAreTexturesResident(_arg0,_arg1,_arg2);
496
497 wxPy_END_ALLOW_THREADS;
498 } _resultobj = Py_BuildValue("b",_result);
499 return _resultobj;
500 }
501
502 static PyObject *_wrap_glArrayElement(PyObject *self, PyObject *args, PyObject *kwargs) {
503 PyObject * _resultobj;
504 GLint _arg0;
505 char *_kwnames[] = { "i", NULL };
506
507 self = self;
508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glArrayElement",_kwnames,&_arg0))
509 return NULL;
510 {
511 wxPy_BEGIN_ALLOW_THREADS;
512 glArrayElement(_arg0);
513
514 wxPy_END_ALLOW_THREADS;
515 } Py_INCREF(Py_None);
516 _resultobj = Py_None;
517 return _resultobj;
518 }
519
520 static PyObject *_wrap_glBegin(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 GLenum _arg0;
523 char *_kwnames[] = { "mode", NULL };
524
525 self = self;
526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glBegin",_kwnames,&_arg0))
527 return NULL;
528 {
529 wxPy_BEGIN_ALLOW_THREADS;
530 glBegin(_arg0);
531
532 wxPy_END_ALLOW_THREADS;
533 } Py_INCREF(Py_None);
534 _resultobj = Py_None;
535 return _resultobj;
536 }
537
538 static PyObject *_wrap_glBindTexture(PyObject *self, PyObject *args, PyObject *kwargs) {
539 PyObject * _resultobj;
540 GLenum _arg0;
541 GLuint _arg1;
542 char *_kwnames[] = { "target","texture", NULL };
543
544 self = self;
545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glBindTexture",_kwnames,&_arg0,&_arg1))
546 return NULL;
547 {
548 wxPy_BEGIN_ALLOW_THREADS;
549 glBindTexture(_arg0,_arg1);
550
551 wxPy_END_ALLOW_THREADS;
552 } Py_INCREF(Py_None);
553 _resultobj = Py_None;
554 return _resultobj;
555 }
556
557 static PyObject *_wrap_glBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
558 PyObject * _resultobj;
559 GLsizei _arg0;
560 GLsizei _arg1;
561 GLfloat _arg2;
562 GLfloat _arg3;
563 GLfloat _arg4;
564 GLfloat _arg5;
565 GLubyte * _arg6;
566 PyObject * _argo6 = 0;
567 char *_kwnames[] = { "width","height","xorig","yorig","xmove","ymove","bitmap", NULL };
568
569 self = self;
570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiffffO:glBitmap",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6))
571 return NULL;
572 if (_argo6) {
573 if (_argo6 == Py_None) { _arg6 = NULL; }
574 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_GLubyte_p")) {
575 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glBitmap. Expected _GLubyte_p.");
576 return NULL;
577 }
578 }
579 {
580 wxPy_BEGIN_ALLOW_THREADS;
581 glBitmap(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
582
583 wxPy_END_ALLOW_THREADS;
584 } Py_INCREF(Py_None);
585 _resultobj = Py_None;
586 return _resultobj;
587 }
588
589 static PyObject *_wrap_glBlendFunc(PyObject *self, PyObject *args, PyObject *kwargs) {
590 PyObject * _resultobj;
591 GLenum _arg0;
592 GLenum _arg1;
593 char *_kwnames[] = { "sfactor","dfactor", NULL };
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glBlendFunc",_kwnames,&_arg0,&_arg1))
597 return NULL;
598 {
599 wxPy_BEGIN_ALLOW_THREADS;
600 glBlendFunc(_arg0,_arg1);
601
602 wxPy_END_ALLOW_THREADS;
603 } Py_INCREF(Py_None);
604 _resultobj = Py_None;
605 return _resultobj;
606 }
607
608 static PyObject *_wrap_glCallList(PyObject *self, PyObject *args, PyObject *kwargs) {
609 PyObject * _resultobj;
610 GLuint _arg0;
611 char *_kwnames[] = { "list", NULL };
612
613 self = self;
614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glCallList",_kwnames,&_arg0))
615 return NULL;
616 {
617 wxPy_BEGIN_ALLOW_THREADS;
618 glCallList(_arg0);
619
620 wxPy_END_ALLOW_THREADS;
621 } Py_INCREF(Py_None);
622 _resultobj = Py_None;
623 return _resultobj;
624 }
625
626 static PyObject *_wrap_glCallLists(PyObject *self, PyObject *args, PyObject *kwargs) {
627 PyObject * _resultobj;
628 GLsizei _arg0;
629 GLenum _arg1;
630 GLvoid * _arg2;
631 PyObject * _argo2 = 0;
632 char *_kwnames[] = { "n","type","lists", NULL };
633
634 self = self;
635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glCallLists",_kwnames,&_arg0,&_arg1,&_argo2))
636 return NULL;
637 if (_argo2) {
638 if (_argo2 == Py_None) { _arg2 = NULL; }
639 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) {
640 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glCallLists. Expected _GLvoid_p.");
641 return NULL;
642 }
643 }
644 {
645 wxPy_BEGIN_ALLOW_THREADS;
646 glCallLists(_arg0,_arg1,_arg2);
647
648 wxPy_END_ALLOW_THREADS;
649 } Py_INCREF(Py_None);
650 _resultobj = Py_None;
651 return _resultobj;
652 }
653
654 static PyObject *_wrap_glClear(PyObject *self, PyObject *args, PyObject *kwargs) {
655 PyObject * _resultobj;
656 GLbitfield _arg0;
657 char *_kwnames[] = { "mask", NULL };
658
659 self = self;
660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glClear",_kwnames,&_arg0))
661 return NULL;
662 {
663 wxPy_BEGIN_ALLOW_THREADS;
664 glClear(_arg0);
665
666 wxPy_END_ALLOW_THREADS;
667 } Py_INCREF(Py_None);
668 _resultobj = Py_None;
669 return _resultobj;
670 }
671
672 static PyObject *_wrap_glClearAccum(PyObject *self, PyObject *args, PyObject *kwargs) {
673 PyObject * _resultobj;
674 GLfloat _arg0;
675 GLfloat _arg1;
676 GLfloat _arg2;
677 GLfloat _arg3;
678 char *_kwnames[] = { "red","green","blue","alpha", NULL };
679
680 self = self;
681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glClearAccum",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
682 return NULL;
683 {
684 wxPy_BEGIN_ALLOW_THREADS;
685 glClearAccum(_arg0,_arg1,_arg2,_arg3);
686
687 wxPy_END_ALLOW_THREADS;
688 } Py_INCREF(Py_None);
689 _resultobj = Py_None;
690 return _resultobj;
691 }
692
693 static PyObject *_wrap_glClearColor(PyObject *self, PyObject *args, PyObject *kwargs) {
694 PyObject * _resultobj;
695 GLclampf _arg0;
696 GLclampf _arg1;
697 GLclampf _arg2;
698 GLclampf _arg3;
699 char *_kwnames[] = { "red","green","blue","alpha", NULL };
700
701 self = self;
702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glClearColor",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
703 return NULL;
704 {
705 wxPy_BEGIN_ALLOW_THREADS;
706 glClearColor(_arg0,_arg1,_arg2,_arg3);
707
708 wxPy_END_ALLOW_THREADS;
709 } Py_INCREF(Py_None);
710 _resultobj = Py_None;
711 return _resultobj;
712 }
713
714 static PyObject *_wrap_glClearDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
715 PyObject * _resultobj;
716 GLclampd _arg0;
717 char *_kwnames[] = { "depth", NULL };
718
719 self = self;
720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:glClearDepth",_kwnames,&_arg0))
721 return NULL;
722 {
723 wxPy_BEGIN_ALLOW_THREADS;
724 glClearDepth(_arg0);
725
726 wxPy_END_ALLOW_THREADS;
727 } Py_INCREF(Py_None);
728 _resultobj = Py_None;
729 return _resultobj;
730 }
731
732 static PyObject *_wrap_glClearIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
733 PyObject * _resultobj;
734 GLfloat _arg0;
735 char *_kwnames[] = { "c", NULL };
736
737 self = self;
738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glClearIndex",_kwnames,&_arg0))
739 return NULL;
740 {
741 wxPy_BEGIN_ALLOW_THREADS;
742 glClearIndex(_arg0);
743
744 wxPy_END_ALLOW_THREADS;
745 } Py_INCREF(Py_None);
746 _resultobj = Py_None;
747 return _resultobj;
748 }
749
750 static PyObject *_wrap_glClearStencil(PyObject *self, PyObject *args, PyObject *kwargs) {
751 PyObject * _resultobj;
752 GLint _arg0;
753 char *_kwnames[] = { "s", NULL };
754
755 self = self;
756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glClearStencil",_kwnames,&_arg0))
757 return NULL;
758 {
759 wxPy_BEGIN_ALLOW_THREADS;
760 glClearStencil(_arg0);
761
762 wxPy_END_ALLOW_THREADS;
763 } Py_INCREF(Py_None);
764 _resultobj = Py_None;
765 return _resultobj;
766 }
767
768 static PyObject *_wrap_glClipPlane(PyObject *self, PyObject *args, PyObject *kwargs) {
769 PyObject * _resultobj;
770 GLenum _arg0;
771 GLdouble * _arg1;
772 PyObject * _argo1 = 0;
773 char *_kwnames[] = { "plane","equation", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glClipPlane",_kwnames,&_arg0,&_argo1))
777 return NULL;
778 if (_argo1) {
779 if (_argo1 == Py_None) { _arg1 = NULL; }
780 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glClipPlane. Expected _GLdouble_p.");
782 return NULL;
783 }
784 }
785 {
786 wxPy_BEGIN_ALLOW_THREADS;
787 glClipPlane(_arg0,_arg1);
788
789 wxPy_END_ALLOW_THREADS;
790 } Py_INCREF(Py_None);
791 _resultobj = Py_None;
792 return _resultobj;
793 }
794
795 static PyObject *_wrap_glColor3b(PyObject *self, PyObject *args, PyObject *kwargs) {
796 PyObject * _resultobj;
797 GLbyte _arg0;
798 GLbyte _arg1;
799 GLbyte _arg2;
800 char *_kwnames[] = { "red","green","blue", NULL };
801
802 self = self;
803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbb:glColor3b",_kwnames,&_arg0,&_arg1,&_arg2))
804 return NULL;
805 {
806 wxPy_BEGIN_ALLOW_THREADS;
807 glColor3b(_arg0,_arg1,_arg2);
808
809 wxPy_END_ALLOW_THREADS;
810 } Py_INCREF(Py_None);
811 _resultobj = Py_None;
812 return _resultobj;
813 }
814
815 static PyObject *_wrap_glColor3bv(PyObject *self, PyObject *args, PyObject *kwargs) {
816 PyObject * _resultobj;
817 GLbyte * _arg0;
818 PyObject * _argo0 = 0;
819 char *_kwnames[] = { "v", NULL };
820
821 self = self;
822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3bv",_kwnames,&_argo0))
823 return NULL;
824 if (_argo0) {
825 if (_argo0 == Py_None) { _arg0 = NULL; }
826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) {
827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3bv. Expected _GLbyte_p.");
828 return NULL;
829 }
830 }
831 {
832 wxPy_BEGIN_ALLOW_THREADS;
833 glColor3bv(_arg0);
834
835 wxPy_END_ALLOW_THREADS;
836 } Py_INCREF(Py_None);
837 _resultobj = Py_None;
838 return _resultobj;
839 }
840
841 static PyObject *_wrap_glColor3d(PyObject *self, PyObject *args, PyObject *kwargs) {
842 PyObject * _resultobj;
843 GLdouble _arg0;
844 GLdouble _arg1;
845 GLdouble _arg2;
846 char *_kwnames[] = { "red","green","blue", NULL };
847
848 self = self;
849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glColor3d",_kwnames,&_arg0,&_arg1,&_arg2))
850 return NULL;
851 {
852 wxPy_BEGIN_ALLOW_THREADS;
853 glColor3d(_arg0,_arg1,_arg2);
854
855 wxPy_END_ALLOW_THREADS;
856 } Py_INCREF(Py_None);
857 _resultobj = Py_None;
858 return _resultobj;
859 }
860
861 static PyObject *_wrap_glColor3dv(PyObject *self, PyObject *args, PyObject *kwargs) {
862 PyObject * _resultobj;
863 GLdouble * _arg0;
864 PyObject * _argo0 = 0;
865 char *_kwnames[] = { "v", NULL };
866
867 self = self;
868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3dv",_kwnames,&_argo0))
869 return NULL;
870 if (_argo0) {
871 if (_argo0 == Py_None) { _arg0 = NULL; }
872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3dv. Expected _GLdouble_p.");
874 return NULL;
875 }
876 }
877 {
878 wxPy_BEGIN_ALLOW_THREADS;
879 glColor3dv(_arg0);
880
881 wxPy_END_ALLOW_THREADS;
882 } Py_INCREF(Py_None);
883 _resultobj = Py_None;
884 return _resultobj;
885 }
886
887 static PyObject *_wrap_glColor3f(PyObject *self, PyObject *args, PyObject *kwargs) {
888 PyObject * _resultobj;
889 GLfloat _arg0;
890 GLfloat _arg1;
891 GLfloat _arg2;
892 char *_kwnames[] = { "red","green","blue", NULL };
893
894 self = self;
895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glColor3f",_kwnames,&_arg0,&_arg1,&_arg2))
896 return NULL;
897 {
898 wxPy_BEGIN_ALLOW_THREADS;
899 glColor3f(_arg0,_arg1,_arg2);
900
901 wxPy_END_ALLOW_THREADS;
902 } Py_INCREF(Py_None);
903 _resultobj = Py_None;
904 return _resultobj;
905 }
906
907 static PyObject *_wrap_glColor3fv(PyObject *self, PyObject *args, PyObject *kwargs) {
908 PyObject * _resultobj;
909 GLfloat * _arg0;
910 PyObject * _argo0 = 0;
911 char *_kwnames[] = { "v", NULL };
912
913 self = self;
914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3fv",_kwnames,&_argo0))
915 return NULL;
916 if (_argo0) {
917 if (_argo0 == Py_None) { _arg0 = NULL; }
918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3fv. Expected _GLfloat_p.");
920 return NULL;
921 }
922 }
923 {
924 wxPy_BEGIN_ALLOW_THREADS;
925 glColor3fv(_arg0);
926
927 wxPy_END_ALLOW_THREADS;
928 } Py_INCREF(Py_None);
929 _resultobj = Py_None;
930 return _resultobj;
931 }
932
933 static PyObject *_wrap_glColor3i(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject * _resultobj;
935 GLint _arg0;
936 GLint _arg1;
937 GLint _arg2;
938 char *_kwnames[] = { "red","green","blue", NULL };
939
940 self = self;
941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glColor3i",_kwnames,&_arg0,&_arg1,&_arg2))
942 return NULL;
943 {
944 wxPy_BEGIN_ALLOW_THREADS;
945 glColor3i(_arg0,_arg1,_arg2);
946
947 wxPy_END_ALLOW_THREADS;
948 } Py_INCREF(Py_None);
949 _resultobj = Py_None;
950 return _resultobj;
951 }
952
953 static PyObject *_wrap_glColor3iv(PyObject *self, PyObject *args, PyObject *kwargs) {
954 PyObject * _resultobj;
955 GLint * _arg0;
956 PyObject * _argo0 = 0;
957 char *_kwnames[] = { "v", NULL };
958
959 self = self;
960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3iv",_kwnames,&_argo0))
961 return NULL;
962 if (_argo0) {
963 if (_argo0 == Py_None) { _arg0 = NULL; }
964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3iv. Expected _GLint_p.");
966 return NULL;
967 }
968 }
969 {
970 wxPy_BEGIN_ALLOW_THREADS;
971 glColor3iv(_arg0);
972
973 wxPy_END_ALLOW_THREADS;
974 } Py_INCREF(Py_None);
975 _resultobj = Py_None;
976 return _resultobj;
977 }
978
979 static PyObject *_wrap_glColor3s(PyObject *self, PyObject *args, PyObject *kwargs) {
980 PyObject * _resultobj;
981 GLshort _arg0;
982 GLshort _arg1;
983 GLshort _arg2;
984 char *_kwnames[] = { "red","green","blue", NULL };
985
986 self = self;
987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glColor3s",_kwnames,&_arg0,&_arg1,&_arg2))
988 return NULL;
989 {
990 wxPy_BEGIN_ALLOW_THREADS;
991 glColor3s(_arg0,_arg1,_arg2);
992
993 wxPy_END_ALLOW_THREADS;
994 } Py_INCREF(Py_None);
995 _resultobj = Py_None;
996 return _resultobj;
997 }
998
999 static PyObject *_wrap_glColor3sv(PyObject *self, PyObject *args, PyObject *kwargs) {
1000 PyObject * _resultobj;
1001 GLshort * _arg0;
1002 PyObject * _argo0 = 0;
1003 char *_kwnames[] = { "v", NULL };
1004
1005 self = self;
1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3sv",_kwnames,&_argo0))
1007 return NULL;
1008 if (_argo0) {
1009 if (_argo0 == Py_None) { _arg0 = NULL; }
1010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3sv. Expected _GLshort_p.");
1012 return NULL;
1013 }
1014 }
1015 {
1016 wxPy_BEGIN_ALLOW_THREADS;
1017 glColor3sv(_arg0);
1018
1019 wxPy_END_ALLOW_THREADS;
1020 } Py_INCREF(Py_None);
1021 _resultobj = Py_None;
1022 return _resultobj;
1023 }
1024
1025 static PyObject *_wrap_glColor3ub(PyObject *self, PyObject *args, PyObject *kwargs) {
1026 PyObject * _resultobj;
1027 GLubyte _arg0;
1028 GLubyte _arg1;
1029 GLubyte _arg2;
1030 char *_kwnames[] = { "red","green","blue", NULL };
1031
1032 self = self;
1033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbb:glColor3ub",_kwnames,&_arg0,&_arg1,&_arg2))
1034 return NULL;
1035 {
1036 wxPy_BEGIN_ALLOW_THREADS;
1037 glColor3ub(_arg0,_arg1,_arg2);
1038
1039 wxPy_END_ALLOW_THREADS;
1040 } Py_INCREF(Py_None);
1041 _resultobj = Py_None;
1042 return _resultobj;
1043 }
1044
1045 static PyObject *_wrap_glColor3ubv(PyObject *self, PyObject *args, PyObject *kwargs) {
1046 PyObject * _resultobj;
1047 GLubyte * _arg0;
1048 PyObject * _argo0 = 0;
1049 char *_kwnames[] = { "v", NULL };
1050
1051 self = self;
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3ubv",_kwnames,&_argo0))
1053 return NULL;
1054 if (_argo0) {
1055 if (_argo0 == Py_None) { _arg0 = NULL; }
1056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) {
1057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3ubv. Expected _GLubyte_p.");
1058 return NULL;
1059 }
1060 }
1061 {
1062 wxPy_BEGIN_ALLOW_THREADS;
1063 glColor3ubv(_arg0);
1064
1065 wxPy_END_ALLOW_THREADS;
1066 } Py_INCREF(Py_None);
1067 _resultobj = Py_None;
1068 return _resultobj;
1069 }
1070
1071 static PyObject *_wrap_glColor3ui(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject * _resultobj;
1073 GLuint _arg0;
1074 GLuint _arg1;
1075 GLuint _arg2;
1076 char *_kwnames[] = { "red","green","blue", NULL };
1077
1078 self = self;
1079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glColor3ui",_kwnames,&_arg0,&_arg1,&_arg2))
1080 return NULL;
1081 {
1082 wxPy_BEGIN_ALLOW_THREADS;
1083 glColor3ui(_arg0,_arg1,_arg2);
1084
1085 wxPy_END_ALLOW_THREADS;
1086 } Py_INCREF(Py_None);
1087 _resultobj = Py_None;
1088 return _resultobj;
1089 }
1090
1091 static PyObject *_wrap_glColor3uiv(PyObject *self, PyObject *args, PyObject *kwargs) {
1092 PyObject * _resultobj;
1093 GLuint * _arg0;
1094 PyObject * _argo0 = 0;
1095 char *_kwnames[] = { "v", NULL };
1096
1097 self = self;
1098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3uiv",_kwnames,&_argo0))
1099 return NULL;
1100 if (_argo0) {
1101 if (_argo0 == Py_None) { _arg0 = NULL; }
1102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLuint_p")) {
1103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3uiv. Expected _GLuint_p.");
1104 return NULL;
1105 }
1106 }
1107 {
1108 wxPy_BEGIN_ALLOW_THREADS;
1109 glColor3uiv(_arg0);
1110
1111 wxPy_END_ALLOW_THREADS;
1112 } Py_INCREF(Py_None);
1113 _resultobj = Py_None;
1114 return _resultobj;
1115 }
1116
1117 static PyObject *_wrap_glColor3us(PyObject *self, PyObject *args, PyObject *kwargs) {
1118 PyObject * _resultobj;
1119 GLushort _arg0;
1120 GLushort _arg1;
1121 GLushort _arg2;
1122 char *_kwnames[] = { "red","green","blue", NULL };
1123
1124 self = self;
1125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glColor3us",_kwnames,&_arg0,&_arg1,&_arg2))
1126 return NULL;
1127 {
1128 wxPy_BEGIN_ALLOW_THREADS;
1129 glColor3us(_arg0,_arg1,_arg2);
1130
1131 wxPy_END_ALLOW_THREADS;
1132 } Py_INCREF(Py_None);
1133 _resultobj = Py_None;
1134 return _resultobj;
1135 }
1136
1137 static PyObject *_wrap_glColor3usv(PyObject *self, PyObject *args, PyObject *kwargs) {
1138 PyObject * _resultobj;
1139 GLushort * _arg0;
1140 PyObject * _argo0 = 0;
1141 char *_kwnames[] = { "v", NULL };
1142
1143 self = self;
1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3usv",_kwnames,&_argo0))
1145 return NULL;
1146 if (_argo0) {
1147 if (_argo0 == Py_None) { _arg0 = NULL; }
1148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLushort_p")) {
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3usv. Expected _GLushort_p.");
1150 return NULL;
1151 }
1152 }
1153 {
1154 wxPy_BEGIN_ALLOW_THREADS;
1155 glColor3usv(_arg0);
1156
1157 wxPy_END_ALLOW_THREADS;
1158 } Py_INCREF(Py_None);
1159 _resultobj = Py_None;
1160 return _resultobj;
1161 }
1162
1163 static PyObject *_wrap_glColor4b(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject * _resultobj;
1165 GLbyte _arg0;
1166 GLbyte _arg1;
1167 GLbyte _arg2;
1168 GLbyte _arg3;
1169 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1170
1171 self = self;
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbbb:glColor4b",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1173 return NULL;
1174 {
1175 wxPy_BEGIN_ALLOW_THREADS;
1176 glColor4b(_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_glColor4bv(PyObject *self, PyObject *args, PyObject *kwargs) {
1185 PyObject * _resultobj;
1186 GLbyte * _arg0;
1187 PyObject * _argo0 = 0;
1188 char *_kwnames[] = { "v", NULL };
1189
1190 self = self;
1191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4bv",_kwnames,&_argo0))
1192 return NULL;
1193 if (_argo0) {
1194 if (_argo0 == Py_None) { _arg0 = NULL; }
1195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) {
1196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4bv. Expected _GLbyte_p.");
1197 return NULL;
1198 }
1199 }
1200 {
1201 wxPy_BEGIN_ALLOW_THREADS;
1202 glColor4bv(_arg0);
1203
1204 wxPy_END_ALLOW_THREADS;
1205 } Py_INCREF(Py_None);
1206 _resultobj = Py_None;
1207 return _resultobj;
1208 }
1209
1210 static PyObject *_wrap_glColor4d(PyObject *self, PyObject *args, PyObject *kwargs) {
1211 PyObject * _resultobj;
1212 GLdouble _arg0;
1213 GLdouble _arg1;
1214 GLdouble _arg2;
1215 GLdouble _arg3;
1216 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1217
1218 self = self;
1219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glColor4d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1220 return NULL;
1221 {
1222 wxPy_BEGIN_ALLOW_THREADS;
1223 glColor4d(_arg0,_arg1,_arg2,_arg3);
1224
1225 wxPy_END_ALLOW_THREADS;
1226 } Py_INCREF(Py_None);
1227 _resultobj = Py_None;
1228 return _resultobj;
1229 }
1230
1231 static PyObject *_wrap_glColor4dv(PyObject *self, PyObject *args, PyObject *kwargs) {
1232 PyObject * _resultobj;
1233 GLdouble * _arg0;
1234 PyObject * _argo0 = 0;
1235 char *_kwnames[] = { "v", NULL };
1236
1237 self = self;
1238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4dv",_kwnames,&_argo0))
1239 return NULL;
1240 if (_argo0) {
1241 if (_argo0 == Py_None) { _arg0 = NULL; }
1242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
1243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4dv. Expected _GLdouble_p.");
1244 return NULL;
1245 }
1246 }
1247 {
1248 wxPy_BEGIN_ALLOW_THREADS;
1249 glColor4dv(_arg0);
1250
1251 wxPy_END_ALLOW_THREADS;
1252 } Py_INCREF(Py_None);
1253 _resultobj = Py_None;
1254 return _resultobj;
1255 }
1256
1257 static PyObject *_wrap_glColor4f(PyObject *self, PyObject *args, PyObject *kwargs) {
1258 PyObject * _resultobj;
1259 GLfloat _arg0;
1260 GLfloat _arg1;
1261 GLfloat _arg2;
1262 GLfloat _arg3;
1263 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1264
1265 self = self;
1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glColor4f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1267 return NULL;
1268 {
1269 wxPy_BEGIN_ALLOW_THREADS;
1270 glColor4f(_arg0,_arg1,_arg2,_arg3);
1271
1272 wxPy_END_ALLOW_THREADS;
1273 } Py_INCREF(Py_None);
1274 _resultobj = Py_None;
1275 return _resultobj;
1276 }
1277
1278 static PyObject *_wrap_glColor4fv(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject * _resultobj;
1280 GLfloat * _arg0;
1281 PyObject * _argo0 = 0;
1282 char *_kwnames[] = { "v", NULL };
1283
1284 self = self;
1285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4fv",_kwnames,&_argo0))
1286 return NULL;
1287 if (_argo0) {
1288 if (_argo0 == Py_None) { _arg0 = NULL; }
1289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
1290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4fv. Expected _GLfloat_p.");
1291 return NULL;
1292 }
1293 }
1294 {
1295 wxPy_BEGIN_ALLOW_THREADS;
1296 glColor4fv(_arg0);
1297
1298 wxPy_END_ALLOW_THREADS;
1299 } Py_INCREF(Py_None);
1300 _resultobj = Py_None;
1301 return _resultobj;
1302 }
1303
1304 static PyObject *_wrap_glColor4i(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject * _resultobj;
1306 GLint _arg0;
1307 GLint _arg1;
1308 GLint _arg2;
1309 GLint _arg3;
1310 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1311
1312 self = self;
1313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glColor4i",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1314 return NULL;
1315 {
1316 wxPy_BEGIN_ALLOW_THREADS;
1317 glColor4i(_arg0,_arg1,_arg2,_arg3);
1318
1319 wxPy_END_ALLOW_THREADS;
1320 } Py_INCREF(Py_None);
1321 _resultobj = Py_None;
1322 return _resultobj;
1323 }
1324
1325 static PyObject *_wrap_glColor4iv(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject * _resultobj;
1327 GLint * _arg0;
1328 PyObject * _argo0 = 0;
1329 char *_kwnames[] = { "v", NULL };
1330
1331 self = self;
1332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4iv",_kwnames,&_argo0))
1333 return NULL;
1334 if (_argo0) {
1335 if (_argo0 == Py_None) { _arg0 = NULL; }
1336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
1337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4iv. Expected _GLint_p.");
1338 return NULL;
1339 }
1340 }
1341 {
1342 wxPy_BEGIN_ALLOW_THREADS;
1343 glColor4iv(_arg0);
1344
1345 wxPy_END_ALLOW_THREADS;
1346 } Py_INCREF(Py_None);
1347 _resultobj = Py_None;
1348 return _resultobj;
1349 }
1350
1351 static PyObject *_wrap_glColor4s(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject * _resultobj;
1353 GLshort _arg0;
1354 GLshort _arg1;
1355 GLshort _arg2;
1356 GLshort _arg3;
1357 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1358
1359 self = self;
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glColor4s",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1361 return NULL;
1362 {
1363 wxPy_BEGIN_ALLOW_THREADS;
1364 glColor4s(_arg0,_arg1,_arg2,_arg3);
1365
1366 wxPy_END_ALLOW_THREADS;
1367 } Py_INCREF(Py_None);
1368 _resultobj = Py_None;
1369 return _resultobj;
1370 }
1371
1372 static PyObject *_wrap_glColor4sv(PyObject *self, PyObject *args, PyObject *kwargs) {
1373 PyObject * _resultobj;
1374 GLshort * _arg0;
1375 PyObject * _argo0 = 0;
1376 char *_kwnames[] = { "v", NULL };
1377
1378 self = self;
1379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4sv",_kwnames,&_argo0))
1380 return NULL;
1381 if (_argo0) {
1382 if (_argo0 == Py_None) { _arg0 = NULL; }
1383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4sv. Expected _GLshort_p.");
1385 return NULL;
1386 }
1387 }
1388 {
1389 wxPy_BEGIN_ALLOW_THREADS;
1390 glColor4sv(_arg0);
1391
1392 wxPy_END_ALLOW_THREADS;
1393 } Py_INCREF(Py_None);
1394 _resultobj = Py_None;
1395 return _resultobj;
1396 }
1397
1398 static PyObject *_wrap_glColor4ub(PyObject *self, PyObject *args, PyObject *kwargs) {
1399 PyObject * _resultobj;
1400 GLubyte _arg0;
1401 GLubyte _arg1;
1402 GLubyte _arg2;
1403 GLubyte _arg3;
1404 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1405
1406 self = self;
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbbb:glColor4ub",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1408 return NULL;
1409 {
1410 wxPy_BEGIN_ALLOW_THREADS;
1411 glColor4ub(_arg0,_arg1,_arg2,_arg3);
1412
1413 wxPy_END_ALLOW_THREADS;
1414 } Py_INCREF(Py_None);
1415 _resultobj = Py_None;
1416 return _resultobj;
1417 }
1418
1419 static PyObject *_wrap_glColor4ubv(PyObject *self, PyObject *args, PyObject *kwargs) {
1420 PyObject * _resultobj;
1421 GLubyte * _arg0;
1422 PyObject * _argo0 = 0;
1423 char *_kwnames[] = { "v", NULL };
1424
1425 self = self;
1426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4ubv",_kwnames,&_argo0))
1427 return NULL;
1428 if (_argo0) {
1429 if (_argo0 == Py_None) { _arg0 = NULL; }
1430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) {
1431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4ubv. Expected _GLubyte_p.");
1432 return NULL;
1433 }
1434 }
1435 {
1436 wxPy_BEGIN_ALLOW_THREADS;
1437 glColor4ubv(_arg0);
1438
1439 wxPy_END_ALLOW_THREADS;
1440 } Py_INCREF(Py_None);
1441 _resultobj = Py_None;
1442 return _resultobj;
1443 }
1444
1445 static PyObject *_wrap_glColor4ui(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject * _resultobj;
1447 GLuint _arg0;
1448 GLuint _arg1;
1449 GLuint _arg2;
1450 GLuint _arg3;
1451 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1452
1453 self = self;
1454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glColor4ui",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1455 return NULL;
1456 {
1457 wxPy_BEGIN_ALLOW_THREADS;
1458 glColor4ui(_arg0,_arg1,_arg2,_arg3);
1459
1460 wxPy_END_ALLOW_THREADS;
1461 } Py_INCREF(Py_None);
1462 _resultobj = Py_None;
1463 return _resultobj;
1464 }
1465
1466 static PyObject *_wrap_glColor4uiv(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject * _resultobj;
1468 GLuint * _arg0;
1469 PyObject * _argo0 = 0;
1470 char *_kwnames[] = { "v", NULL };
1471
1472 self = self;
1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4uiv",_kwnames,&_argo0))
1474 return NULL;
1475 if (_argo0) {
1476 if (_argo0 == Py_None) { _arg0 = NULL; }
1477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLuint_p")) {
1478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4uiv. Expected _GLuint_p.");
1479 return NULL;
1480 }
1481 }
1482 {
1483 wxPy_BEGIN_ALLOW_THREADS;
1484 glColor4uiv(_arg0);
1485
1486 wxPy_END_ALLOW_THREADS;
1487 } Py_INCREF(Py_None);
1488 _resultobj = Py_None;
1489 return _resultobj;
1490 }
1491
1492 static PyObject *_wrap_glColor4us(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject * _resultobj;
1494 GLushort _arg0;
1495 GLushort _arg1;
1496 GLushort _arg2;
1497 GLushort _arg3;
1498 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1499
1500 self = self;
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glColor4us",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1502 return NULL;
1503 {
1504 wxPy_BEGIN_ALLOW_THREADS;
1505 glColor4us(_arg0,_arg1,_arg2,_arg3);
1506
1507 wxPy_END_ALLOW_THREADS;
1508 } Py_INCREF(Py_None);
1509 _resultobj = Py_None;
1510 return _resultobj;
1511 }
1512
1513 static PyObject *_wrap_glColor4usv(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject * _resultobj;
1515 GLushort * _arg0;
1516 PyObject * _argo0 = 0;
1517 char *_kwnames[] = { "v", NULL };
1518
1519 self = self;
1520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4usv",_kwnames,&_argo0))
1521 return NULL;
1522 if (_argo0) {
1523 if (_argo0 == Py_None) { _arg0 = NULL; }
1524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLushort_p")) {
1525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4usv. Expected _GLushort_p.");
1526 return NULL;
1527 }
1528 }
1529 {
1530 wxPy_BEGIN_ALLOW_THREADS;
1531 glColor4usv(_arg0);
1532
1533 wxPy_END_ALLOW_THREADS;
1534 } Py_INCREF(Py_None);
1535 _resultobj = Py_None;
1536 return _resultobj;
1537 }
1538
1539 static PyObject *_wrap_glColorMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1540 PyObject * _resultobj;
1541 GLboolean _arg0;
1542 GLboolean _arg1;
1543 GLboolean _arg2;
1544 GLboolean _arg3;
1545 char *_kwnames[] = { "red","green","blue","alpha", NULL };
1546
1547 self = self;
1548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbbb:glColorMask",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1549 return NULL;
1550 {
1551 wxPy_BEGIN_ALLOW_THREADS;
1552 glColorMask(_arg0,_arg1,_arg2,_arg3);
1553
1554 wxPy_END_ALLOW_THREADS;
1555 } Py_INCREF(Py_None);
1556 _resultobj = Py_None;
1557 return _resultobj;
1558 }
1559
1560 static PyObject *_wrap_glColorMaterial(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject * _resultobj;
1562 GLenum _arg0;
1563 GLenum _arg1;
1564 char *_kwnames[] = { "face","mode", NULL };
1565
1566 self = self;
1567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glColorMaterial",_kwnames,&_arg0,&_arg1))
1568 return NULL;
1569 {
1570 wxPy_BEGIN_ALLOW_THREADS;
1571 glColorMaterial(_arg0,_arg1);
1572
1573 wxPy_END_ALLOW_THREADS;
1574 } Py_INCREF(Py_None);
1575 _resultobj = Py_None;
1576 return _resultobj;
1577 }
1578
1579 static PyObject *_wrap_glColorPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject * _resultobj;
1581 GLint _arg0;
1582 GLenum _arg1;
1583 GLsizei _arg2;
1584 GLvoid * _arg3;
1585 PyObject * _argo3 = 0;
1586 char *_kwnames[] = { "size","type","stride","pointer", NULL };
1587
1588 self = self;
1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glColorPointer",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
1590 return NULL;
1591 if (_argo3) {
1592 if (_argo3 == Py_None) { _arg3 = NULL; }
1593 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glColorPointer. Expected _GLvoid_p.");
1595 return NULL;
1596 }
1597 }
1598 {
1599 wxPy_BEGIN_ALLOW_THREADS;
1600 glColorPointer(_arg0,_arg1,_arg2,_arg3);
1601
1602 wxPy_END_ALLOW_THREADS;
1603 } Py_INCREF(Py_None);
1604 _resultobj = Py_None;
1605 return _resultobj;
1606 }
1607
1608 static PyObject *_wrap_glCopyPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
1609 PyObject * _resultobj;
1610 GLint _arg0;
1611 GLint _arg1;
1612 GLsizei _arg2;
1613 GLsizei _arg3;
1614 GLenum _arg4;
1615 char *_kwnames[] = { "x","y","width","height","type", NULL };
1616
1617 self = self;
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiii:glCopyPixels",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4))
1619 return NULL;
1620 {
1621 wxPy_BEGIN_ALLOW_THREADS;
1622 glCopyPixels(_arg0,_arg1,_arg2,_arg3,_arg4);
1623
1624 wxPy_END_ALLOW_THREADS;
1625 } Py_INCREF(Py_None);
1626 _resultobj = Py_None;
1627 return _resultobj;
1628 }
1629
1630 static PyObject *_wrap_glCopyTexImage1D(PyObject *self, PyObject *args, PyObject *kwargs) {
1631 PyObject * _resultobj;
1632 GLenum _arg0;
1633 GLint _arg1;
1634 GLenum _arg2;
1635 GLint _arg3;
1636 GLint _arg4;
1637 GLsizei _arg5;
1638 GLint _arg6;
1639 char *_kwnames[] = { "target","level","internalFormat","x","y","width","border", NULL };
1640
1641 self = self;
1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiii:glCopyTexImage1D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
1643 return NULL;
1644 {
1645 wxPy_BEGIN_ALLOW_THREADS;
1646 glCopyTexImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1647
1648 wxPy_END_ALLOW_THREADS;
1649 } Py_INCREF(Py_None);
1650 _resultobj = Py_None;
1651 return _resultobj;
1652 }
1653
1654 static PyObject *_wrap_glCopyTexImage2D(PyObject *self, PyObject *args, PyObject *kwargs) {
1655 PyObject * _resultobj;
1656 GLenum _arg0;
1657 GLint _arg1;
1658 GLenum _arg2;
1659 GLint _arg3;
1660 GLint _arg4;
1661 GLsizei _arg5;
1662 GLsizei _arg6;
1663 GLint _arg7;
1664 char *_kwnames[] = { "target","level","internalFormat","x","y","width","height","border", NULL };
1665
1666 self = self;
1667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiii:glCopyTexImage2D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
1668 return NULL;
1669 {
1670 wxPy_BEGIN_ALLOW_THREADS;
1671 glCopyTexImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
1672
1673 wxPy_END_ALLOW_THREADS;
1674 } Py_INCREF(Py_None);
1675 _resultobj = Py_None;
1676 return _resultobj;
1677 }
1678
1679 static PyObject *_wrap_glCopyTexSubImage1D(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject * _resultobj;
1681 GLenum _arg0;
1682 GLint _arg1;
1683 GLint _arg2;
1684 GLint _arg3;
1685 GLint _arg4;
1686 GLsizei _arg5;
1687 char *_kwnames[] = { "target","level","xoffset","x","y","width", NULL };
1688
1689 self = self;
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiii:glCopyTexSubImage1D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
1691 return NULL;
1692 {
1693 wxPy_BEGIN_ALLOW_THREADS;
1694 glCopyTexSubImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1695
1696 wxPy_END_ALLOW_THREADS;
1697 } Py_INCREF(Py_None);
1698 _resultobj = Py_None;
1699 return _resultobj;
1700 }
1701
1702 static PyObject *_wrap_glCopyTexSubImage2D(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject * _resultobj;
1704 GLenum _arg0;
1705 GLint _arg1;
1706 GLint _arg2;
1707 GLint _arg3;
1708 GLint _arg4;
1709 GLint _arg5;
1710 GLsizei _arg6;
1711 GLsizei _arg7;
1712 char *_kwnames[] = { "target","level","xoffset","yoffset","x","y","width","height", NULL };
1713
1714 self = self;
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiii:glCopyTexSubImage2D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7))
1716 return NULL;
1717 {
1718 wxPy_BEGIN_ALLOW_THREADS;
1719 glCopyTexSubImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
1720
1721 wxPy_END_ALLOW_THREADS;
1722 } Py_INCREF(Py_None);
1723 _resultobj = Py_None;
1724 return _resultobj;
1725 }
1726
1727 static PyObject *_wrap_glCullFace(PyObject *self, PyObject *args, PyObject *kwargs) {
1728 PyObject * _resultobj;
1729 GLenum _arg0;
1730 char *_kwnames[] = { "mode", NULL };
1731
1732 self = self;
1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glCullFace",_kwnames,&_arg0))
1734 return NULL;
1735 {
1736 wxPy_BEGIN_ALLOW_THREADS;
1737 glCullFace(_arg0);
1738
1739 wxPy_END_ALLOW_THREADS;
1740 } Py_INCREF(Py_None);
1741 _resultobj = Py_None;
1742 return _resultobj;
1743 }
1744
1745 static PyObject *_wrap_glDeleteLists(PyObject *self, PyObject *args, PyObject *kwargs) {
1746 PyObject * _resultobj;
1747 GLuint _arg0;
1748 GLsizei _arg1;
1749 char *_kwnames[] = { "list","range", NULL };
1750
1751 self = self;
1752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glDeleteLists",_kwnames,&_arg0,&_arg1))
1753 return NULL;
1754 {
1755 wxPy_BEGIN_ALLOW_THREADS;
1756 glDeleteLists(_arg0,_arg1);
1757
1758 wxPy_END_ALLOW_THREADS;
1759 } Py_INCREF(Py_None);
1760 _resultobj = Py_None;
1761 return _resultobj;
1762 }
1763
1764 static PyObject *_wrap_glDeleteTextures(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject * _resultobj;
1766 GLsizei _arg0;
1767 GLuint * _arg1;
1768 PyObject * _argo1 = 0;
1769 char *_kwnames[] = { "n","textures", NULL };
1770
1771 self = self;
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glDeleteTextures",_kwnames,&_arg0,&_argo1))
1773 return NULL;
1774 if (_argo1) {
1775 if (_argo1 == Py_None) { _arg1 = NULL; }
1776 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) {
1777 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glDeleteTextures. Expected _GLuint_p.");
1778 return NULL;
1779 }
1780 }
1781 {
1782 wxPy_BEGIN_ALLOW_THREADS;
1783 glDeleteTextures(_arg0,_arg1);
1784
1785 wxPy_END_ALLOW_THREADS;
1786 } Py_INCREF(Py_None);
1787 _resultobj = Py_None;
1788 return _resultobj;
1789 }
1790
1791 static PyObject *_wrap_glDepthFunc(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject * _resultobj;
1793 GLenum _arg0;
1794 char *_kwnames[] = { "func", NULL };
1795
1796 self = self;
1797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glDepthFunc",_kwnames,&_arg0))
1798 return NULL;
1799 {
1800 wxPy_BEGIN_ALLOW_THREADS;
1801 glDepthFunc(_arg0);
1802
1803 wxPy_END_ALLOW_THREADS;
1804 } Py_INCREF(Py_None);
1805 _resultobj = Py_None;
1806 return _resultobj;
1807 }
1808
1809 static PyObject *_wrap_glDepthMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject * _resultobj;
1811 GLboolean _arg0;
1812 char *_kwnames[] = { "flag", NULL };
1813
1814 self = self;
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"b:glDepthMask",_kwnames,&_arg0))
1816 return NULL;
1817 {
1818 wxPy_BEGIN_ALLOW_THREADS;
1819 glDepthMask(_arg0);
1820
1821 wxPy_END_ALLOW_THREADS;
1822 } Py_INCREF(Py_None);
1823 _resultobj = Py_None;
1824 return _resultobj;
1825 }
1826
1827 static PyObject *_wrap_glDepthRange(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject * _resultobj;
1829 GLclampd _arg0;
1830 GLclampd _arg1;
1831 char *_kwnames[] = { "zNear","zFar", NULL };
1832
1833 self = self;
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glDepthRange",_kwnames,&_arg0,&_arg1))
1835 return NULL;
1836 {
1837 wxPy_BEGIN_ALLOW_THREADS;
1838 glDepthRange(_arg0,_arg1);
1839
1840 wxPy_END_ALLOW_THREADS;
1841 } Py_INCREF(Py_None);
1842 _resultobj = Py_None;
1843 return _resultobj;
1844 }
1845
1846 static PyObject *_wrap_glDisable(PyObject *self, PyObject *args, PyObject *kwargs) {
1847 PyObject * _resultobj;
1848 GLenum _arg0;
1849 char *_kwnames[] = { "cap", NULL };
1850
1851 self = self;
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glDisable",_kwnames,&_arg0))
1853 return NULL;
1854 {
1855 wxPy_BEGIN_ALLOW_THREADS;
1856 glDisable(_arg0);
1857
1858 wxPy_END_ALLOW_THREADS;
1859 } Py_INCREF(Py_None);
1860 _resultobj = Py_None;
1861 return _resultobj;
1862 }
1863
1864 static PyObject *_wrap_glDisableClientState(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject * _resultobj;
1866 GLenum _arg0;
1867 char *_kwnames[] = { "array", NULL };
1868
1869 self = self;
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glDisableClientState",_kwnames,&_arg0))
1871 return NULL;
1872 {
1873 wxPy_BEGIN_ALLOW_THREADS;
1874 glDisableClientState(_arg0);
1875
1876 wxPy_END_ALLOW_THREADS;
1877 } Py_INCREF(Py_None);
1878 _resultobj = Py_None;
1879 return _resultobj;
1880 }
1881
1882 static PyObject *_wrap_glDrawArrays(PyObject *self, PyObject *args, PyObject *kwargs) {
1883 PyObject * _resultobj;
1884 GLenum _arg0;
1885 GLint _arg1;
1886 GLsizei _arg2;
1887 char *_kwnames[] = { "mode","first","count", NULL };
1888
1889 self = self;
1890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glDrawArrays",_kwnames,&_arg0,&_arg1,&_arg2))
1891 return NULL;
1892 {
1893 wxPy_BEGIN_ALLOW_THREADS;
1894 glDrawArrays(_arg0,_arg1,_arg2);
1895
1896 wxPy_END_ALLOW_THREADS;
1897 } Py_INCREF(Py_None);
1898 _resultobj = Py_None;
1899 return _resultobj;
1900 }
1901
1902 static PyObject *_wrap_glDrawBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
1903 PyObject * _resultobj;
1904 GLenum _arg0;
1905 char *_kwnames[] = { "mode", NULL };
1906
1907 self = self;
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glDrawBuffer",_kwnames,&_arg0))
1909 return NULL;
1910 {
1911 wxPy_BEGIN_ALLOW_THREADS;
1912 glDrawBuffer(_arg0);
1913
1914 wxPy_END_ALLOW_THREADS;
1915 } Py_INCREF(Py_None);
1916 _resultobj = Py_None;
1917 return _resultobj;
1918 }
1919
1920 static PyObject *_wrap_glDrawElements(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject * _resultobj;
1922 GLenum _arg0;
1923 GLsizei _arg1;
1924 GLenum _arg2;
1925 GLvoid * _arg3;
1926 PyObject * _argo3 = 0;
1927 char *_kwnames[] = { "mode","count","type","indices", NULL };
1928
1929 self = self;
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glDrawElements",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
1931 return NULL;
1932 if (_argo3) {
1933 if (_argo3 == Py_None) { _arg3 = NULL; }
1934 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
1935 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glDrawElements. Expected _GLvoid_p.");
1936 return NULL;
1937 }
1938 }
1939 {
1940 wxPy_BEGIN_ALLOW_THREADS;
1941 glDrawElements(_arg0,_arg1,_arg2,_arg3);
1942
1943 wxPy_END_ALLOW_THREADS;
1944 } Py_INCREF(Py_None);
1945 _resultobj = Py_None;
1946 return _resultobj;
1947 }
1948
1949 static PyObject *_wrap_glDrawPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject * _resultobj;
1951 GLsizei _arg0;
1952 GLsizei _arg1;
1953 GLenum _arg2;
1954 GLenum _arg3;
1955 GLvoid * _arg4;
1956 PyObject * _argo4 = 0;
1957 char *_kwnames[] = { "width","height","format","type","pixels", NULL };
1958
1959 self = self;
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glDrawPixels",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4))
1961 return NULL;
1962 if (_argo4) {
1963 if (_argo4 == Py_None) { _arg4 = NULL; }
1964 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) {
1965 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glDrawPixels. Expected _GLvoid_p.");
1966 return NULL;
1967 }
1968 }
1969 {
1970 wxPy_BEGIN_ALLOW_THREADS;
1971 glDrawPixels(_arg0,_arg1,_arg2,_arg3,_arg4);
1972
1973 wxPy_END_ALLOW_THREADS;
1974 } Py_INCREF(Py_None);
1975 _resultobj = Py_None;
1976 return _resultobj;
1977 }
1978
1979 static PyObject *_wrap_glEdgeFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
1980 PyObject * _resultobj;
1981 GLboolean _arg0;
1982 char *_kwnames[] = { "flag", NULL };
1983
1984 self = self;
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"b:glEdgeFlag",_kwnames,&_arg0))
1986 return NULL;
1987 {
1988 wxPy_BEGIN_ALLOW_THREADS;
1989 glEdgeFlag(_arg0);
1990
1991 wxPy_END_ALLOW_THREADS;
1992 } Py_INCREF(Py_None);
1993 _resultobj = Py_None;
1994 return _resultobj;
1995 }
1996
1997 static PyObject *_wrap_glEdgeFlagPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject * _resultobj;
1999 GLsizei _arg0;
2000 GLboolean * _arg1;
2001 PyObject * _argo1 = 0;
2002 char *_kwnames[] = { "stride","pointer", NULL };
2003
2004 self = self;
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glEdgeFlagPointer",_kwnames,&_arg0,&_argo1))
2006 return NULL;
2007 if (_argo1) {
2008 if (_argo1 == Py_None) { _arg1 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLboolean_p")) {
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glEdgeFlagPointer. Expected _GLboolean_p.");
2011 return NULL;
2012 }
2013 }
2014 {
2015 wxPy_BEGIN_ALLOW_THREADS;
2016 glEdgeFlagPointer(_arg0,_arg1);
2017
2018 wxPy_END_ALLOW_THREADS;
2019 } Py_INCREF(Py_None);
2020 _resultobj = Py_None;
2021 return _resultobj;
2022 }
2023
2024 static PyObject *_wrap_glEdgeFlagv(PyObject *self, PyObject *args, PyObject *kwargs) {
2025 PyObject * _resultobj;
2026 GLboolean * _arg0;
2027 PyObject * _argo0 = 0;
2028 char *_kwnames[] = { "flag", NULL };
2029
2030 self = self;
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEdgeFlagv",_kwnames,&_argo0))
2032 return NULL;
2033 if (_argo0) {
2034 if (_argo0 == Py_None) { _arg0 = NULL; }
2035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLboolean_p")) {
2036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEdgeFlagv. Expected _GLboolean_p.");
2037 return NULL;
2038 }
2039 }
2040 {
2041 wxPy_BEGIN_ALLOW_THREADS;
2042 glEdgeFlagv(_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_glEnable(PyObject *self, PyObject *args, PyObject *kwargs) {
2051 PyObject * _resultobj;
2052 GLenum _arg0;
2053 char *_kwnames[] = { "cap", NULL };
2054
2055 self = self;
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glEnable",_kwnames,&_arg0))
2057 return NULL;
2058 {
2059 wxPy_BEGIN_ALLOW_THREADS;
2060 glEnable(_arg0);
2061
2062 wxPy_END_ALLOW_THREADS;
2063 } Py_INCREF(Py_None);
2064 _resultobj = Py_None;
2065 return _resultobj;
2066 }
2067
2068 static PyObject *_wrap_glEnableClientState(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject * _resultobj;
2070 GLenum _arg0;
2071 char *_kwnames[] = { "array", NULL };
2072
2073 self = self;
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glEnableClientState",_kwnames,&_arg0))
2075 return NULL;
2076 {
2077 wxPy_BEGIN_ALLOW_THREADS;
2078 glEnableClientState(_arg0);
2079
2080 wxPy_END_ALLOW_THREADS;
2081 } Py_INCREF(Py_None);
2082 _resultobj = Py_None;
2083 return _resultobj;
2084 }
2085
2086 static PyObject *_wrap_glEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject * _resultobj;
2088 char *_kwnames[] = { NULL };
2089
2090 self = self;
2091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glEnd",_kwnames))
2092 return NULL;
2093 {
2094 wxPy_BEGIN_ALLOW_THREADS;
2095 glEnd();
2096
2097 wxPy_END_ALLOW_THREADS;
2098 } Py_INCREF(Py_None);
2099 _resultobj = Py_None;
2100 return _resultobj;
2101 }
2102
2103 static PyObject *_wrap_glEndList(PyObject *self, PyObject *args, PyObject *kwargs) {
2104 PyObject * _resultobj;
2105 char *_kwnames[] = { NULL };
2106
2107 self = self;
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glEndList",_kwnames))
2109 return NULL;
2110 {
2111 wxPy_BEGIN_ALLOW_THREADS;
2112 glEndList();
2113
2114 wxPy_END_ALLOW_THREADS;
2115 } Py_INCREF(Py_None);
2116 _resultobj = Py_None;
2117 return _resultobj;
2118 }
2119
2120 static PyObject *_wrap_glEvalCoord1d(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject * _resultobj;
2122 GLdouble _arg0;
2123 char *_kwnames[] = { "u", NULL };
2124
2125 self = self;
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:glEvalCoord1d",_kwnames,&_arg0))
2127 return NULL;
2128 {
2129 wxPy_BEGIN_ALLOW_THREADS;
2130 glEvalCoord1d(_arg0);
2131
2132 wxPy_END_ALLOW_THREADS;
2133 } Py_INCREF(Py_None);
2134 _resultobj = Py_None;
2135 return _resultobj;
2136 }
2137
2138 static PyObject *_wrap_glEvalCoord1dv(PyObject *self, PyObject *args, PyObject *kwargs) {
2139 PyObject * _resultobj;
2140 GLdouble * _arg0;
2141 PyObject * _argo0 = 0;
2142 char *_kwnames[] = { "u", NULL };
2143
2144 self = self;
2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEvalCoord1dv",_kwnames,&_argo0))
2146 return NULL;
2147 if (_argo0) {
2148 if (_argo0 == Py_None) { _arg0 = NULL; }
2149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
2150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord1dv. Expected _GLdouble_p.");
2151 return NULL;
2152 }
2153 }
2154 {
2155 wxPy_BEGIN_ALLOW_THREADS;
2156 glEvalCoord1dv(_arg0);
2157
2158 wxPy_END_ALLOW_THREADS;
2159 } Py_INCREF(Py_None);
2160 _resultobj = Py_None;
2161 return _resultobj;
2162 }
2163
2164 static PyObject *_wrap_glEvalCoord1f(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject * _resultobj;
2166 GLfloat _arg0;
2167 char *_kwnames[] = { "u", NULL };
2168
2169 self = self;
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glEvalCoord1f",_kwnames,&_arg0))
2171 return NULL;
2172 {
2173 wxPy_BEGIN_ALLOW_THREADS;
2174 glEvalCoord1f(_arg0);
2175
2176 wxPy_END_ALLOW_THREADS;
2177 } Py_INCREF(Py_None);
2178 _resultobj = Py_None;
2179 return _resultobj;
2180 }
2181
2182 static PyObject *_wrap_glEvalCoord1fv(PyObject *self, PyObject *args, PyObject *kwargs) {
2183 PyObject * _resultobj;
2184 GLfloat * _arg0;
2185 PyObject * _argo0 = 0;
2186 char *_kwnames[] = { "u", NULL };
2187
2188 self = self;
2189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEvalCoord1fv",_kwnames,&_argo0))
2190 return NULL;
2191 if (_argo0) {
2192 if (_argo0 == Py_None) { _arg0 = NULL; }
2193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
2194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord1fv. Expected _GLfloat_p.");
2195 return NULL;
2196 }
2197 }
2198 {
2199 wxPy_BEGIN_ALLOW_THREADS;
2200 glEvalCoord1fv(_arg0);
2201
2202 wxPy_END_ALLOW_THREADS;
2203 } Py_INCREF(Py_None);
2204 _resultobj = Py_None;
2205 return _resultobj;
2206 }
2207
2208 static PyObject *_wrap_glEvalCoord2d(PyObject *self, PyObject *args, PyObject *kwargs) {
2209 PyObject * _resultobj;
2210 GLdouble _arg0;
2211 GLdouble _arg1;
2212 char *_kwnames[] = { "u","v", NULL };
2213
2214 self = self;
2215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glEvalCoord2d",_kwnames,&_arg0,&_arg1))
2216 return NULL;
2217 {
2218 wxPy_BEGIN_ALLOW_THREADS;
2219 glEvalCoord2d(_arg0,_arg1);
2220
2221 wxPy_END_ALLOW_THREADS;
2222 } Py_INCREF(Py_None);
2223 _resultobj = Py_None;
2224 return _resultobj;
2225 }
2226
2227 static PyObject *_wrap_glEvalCoord2dv(PyObject *self, PyObject *args, PyObject *kwargs) {
2228 PyObject * _resultobj;
2229 GLdouble * _arg0;
2230 PyObject * _argo0 = 0;
2231 char *_kwnames[] = { "u", NULL };
2232
2233 self = self;
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEvalCoord2dv",_kwnames,&_argo0))
2235 return NULL;
2236 if (_argo0) {
2237 if (_argo0 == Py_None) { _arg0 = NULL; }
2238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
2239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord2dv. Expected _GLdouble_p.");
2240 return NULL;
2241 }
2242 }
2243 {
2244 wxPy_BEGIN_ALLOW_THREADS;
2245 glEvalCoord2dv(_arg0);
2246
2247 wxPy_END_ALLOW_THREADS;
2248 } Py_INCREF(Py_None);
2249 _resultobj = Py_None;
2250 return _resultobj;
2251 }
2252
2253 static PyObject *_wrap_glEvalCoord2f(PyObject *self, PyObject *args, PyObject *kwargs) {
2254 PyObject * _resultobj;
2255 GLfloat _arg0;
2256 GLfloat _arg1;
2257 char *_kwnames[] = { "u","v", NULL };
2258
2259 self = self;
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glEvalCoord2f",_kwnames,&_arg0,&_arg1))
2261 return NULL;
2262 {
2263 wxPy_BEGIN_ALLOW_THREADS;
2264 glEvalCoord2f(_arg0,_arg1);
2265
2266 wxPy_END_ALLOW_THREADS;
2267 } Py_INCREF(Py_None);
2268 _resultobj = Py_None;
2269 return _resultobj;
2270 }
2271
2272 static PyObject *_wrap_glEvalCoord2fv(PyObject *self, PyObject *args, PyObject *kwargs) {
2273 PyObject * _resultobj;
2274 GLfloat * _arg0;
2275 PyObject * _argo0 = 0;
2276 char *_kwnames[] = { "u", NULL };
2277
2278 self = self;
2279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEvalCoord2fv",_kwnames,&_argo0))
2280 return NULL;
2281 if (_argo0) {
2282 if (_argo0 == Py_None) { _arg0 = NULL; }
2283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
2284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord2fv. Expected _GLfloat_p.");
2285 return NULL;
2286 }
2287 }
2288 {
2289 wxPy_BEGIN_ALLOW_THREADS;
2290 glEvalCoord2fv(_arg0);
2291
2292 wxPy_END_ALLOW_THREADS;
2293 } Py_INCREF(Py_None);
2294 _resultobj = Py_None;
2295 return _resultobj;
2296 }
2297
2298 static PyObject *_wrap_glEvalMesh1(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject * _resultobj;
2300 GLenum _arg0;
2301 GLint _arg1;
2302 GLint _arg2;
2303 char *_kwnames[] = { "mode","i1","i2", NULL };
2304
2305 self = self;
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glEvalMesh1",_kwnames,&_arg0,&_arg1,&_arg2))
2307 return NULL;
2308 {
2309 wxPy_BEGIN_ALLOW_THREADS;
2310 glEvalMesh1(_arg0,_arg1,_arg2);
2311
2312 wxPy_END_ALLOW_THREADS;
2313 } Py_INCREF(Py_None);
2314 _resultobj = Py_None;
2315 return _resultobj;
2316 }
2317
2318 static PyObject *_wrap_glEvalMesh2(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject * _resultobj;
2320 GLenum _arg0;
2321 GLint _arg1;
2322 GLint _arg2;
2323 GLint _arg3;
2324 GLint _arg4;
2325 char *_kwnames[] = { "mode","i1","i2","j1","j2", NULL };
2326
2327 self = self;
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiii:glEvalMesh2",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4))
2329 return NULL;
2330 {
2331 wxPy_BEGIN_ALLOW_THREADS;
2332 glEvalMesh2(_arg0,_arg1,_arg2,_arg3,_arg4);
2333
2334 wxPy_END_ALLOW_THREADS;
2335 } Py_INCREF(Py_None);
2336 _resultobj = Py_None;
2337 return _resultobj;
2338 }
2339
2340 static PyObject *_wrap_glEvalPoint1(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject * _resultobj;
2342 GLint _arg0;
2343 char *_kwnames[] = { "i", NULL };
2344
2345 self = self;
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glEvalPoint1",_kwnames,&_arg0))
2347 return NULL;
2348 {
2349 wxPy_BEGIN_ALLOW_THREADS;
2350 glEvalPoint1(_arg0);
2351
2352 wxPy_END_ALLOW_THREADS;
2353 } Py_INCREF(Py_None);
2354 _resultobj = Py_None;
2355 return _resultobj;
2356 }
2357
2358 static PyObject *_wrap_glEvalPoint2(PyObject *self, PyObject *args, PyObject *kwargs) {
2359 PyObject * _resultobj;
2360 GLint _arg0;
2361 GLint _arg1;
2362 char *_kwnames[] = { "i","j", NULL };
2363
2364 self = self;
2365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glEvalPoint2",_kwnames,&_arg0,&_arg1))
2366 return NULL;
2367 {
2368 wxPy_BEGIN_ALLOW_THREADS;
2369 glEvalPoint2(_arg0,_arg1);
2370
2371 wxPy_END_ALLOW_THREADS;
2372 } Py_INCREF(Py_None);
2373 _resultobj = Py_None;
2374 return _resultobj;
2375 }
2376
2377 static PyObject *_wrap_glFeedbackBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
2378 PyObject * _resultobj;
2379 GLsizei _arg0;
2380 GLenum _arg1;
2381 GLfloat * _arg2;
2382 PyObject * _argo2 = 0;
2383 char *_kwnames[] = { "size","type","buffer", NULL };
2384
2385 self = self;
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glFeedbackBuffer",_kwnames,&_arg0,&_arg1,&_argo2))
2387 return NULL;
2388 if (_argo2) {
2389 if (_argo2 == Py_None) { _arg2 = NULL; }
2390 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glFeedbackBuffer. Expected _GLfloat_p.");
2392 return NULL;
2393 }
2394 }
2395 {
2396 wxPy_BEGIN_ALLOW_THREADS;
2397 glFeedbackBuffer(_arg0,_arg1,_arg2);
2398
2399 wxPy_END_ALLOW_THREADS;
2400 } Py_INCREF(Py_None);
2401 _resultobj = Py_None;
2402 return _resultobj;
2403 }
2404
2405 static PyObject *_wrap_glFinish(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject * _resultobj;
2407 char *_kwnames[] = { NULL };
2408
2409 self = self;
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glFinish",_kwnames))
2411 return NULL;
2412 {
2413 wxPy_BEGIN_ALLOW_THREADS;
2414 glFinish();
2415
2416 wxPy_END_ALLOW_THREADS;
2417 } Py_INCREF(Py_None);
2418 _resultobj = Py_None;
2419 return _resultobj;
2420 }
2421
2422 static PyObject *_wrap_glFlush(PyObject *self, PyObject *args, PyObject *kwargs) {
2423 PyObject * _resultobj;
2424 char *_kwnames[] = { NULL };
2425
2426 self = self;
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glFlush",_kwnames))
2428 return NULL;
2429 {
2430 wxPy_BEGIN_ALLOW_THREADS;
2431 glFlush();
2432
2433 wxPy_END_ALLOW_THREADS;
2434 } Py_INCREF(Py_None);
2435 _resultobj = Py_None;
2436 return _resultobj;
2437 }
2438
2439 static PyObject *_wrap_glFogf(PyObject *self, PyObject *args, PyObject *kwargs) {
2440 PyObject * _resultobj;
2441 GLenum _arg0;
2442 GLfloat _arg1;
2443 char *_kwnames[] = { "pname","param", NULL };
2444
2445 self = self;
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glFogf",_kwnames,&_arg0,&_arg1))
2447 return NULL;
2448 {
2449 wxPy_BEGIN_ALLOW_THREADS;
2450 glFogf(_arg0,_arg1);
2451
2452 wxPy_END_ALLOW_THREADS;
2453 } Py_INCREF(Py_None);
2454 _resultobj = Py_None;
2455 return _resultobj;
2456 }
2457
2458 static PyObject *_wrap_glFogfv(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject * _resultobj;
2460 GLenum _arg0;
2461 GLfloat * _arg1;
2462 PyObject * _argo1 = 0;
2463 char *_kwnames[] = { "pname","params", NULL };
2464
2465 self = self;
2466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glFogfv",_kwnames,&_arg0,&_argo1))
2467 return NULL;
2468 if (_argo1) {
2469 if (_argo1 == Py_None) { _arg1 = NULL; }
2470 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) {
2471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glFogfv. Expected _GLfloat_p.");
2472 return NULL;
2473 }
2474 }
2475 {
2476 wxPy_BEGIN_ALLOW_THREADS;
2477 glFogfv(_arg0,_arg1);
2478
2479 wxPy_END_ALLOW_THREADS;
2480 } Py_INCREF(Py_None);
2481 _resultobj = Py_None;
2482 return _resultobj;
2483 }
2484
2485 static PyObject *_wrap_glFogi(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject * _resultobj;
2487 GLenum _arg0;
2488 GLint _arg1;
2489 char *_kwnames[] = { "pname","param", NULL };
2490
2491 self = self;
2492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glFogi",_kwnames,&_arg0,&_arg1))
2493 return NULL;
2494 {
2495 wxPy_BEGIN_ALLOW_THREADS;
2496 glFogi(_arg0,_arg1);
2497
2498 wxPy_END_ALLOW_THREADS;
2499 } Py_INCREF(Py_None);
2500 _resultobj = Py_None;
2501 return _resultobj;
2502 }
2503
2504 static PyObject *_wrap_glFogiv(PyObject *self, PyObject *args, PyObject *kwargs) {
2505 PyObject * _resultobj;
2506 GLenum _arg0;
2507 GLint * _arg1;
2508 PyObject * _argo1 = 0;
2509 char *_kwnames[] = { "pname","params", NULL };
2510
2511 self = self;
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glFogiv",_kwnames,&_arg0,&_argo1))
2513 return NULL;
2514 if (_argo1) {
2515 if (_argo1 == Py_None) { _arg1 = NULL; }
2516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) {
2517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glFogiv. Expected _GLint_p.");
2518 return NULL;
2519 }
2520 }
2521 {
2522 wxPy_BEGIN_ALLOW_THREADS;
2523 glFogiv(_arg0,_arg1);
2524
2525 wxPy_END_ALLOW_THREADS;
2526 } Py_INCREF(Py_None);
2527 _resultobj = Py_None;
2528 return _resultobj;
2529 }
2530
2531 static PyObject *_wrap_glFrontFace(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject * _resultobj;
2533 GLenum _arg0;
2534 char *_kwnames[] = { "mode", NULL };
2535
2536 self = self;
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glFrontFace",_kwnames,&_arg0))
2538 return NULL;
2539 {
2540 wxPy_BEGIN_ALLOW_THREADS;
2541 glFrontFace(_arg0);
2542
2543 wxPy_END_ALLOW_THREADS;
2544 } Py_INCREF(Py_None);
2545 _resultobj = Py_None;
2546 return _resultobj;
2547 }
2548
2549 static PyObject *_wrap_glFrustum(PyObject *self, PyObject *args, PyObject *kwargs) {
2550 PyObject * _resultobj;
2551 GLdouble _arg0;
2552 GLdouble _arg1;
2553 GLdouble _arg2;
2554 GLdouble _arg3;
2555 GLdouble _arg4;
2556 GLdouble _arg5;
2557 char *_kwnames[] = { "left","right","bottom","top","zNear","zFar", NULL };
2558
2559 self = self;
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddddd:glFrustum",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
2561 return NULL;
2562 {
2563 wxPy_BEGIN_ALLOW_THREADS;
2564 glFrustum(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2565
2566 wxPy_END_ALLOW_THREADS;
2567 } Py_INCREF(Py_None);
2568 _resultobj = Py_None;
2569 return _resultobj;
2570 }
2571
2572 static PyObject *_wrap_glGenLists(PyObject *self, PyObject *args, PyObject *kwargs) {
2573 PyObject * _resultobj;
2574 GLuint _result;
2575 GLsizei _arg0;
2576 char *_kwnames[] = { "range", NULL };
2577
2578 self = self;
2579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glGenLists",_kwnames,&_arg0))
2580 return NULL;
2581 {
2582 wxPy_BEGIN_ALLOW_THREADS;
2583 _result = (GLuint )glGenLists(_arg0);
2584
2585 wxPy_END_ALLOW_THREADS;
2586 } _resultobj = Py_BuildValue("i",_result);
2587 return _resultobj;
2588 }
2589
2590 static PyObject *_wrap_glGenTextures(PyObject *self, PyObject *args, PyObject *kwargs) {
2591 PyObject * _resultobj;
2592 GLsizei _arg0;
2593 GLuint * _arg1;
2594 PyObject * _argo1 = 0;
2595 char *_kwnames[] = { "n","textures", NULL };
2596
2597 self = self;
2598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGenTextures",_kwnames,&_arg0,&_argo1))
2599 return NULL;
2600 if (_argo1) {
2601 if (_argo1 == Py_None) { _arg1 = NULL; }
2602 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) {
2603 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGenTextures. Expected _GLuint_p.");
2604 return NULL;
2605 }
2606 }
2607 {
2608 wxPy_BEGIN_ALLOW_THREADS;
2609 glGenTextures(_arg0,_arg1);
2610
2611 wxPy_END_ALLOW_THREADS;
2612 } Py_INCREF(Py_None);
2613 _resultobj = Py_None;
2614 return _resultobj;
2615 }
2616
2617 static PyObject *_wrap_glGetBooleanv(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject * _resultobj;
2619 GLenum _arg0;
2620 GLboolean * _arg1;
2621 PyObject * _argo1 = 0;
2622 char *_kwnames[] = { "pname","params", NULL };
2623
2624 self = self;
2625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetBooleanv",_kwnames,&_arg0,&_argo1))
2626 return NULL;
2627 if (_argo1) {
2628 if (_argo1 == Py_None) { _arg1 = NULL; }
2629 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLboolean_p")) {
2630 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetBooleanv. Expected _GLboolean_p.");
2631 return NULL;
2632 }
2633 }
2634 {
2635 wxPy_BEGIN_ALLOW_THREADS;
2636 glGetBooleanv(_arg0,_arg1);
2637
2638 wxPy_END_ALLOW_THREADS;
2639 } Py_INCREF(Py_None);
2640 _resultobj = Py_None;
2641 return _resultobj;
2642 }
2643
2644 static PyObject *_wrap_glGetClipPlane(PyObject *self, PyObject *args, PyObject *kwargs) {
2645 PyObject * _resultobj;
2646 GLenum _arg0;
2647 GLdouble * _arg1;
2648 PyObject * _argo1 = 0;
2649 char *_kwnames[] = { "plane","equation", NULL };
2650
2651 self = self;
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetClipPlane",_kwnames,&_arg0,&_argo1))
2653 return NULL;
2654 if (_argo1) {
2655 if (_argo1 == Py_None) { _arg1 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetClipPlane. Expected _GLdouble_p.");
2658 return NULL;
2659 }
2660 }
2661 {
2662 wxPy_BEGIN_ALLOW_THREADS;
2663 glGetClipPlane(_arg0,_arg1);
2664
2665 wxPy_END_ALLOW_THREADS;
2666 } Py_INCREF(Py_None);
2667 _resultobj = Py_None;
2668 return _resultobj;
2669 }
2670
2671 static PyObject *_wrap_glGetDoublev(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject * _resultobj;
2673 GLenum _arg0;
2674 GLdouble * _arg1;
2675 PyObject * _argo1 = 0;
2676 char *_kwnames[] = { "pname","params", NULL };
2677
2678 self = self;
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetDoublev",_kwnames,&_arg0,&_argo1))
2680 return NULL;
2681 if (_argo1) {
2682 if (_argo1 == Py_None) { _arg1 = NULL; }
2683 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) {
2684 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetDoublev. Expected _GLdouble_p.");
2685 return NULL;
2686 }
2687 }
2688 {
2689 wxPy_BEGIN_ALLOW_THREADS;
2690 glGetDoublev(_arg0,_arg1);
2691
2692 wxPy_END_ALLOW_THREADS;
2693 } Py_INCREF(Py_None);
2694 _resultobj = Py_None;
2695 return _resultobj;
2696 }
2697
2698 static PyObject *_wrap_glGetError(PyObject *self, PyObject *args, PyObject *kwargs) {
2699 PyObject * _resultobj;
2700 GLenum _result;
2701 char *_kwnames[] = { NULL };
2702
2703 self = self;
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glGetError",_kwnames))
2705 return NULL;
2706 {
2707 wxPy_BEGIN_ALLOW_THREADS;
2708 _result = (GLenum )glGetError();
2709
2710 wxPy_END_ALLOW_THREADS;
2711 } _resultobj = Py_BuildValue("i",_result);
2712 return _resultobj;
2713 }
2714
2715 static PyObject *_wrap_glGetFloatv(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject * _resultobj;
2717 GLenum _arg0;
2718 GLfloat * _arg1;
2719 PyObject * _argo1 = 0;
2720 char *_kwnames[] = { "pname","params", NULL };
2721
2722 self = self;
2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetFloatv",_kwnames,&_arg0,&_argo1))
2724 return NULL;
2725 if (_argo1) {
2726 if (_argo1 == Py_None) { _arg1 = NULL; }
2727 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) {
2728 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetFloatv. Expected _GLfloat_p.");
2729 return NULL;
2730 }
2731 }
2732 {
2733 wxPy_BEGIN_ALLOW_THREADS;
2734 glGetFloatv(_arg0,_arg1);
2735
2736 wxPy_END_ALLOW_THREADS;
2737 } Py_INCREF(Py_None);
2738 _resultobj = Py_None;
2739 return _resultobj;
2740 }
2741
2742 static PyObject *_wrap_glGetIntegerv(PyObject *self, PyObject *args, PyObject *kwargs) {
2743 PyObject * _resultobj;
2744 GLenum _arg0;
2745 GLint * _arg1;
2746 PyObject * _argo1 = 0;
2747 char *_kwnames[] = { "pname","params", NULL };
2748
2749 self = self;
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetIntegerv",_kwnames,&_arg0,&_argo1))
2751 return NULL;
2752 if (_argo1) {
2753 if (_argo1 == Py_None) { _arg1 = NULL; }
2754 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) {
2755 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetIntegerv. Expected _GLint_p.");
2756 return NULL;
2757 }
2758 }
2759 {
2760 wxPy_BEGIN_ALLOW_THREADS;
2761 glGetIntegerv(_arg0,_arg1);
2762
2763 wxPy_END_ALLOW_THREADS;
2764 } Py_INCREF(Py_None);
2765 _resultobj = Py_None;
2766 return _resultobj;
2767 }
2768
2769 static PyObject *_wrap_glGetLightfv(PyObject *self, PyObject *args, PyObject *kwargs) {
2770 PyObject * _resultobj;
2771 GLenum _arg0;
2772 GLenum _arg1;
2773 GLfloat * _arg2;
2774 PyObject * _argo2 = 0;
2775 char *_kwnames[] = { "light","pname","params", NULL };
2776
2777 self = self;
2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetLightfv",_kwnames,&_arg0,&_arg1,&_argo2))
2779 return NULL;
2780 if (_argo2) {
2781 if (_argo2 == Py_None) { _arg2 = NULL; }
2782 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
2783 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetLightfv. Expected _GLfloat_p.");
2784 return NULL;
2785 }
2786 }
2787 {
2788 wxPy_BEGIN_ALLOW_THREADS;
2789 glGetLightfv(_arg0,_arg1,_arg2);
2790
2791 wxPy_END_ALLOW_THREADS;
2792 } Py_INCREF(Py_None);
2793 _resultobj = Py_None;
2794 return _resultobj;
2795 }
2796
2797 static PyObject *_wrap_glGetLightiv(PyObject *self, PyObject *args, PyObject *kwargs) {
2798 PyObject * _resultobj;
2799 GLenum _arg0;
2800 GLenum _arg1;
2801 GLint * _arg2;
2802 PyObject * _argo2 = 0;
2803 char *_kwnames[] = { "light","pname","params", NULL };
2804
2805 self = self;
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetLightiv",_kwnames,&_arg0,&_arg1,&_argo2))
2807 return NULL;
2808 if (_argo2) {
2809 if (_argo2 == Py_None) { _arg2 = NULL; }
2810 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
2811 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetLightiv. Expected _GLint_p.");
2812 return NULL;
2813 }
2814 }
2815 {
2816 wxPy_BEGIN_ALLOW_THREADS;
2817 glGetLightiv(_arg0,_arg1,_arg2);
2818
2819 wxPy_END_ALLOW_THREADS;
2820 } Py_INCREF(Py_None);
2821 _resultobj = Py_None;
2822 return _resultobj;
2823 }
2824
2825 static PyObject *_wrap_glGetMapdv(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject * _resultobj;
2827 GLenum _arg0;
2828 GLenum _arg1;
2829 GLdouble * _arg2;
2830 PyObject * _argo2 = 0;
2831 char *_kwnames[] = { "target","query","v", NULL };
2832
2833 self = self;
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMapdv",_kwnames,&_arg0,&_arg1,&_argo2))
2835 return NULL;
2836 if (_argo2) {
2837 if (_argo2 == Py_None) { _arg2 = NULL; }
2838 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) {
2839 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapdv. Expected _GLdouble_p.");
2840 return NULL;
2841 }
2842 }
2843 {
2844 wxPy_BEGIN_ALLOW_THREADS;
2845 glGetMapdv(_arg0,_arg1,_arg2);
2846
2847 wxPy_END_ALLOW_THREADS;
2848 } Py_INCREF(Py_None);
2849 _resultobj = Py_None;
2850 return _resultobj;
2851 }
2852
2853 static PyObject *_wrap_glGetMapfv(PyObject *self, PyObject *args, PyObject *kwargs) {
2854 PyObject * _resultobj;
2855 GLenum _arg0;
2856 GLenum _arg1;
2857 GLfloat * _arg2;
2858 PyObject * _argo2 = 0;
2859 char *_kwnames[] = { "target","query","v", NULL };
2860
2861 self = self;
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMapfv",_kwnames,&_arg0,&_arg1,&_argo2))
2863 return NULL;
2864 if (_argo2) {
2865 if (_argo2 == Py_None) { _arg2 = NULL; }
2866 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
2867 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapfv. Expected _GLfloat_p.");
2868 return NULL;
2869 }
2870 }
2871 {
2872 wxPy_BEGIN_ALLOW_THREADS;
2873 glGetMapfv(_arg0,_arg1,_arg2);
2874
2875 wxPy_END_ALLOW_THREADS;
2876 } Py_INCREF(Py_None);
2877 _resultobj = Py_None;
2878 return _resultobj;
2879 }
2880
2881 static PyObject *_wrap_glGetMapiv(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject * _resultobj;
2883 GLenum _arg0;
2884 GLenum _arg1;
2885 GLint * _arg2;
2886 PyObject * _argo2 = 0;
2887 char *_kwnames[] = { "target","query","v", NULL };
2888
2889 self = self;
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMapiv",_kwnames,&_arg0,&_arg1,&_argo2))
2891 return NULL;
2892 if (_argo2) {
2893 if (_argo2 == Py_None) { _arg2 = NULL; }
2894 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
2895 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapiv. Expected _GLint_p.");
2896 return NULL;
2897 }
2898 }
2899 {
2900 wxPy_BEGIN_ALLOW_THREADS;
2901 glGetMapiv(_arg0,_arg1,_arg2);
2902
2903 wxPy_END_ALLOW_THREADS;
2904 } Py_INCREF(Py_None);
2905 _resultobj = Py_None;
2906 return _resultobj;
2907 }
2908
2909 static PyObject *_wrap_glGetMaterialfv(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject * _resultobj;
2911 GLenum _arg0;
2912 GLenum _arg1;
2913 GLfloat * _arg2;
2914 PyObject * _argo2 = 0;
2915 char *_kwnames[] = { "face","pname","params", NULL };
2916
2917 self = self;
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMaterialfv",_kwnames,&_arg0,&_arg1,&_argo2))
2919 return NULL;
2920 if (_argo2) {
2921 if (_argo2 == Py_None) { _arg2 = NULL; }
2922 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
2923 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMaterialfv. Expected _GLfloat_p.");
2924 return NULL;
2925 }
2926 }
2927 {
2928 wxPy_BEGIN_ALLOW_THREADS;
2929 glGetMaterialfv(_arg0,_arg1,_arg2);
2930
2931 wxPy_END_ALLOW_THREADS;
2932 } Py_INCREF(Py_None);
2933 _resultobj = Py_None;
2934 return _resultobj;
2935 }
2936
2937 static PyObject *_wrap_glGetMaterialiv(PyObject *self, PyObject *args, PyObject *kwargs) {
2938 PyObject * _resultobj;
2939 GLenum _arg0;
2940 GLenum _arg1;
2941 GLint * _arg2;
2942 PyObject * _argo2 = 0;
2943 char *_kwnames[] = { "face","pname","params", NULL };
2944
2945 self = self;
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMaterialiv",_kwnames,&_arg0,&_arg1,&_argo2))
2947 return NULL;
2948 if (_argo2) {
2949 if (_argo2 == Py_None) { _arg2 = NULL; }
2950 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
2951 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMaterialiv. Expected _GLint_p.");
2952 return NULL;
2953 }
2954 }
2955 {
2956 wxPy_BEGIN_ALLOW_THREADS;
2957 glGetMaterialiv(_arg0,_arg1,_arg2);
2958
2959 wxPy_END_ALLOW_THREADS;
2960 } Py_INCREF(Py_None);
2961 _resultobj = Py_None;
2962 return _resultobj;
2963 }
2964
2965 static PyObject *_wrap_glGetPixelMapfv(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject * _resultobj;
2967 GLenum _arg0;
2968 GLfloat * _arg1;
2969 PyObject * _argo1 = 0;
2970 char *_kwnames[] = { "map","values", NULL };
2971
2972 self = self;
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPixelMapfv",_kwnames,&_arg0,&_argo1))
2974 return NULL;
2975 if (_argo1) {
2976 if (_argo1 == Py_None) { _arg1 = NULL; }
2977 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) {
2978 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapfv. Expected _GLfloat_p.");
2979 return NULL;
2980 }
2981 }
2982 {
2983 wxPy_BEGIN_ALLOW_THREADS;
2984 glGetPixelMapfv(_arg0,_arg1);
2985
2986 wxPy_END_ALLOW_THREADS;
2987 } Py_INCREF(Py_None);
2988 _resultobj = Py_None;
2989 return _resultobj;
2990 }
2991
2992 static PyObject *_wrap_glGetPixelMapuiv(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject * _resultobj;
2994 GLenum _arg0;
2995 GLuint * _arg1;
2996 PyObject * _argo1 = 0;
2997 char *_kwnames[] = { "map","values", NULL };
2998
2999 self = self;
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPixelMapuiv",_kwnames,&_arg0,&_argo1))
3001 return NULL;
3002 if (_argo1) {
3003 if (_argo1 == Py_None) { _arg1 = NULL; }
3004 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) {
3005 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapuiv. Expected _GLuint_p.");
3006 return NULL;
3007 }
3008 }
3009 {
3010 wxPy_BEGIN_ALLOW_THREADS;
3011 glGetPixelMapuiv(_arg0,_arg1);
3012
3013 wxPy_END_ALLOW_THREADS;
3014 } Py_INCREF(Py_None);
3015 _resultobj = Py_None;
3016 return _resultobj;
3017 }
3018
3019 static PyObject *_wrap_glGetPixelMapusv(PyObject *self, PyObject *args, PyObject *kwargs) {
3020 PyObject * _resultobj;
3021 GLenum _arg0;
3022 GLushort * _arg1;
3023 PyObject * _argo1 = 0;
3024 char *_kwnames[] = { "map","values", NULL };
3025
3026 self = self;
3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPixelMapusv",_kwnames,&_arg0,&_argo1))
3028 return NULL;
3029 if (_argo1) {
3030 if (_argo1 == Py_None) { _arg1 = NULL; }
3031 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLushort_p")) {
3032 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapusv. Expected _GLushort_p.");
3033 return NULL;
3034 }
3035 }
3036 {
3037 wxPy_BEGIN_ALLOW_THREADS;
3038 glGetPixelMapusv(_arg0,_arg1);
3039
3040 wxPy_END_ALLOW_THREADS;
3041 } Py_INCREF(Py_None);
3042 _resultobj = Py_None;
3043 return _resultobj;
3044 }
3045
3046 static PyObject *_wrap_glGetPointerv(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject * _resultobj;
3048 GLenum _arg0;
3049 GLvoid ** _arg1;
3050 PyObject * _argo1 = 0;
3051 char *_kwnames[] = { "pname","params", NULL };
3052
3053 self = self;
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPointerv",_kwnames,&_arg0,&_argo1))
3055 return NULL;
3056 if (_argo1) {
3057 if (_argo1 == Py_None) { _arg1 = NULL; }
3058 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
3059 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPointerv. Expected _GLvoid_pp.");
3060 return NULL;
3061 }
3062 }
3063 {
3064 wxPy_BEGIN_ALLOW_THREADS;
3065 glGetPointerv(_arg0,_arg1);
3066
3067 wxPy_END_ALLOW_THREADS;
3068 } Py_INCREF(Py_None);
3069 _resultobj = Py_None;
3070 return _resultobj;
3071 }
3072
3073 static PyObject *_wrap_glGetPolygonStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject * _resultobj;
3075 GLubyte * _arg0;
3076 PyObject * _argo0 = 0;
3077 char *_kwnames[] = { "mask", NULL };
3078
3079 self = self;
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glGetPolygonStipple",_kwnames,&_argo0))
3081 return NULL;
3082 if (_argo0) {
3083 if (_argo0 == Py_None) { _arg0 = NULL; }
3084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) {
3085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glGetPolygonStipple. Expected _GLubyte_p.");
3086 return NULL;
3087 }
3088 }
3089 {
3090 wxPy_BEGIN_ALLOW_THREADS;
3091 glGetPolygonStipple(_arg0);
3092
3093 wxPy_END_ALLOW_THREADS;
3094 } Py_INCREF(Py_None);
3095 _resultobj = Py_None;
3096 return _resultobj;
3097 }
3098
3099 static PyObject *_wrap_glGetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3100 PyObject * _resultobj;
3101 GLubyte * _result;
3102 GLenum _arg0;
3103 char *_kwnames[] = { "name", NULL };
3104 char _ptemp[128];
3105
3106 self = self;
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glGetString",_kwnames,&_arg0))
3108 return NULL;
3109 {
3110 wxPy_BEGIN_ALLOW_THREADS;
3111 _result = (GLubyte *)glGetString(_arg0);
3112
3113 wxPy_END_ALLOW_THREADS;
3114 } if (_result) {
3115 SWIG_MakePtr(_ptemp, (char *) _result,"_GLubyte_p");
3116 _resultobj = Py_BuildValue("s",_ptemp);
3117 } else {
3118 Py_INCREF(Py_None);
3119 _resultobj = Py_None;
3120 }
3121 return _resultobj;
3122 }
3123
3124 static PyObject *_wrap_glGetTexEnvfv(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject * _resultobj;
3126 GLenum _arg0;
3127 GLenum _arg1;
3128 GLfloat * _arg2;
3129 PyObject * _argo2 = 0;
3130 char *_kwnames[] = { "target","pname","params", NULL };
3131
3132 self = self;
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexEnvfv",_kwnames,&_arg0,&_arg1,&_argo2))
3134 return NULL;
3135 if (_argo2) {
3136 if (_argo2 == Py_None) { _arg2 = NULL; }
3137 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
3138 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexEnvfv. Expected _GLfloat_p.");
3139 return NULL;
3140 }
3141 }
3142 {
3143 wxPy_BEGIN_ALLOW_THREADS;
3144 glGetTexEnvfv(_arg0,_arg1,_arg2);
3145
3146 wxPy_END_ALLOW_THREADS;
3147 } Py_INCREF(Py_None);
3148 _resultobj = Py_None;
3149 return _resultobj;
3150 }
3151
3152 static PyObject *_wrap_glGetTexEnviv(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject * _resultobj;
3154 GLenum _arg0;
3155 GLenum _arg1;
3156 GLint * _arg2;
3157 PyObject * _argo2 = 0;
3158 char *_kwnames[] = { "target","pname","params", NULL };
3159
3160 self = self;
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexEnviv",_kwnames,&_arg0,&_arg1,&_argo2))
3162 return NULL;
3163 if (_argo2) {
3164 if (_argo2 == Py_None) { _arg2 = NULL; }
3165 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
3166 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexEnviv. Expected _GLint_p.");
3167 return NULL;
3168 }
3169 }
3170 {
3171 wxPy_BEGIN_ALLOW_THREADS;
3172 glGetTexEnviv(_arg0,_arg1,_arg2);
3173
3174 wxPy_END_ALLOW_THREADS;
3175 } Py_INCREF(Py_None);
3176 _resultobj = Py_None;
3177 return _resultobj;
3178 }
3179
3180 static PyObject *_wrap_glGetTexGendv(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject * _resultobj;
3182 GLenum _arg0;
3183 GLenum _arg1;
3184 GLdouble * _arg2;
3185 PyObject * _argo2 = 0;
3186 char *_kwnames[] = { "coord","pname","params", NULL };
3187
3188 self = self;
3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexGendv",_kwnames,&_arg0,&_arg1,&_argo2))
3190 return NULL;
3191 if (_argo2) {
3192 if (_argo2 == Py_None) { _arg2 = NULL; }
3193 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) {
3194 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGendv. Expected _GLdouble_p.");
3195 return NULL;
3196 }
3197 }
3198 {
3199 wxPy_BEGIN_ALLOW_THREADS;
3200 glGetTexGendv(_arg0,_arg1,_arg2);
3201
3202 wxPy_END_ALLOW_THREADS;
3203 } Py_INCREF(Py_None);
3204 _resultobj = Py_None;
3205 return _resultobj;
3206 }
3207
3208 static PyObject *_wrap_glGetTexGenfv(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject * _resultobj;
3210 GLenum _arg0;
3211 GLenum _arg1;
3212 GLfloat * _arg2;
3213 PyObject * _argo2 = 0;
3214 char *_kwnames[] = { "coord","pname","params", NULL };
3215
3216 self = self;
3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexGenfv",_kwnames,&_arg0,&_arg1,&_argo2))
3218 return NULL;
3219 if (_argo2) {
3220 if (_argo2 == Py_None) { _arg2 = NULL; }
3221 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
3222 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGenfv. Expected _GLfloat_p.");
3223 return NULL;
3224 }
3225 }
3226 {
3227 wxPy_BEGIN_ALLOW_THREADS;
3228 glGetTexGenfv(_arg0,_arg1,_arg2);
3229
3230 wxPy_END_ALLOW_THREADS;
3231 } Py_INCREF(Py_None);
3232 _resultobj = Py_None;
3233 return _resultobj;
3234 }
3235
3236 static PyObject *_wrap_glGetTexGeniv(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject * _resultobj;
3238 GLenum _arg0;
3239 GLenum _arg1;
3240 GLint * _arg2;
3241 PyObject * _argo2 = 0;
3242 char *_kwnames[] = { "coord","pname","params", NULL };
3243
3244 self = self;
3245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexGeniv",_kwnames,&_arg0,&_arg1,&_argo2))
3246 return NULL;
3247 if (_argo2) {
3248 if (_argo2 == Py_None) { _arg2 = NULL; }
3249 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
3250 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGeniv. Expected _GLint_p.");
3251 return NULL;
3252 }
3253 }
3254 {
3255 wxPy_BEGIN_ALLOW_THREADS;
3256 glGetTexGeniv(_arg0,_arg1,_arg2);
3257
3258 wxPy_END_ALLOW_THREADS;
3259 } Py_INCREF(Py_None);
3260 _resultobj = Py_None;
3261 return _resultobj;
3262 }
3263
3264 static PyObject *_wrap_glGetTexImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3265 PyObject * _resultobj;
3266 GLenum _arg0;
3267 GLint _arg1;
3268 GLenum _arg2;
3269 GLenum _arg3;
3270 GLvoid * _arg4;
3271 PyObject * _argo4 = 0;
3272 char *_kwnames[] = { "target","level","format","type","pixels", NULL };
3273
3274 self = self;
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glGetTexImage",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4))
3276 return NULL;
3277 if (_argo4) {
3278 if (_argo4 == Py_None) { _arg4 = NULL; }
3279 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) {
3280 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glGetTexImage. Expected _GLvoid_p.");
3281 return NULL;
3282 }
3283 }
3284 {
3285 wxPy_BEGIN_ALLOW_THREADS;
3286 glGetTexImage(_arg0,_arg1,_arg2,_arg3,_arg4);
3287
3288 wxPy_END_ALLOW_THREADS;
3289 } Py_INCREF(Py_None);
3290 _resultobj = Py_None;
3291 return _resultobj;
3292 }
3293
3294 static PyObject *_wrap_glGetTexLevelParameterfv(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject * _resultobj;
3296 GLenum _arg0;
3297 GLint _arg1;
3298 GLenum _arg2;
3299 GLfloat * _arg3;
3300 PyObject * _argo3 = 0;
3301 char *_kwnames[] = { "target","level","pname","params", NULL };
3302
3303 self = self;
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glGetTexLevelParameterfv",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
3305 return NULL;
3306 if (_argo3) {
3307 if (_argo3 == Py_None) { _arg3 = NULL; }
3308 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_GLfloat_p")) {
3309 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetTexLevelParameterfv. Expected _GLfloat_p.");
3310 return NULL;
3311 }
3312 }
3313 {
3314 wxPy_BEGIN_ALLOW_THREADS;
3315 glGetTexLevelParameterfv(_arg0,_arg1,_arg2,_arg3);
3316
3317 wxPy_END_ALLOW_THREADS;
3318 } Py_INCREF(Py_None);
3319 _resultobj = Py_None;
3320 return _resultobj;
3321 }
3322
3323 static PyObject *_wrap_glGetTexLevelParameteriv(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject * _resultobj;
3325 GLenum _arg0;
3326 GLint _arg1;
3327 GLenum _arg2;
3328 GLint * _arg3;
3329 PyObject * _argo3 = 0;
3330 char *_kwnames[] = { "target","level","pname","params", NULL };
3331
3332 self = self;
3333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glGetTexLevelParameteriv",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
3334 return NULL;
3335 if (_argo3) {
3336 if (_argo3 == Py_None) { _arg3 = NULL; }
3337 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_GLint_p")) {
3338 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetTexLevelParameteriv. Expected _GLint_p.");
3339 return NULL;
3340 }
3341 }
3342 {
3343 wxPy_BEGIN_ALLOW_THREADS;
3344 glGetTexLevelParameteriv(_arg0,_arg1,_arg2,_arg3);
3345
3346 wxPy_END_ALLOW_THREADS;
3347 } Py_INCREF(Py_None);
3348 _resultobj = Py_None;
3349 return _resultobj;
3350 }
3351
3352 static PyObject *_wrap_glGetTexParameterfv(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject * _resultobj;
3354 GLenum _arg0;
3355 GLenum _arg1;
3356 GLfloat * _arg2;
3357 PyObject * _argo2 = 0;
3358 char *_kwnames[] = { "target","pname","params", NULL };
3359
3360 self = self;
3361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexParameterfv",_kwnames,&_arg0,&_arg1,&_argo2))
3362 return NULL;
3363 if (_argo2) {
3364 if (_argo2 == Py_None) { _arg2 = NULL; }
3365 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
3366 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexParameterfv. Expected _GLfloat_p.");
3367 return NULL;
3368 }
3369 }
3370 {
3371 wxPy_BEGIN_ALLOW_THREADS;
3372 glGetTexParameterfv(_arg0,_arg1,_arg2);
3373
3374 wxPy_END_ALLOW_THREADS;
3375 } Py_INCREF(Py_None);
3376 _resultobj = Py_None;
3377 return _resultobj;
3378 }
3379
3380 static PyObject *_wrap_glGetTexParameteriv(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject * _resultobj;
3382 GLenum _arg0;
3383 GLenum _arg1;
3384 GLint * _arg2;
3385 PyObject * _argo2 = 0;
3386 char *_kwnames[] = { "target","pname","params", NULL };
3387
3388 self = self;
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexParameteriv",_kwnames,&_arg0,&_arg1,&_argo2))
3390 return NULL;
3391 if (_argo2) {
3392 if (_argo2 == Py_None) { _arg2 = NULL; }
3393 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
3394 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexParameteriv. Expected _GLint_p.");
3395 return NULL;
3396 }
3397 }
3398 {
3399 wxPy_BEGIN_ALLOW_THREADS;
3400 glGetTexParameteriv(_arg0,_arg1,_arg2);
3401
3402 wxPy_END_ALLOW_THREADS;
3403 } Py_INCREF(Py_None);
3404 _resultobj = Py_None;
3405 return _resultobj;
3406 }
3407
3408 static PyObject *_wrap_glHint(PyObject *self, PyObject *args, PyObject *kwargs) {
3409 PyObject * _resultobj;
3410 GLenum _arg0;
3411 GLenum _arg1;
3412 char *_kwnames[] = { "target","mode", NULL };
3413
3414 self = self;
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glHint",_kwnames,&_arg0,&_arg1))
3416 return NULL;
3417 {
3418 wxPy_BEGIN_ALLOW_THREADS;
3419 glHint(_arg0,_arg1);
3420
3421 wxPy_END_ALLOW_THREADS;
3422 } Py_INCREF(Py_None);
3423 _resultobj = Py_None;
3424 return _resultobj;
3425 }
3426
3427 static PyObject *_wrap_glIndexMask(PyObject *self, PyObject *args, PyObject *kwargs) {
3428 PyObject * _resultobj;
3429 GLuint _arg0;
3430 char *_kwnames[] = { "mask", NULL };
3431
3432 self = self;
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIndexMask",_kwnames,&_arg0))
3434 return NULL;
3435 {
3436 wxPy_BEGIN_ALLOW_THREADS;
3437 glIndexMask(_arg0);
3438
3439 wxPy_END_ALLOW_THREADS;
3440 } Py_INCREF(Py_None);
3441 _resultobj = Py_None;
3442 return _resultobj;
3443 }
3444
3445 static PyObject *_wrap_glIndexPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
3446 PyObject * _resultobj;
3447 GLenum _arg0;
3448 GLsizei _arg1;
3449 GLvoid * _arg2;
3450 PyObject * _argo2 = 0;
3451 char *_kwnames[] = { "type","stride","pointer", NULL };
3452
3453 self = self;
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glIndexPointer",_kwnames,&_arg0,&_arg1,&_argo2))
3455 return NULL;
3456 if (_argo2) {
3457 if (_argo2 == Py_None) { _arg2 = NULL; }
3458 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) {
3459 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glIndexPointer. Expected _GLvoid_p.");
3460 return NULL;
3461 }
3462 }
3463 {
3464 wxPy_BEGIN_ALLOW_THREADS;
3465 glIndexPointer(_arg0,_arg1,_arg2);
3466
3467 wxPy_END_ALLOW_THREADS;
3468 } Py_INCREF(Py_None);
3469 _resultobj = Py_None;
3470 return _resultobj;
3471 }
3472
3473 static PyObject *_wrap_glIndexd(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject * _resultobj;
3475 GLdouble _arg0;
3476 char *_kwnames[] = { "c", NULL };
3477
3478 self = self;
3479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:glIndexd",_kwnames,&_arg0))
3480 return NULL;
3481 {
3482 wxPy_BEGIN_ALLOW_THREADS;
3483 glIndexd(_arg0);
3484
3485 wxPy_END_ALLOW_THREADS;
3486 } Py_INCREF(Py_None);
3487 _resultobj = Py_None;
3488 return _resultobj;
3489 }
3490
3491 static PyObject *_wrap_glIndexdv(PyObject *self, PyObject *args, PyObject *kwargs) {
3492 PyObject * _resultobj;
3493 GLdouble * _arg0;
3494 PyObject * _argo0 = 0;
3495 char *_kwnames[] = { "c", NULL };
3496
3497 self = self;
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexdv",_kwnames,&_argo0))
3499 return NULL;
3500 if (_argo0) {
3501 if (_argo0 == Py_None) { _arg0 = NULL; }
3502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
3503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexdv. Expected _GLdouble_p.");
3504 return NULL;
3505 }
3506 }
3507 {
3508 wxPy_BEGIN_ALLOW_THREADS;
3509 glIndexdv(_arg0);
3510
3511 wxPy_END_ALLOW_THREADS;
3512 } Py_INCREF(Py_None);
3513 _resultobj = Py_None;
3514 return _resultobj;
3515 }
3516
3517 static PyObject *_wrap_glIndexf(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject * _resultobj;
3519 GLfloat _arg0;
3520 char *_kwnames[] = { "c", NULL };
3521
3522 self = self;
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glIndexf",_kwnames,&_arg0))
3524 return NULL;
3525 {
3526 wxPy_BEGIN_ALLOW_THREADS;
3527 glIndexf(_arg0);
3528
3529 wxPy_END_ALLOW_THREADS;
3530 } Py_INCREF(Py_None);
3531 _resultobj = Py_None;
3532 return _resultobj;
3533 }
3534
3535 static PyObject *_wrap_glIndexfv(PyObject *self, PyObject *args, PyObject *kwargs) {
3536 PyObject * _resultobj;
3537 GLfloat * _arg0;
3538 PyObject * _argo0 = 0;
3539 char *_kwnames[] = { "c", NULL };
3540
3541 self = self;
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexfv",_kwnames,&_argo0))
3543 return NULL;
3544 if (_argo0) {
3545 if (_argo0 == Py_None) { _arg0 = NULL; }
3546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
3547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexfv. Expected _GLfloat_p.");
3548 return NULL;
3549 }
3550 }
3551 {
3552 wxPy_BEGIN_ALLOW_THREADS;
3553 glIndexfv(_arg0);
3554
3555 wxPy_END_ALLOW_THREADS;
3556 } Py_INCREF(Py_None);
3557 _resultobj = Py_None;
3558 return _resultobj;
3559 }
3560
3561 static PyObject *_wrap_glIndexi(PyObject *self, PyObject *args, PyObject *kwargs) {
3562 PyObject * _resultobj;
3563 GLint _arg0;
3564 char *_kwnames[] = { "c", NULL };
3565
3566 self = self;
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIndexi",_kwnames,&_arg0))
3568 return NULL;
3569 {
3570 wxPy_BEGIN_ALLOW_THREADS;
3571 glIndexi(_arg0);
3572
3573 wxPy_END_ALLOW_THREADS;
3574 } Py_INCREF(Py_None);
3575 _resultobj = Py_None;
3576 return _resultobj;
3577 }
3578
3579 static PyObject *_wrap_glIndexiv(PyObject *self, PyObject *args, PyObject *kwargs) {
3580 PyObject * _resultobj;
3581 GLint * _arg0;
3582 PyObject * _argo0 = 0;
3583 char *_kwnames[] = { "c", NULL };
3584
3585 self = self;
3586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexiv",_kwnames,&_argo0))
3587 return NULL;
3588 if (_argo0) {
3589 if (_argo0 == Py_None) { _arg0 = NULL; }
3590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
3591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexiv. Expected _GLint_p.");
3592 return NULL;
3593 }
3594 }
3595 {
3596 wxPy_BEGIN_ALLOW_THREADS;
3597 glIndexiv(_arg0);
3598
3599 wxPy_END_ALLOW_THREADS;
3600 } Py_INCREF(Py_None);
3601 _resultobj = Py_None;
3602 return _resultobj;
3603 }
3604
3605 static PyObject *_wrap_glIndexs(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject * _resultobj;
3607 GLshort _arg0;
3608 char *_kwnames[] = { "c", NULL };
3609
3610 self = self;
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"h:glIndexs",_kwnames,&_arg0))
3612 return NULL;
3613 {
3614 wxPy_BEGIN_ALLOW_THREADS;
3615 glIndexs(_arg0);
3616
3617 wxPy_END_ALLOW_THREADS;
3618 } Py_INCREF(Py_None);
3619 _resultobj = Py_None;
3620 return _resultobj;
3621 }
3622
3623 static PyObject *_wrap_glIndexsv(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject * _resultobj;
3625 GLshort * _arg0;
3626 PyObject * _argo0 = 0;
3627 char *_kwnames[] = { "c", NULL };
3628
3629 self = self;
3630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexsv",_kwnames,&_argo0))
3631 return NULL;
3632 if (_argo0) {
3633 if (_argo0 == Py_None) { _arg0 = NULL; }
3634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
3635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexsv. Expected _GLshort_p.");
3636 return NULL;
3637 }
3638 }
3639 {
3640 wxPy_BEGIN_ALLOW_THREADS;
3641 glIndexsv(_arg0);
3642
3643 wxPy_END_ALLOW_THREADS;
3644 } Py_INCREF(Py_None);
3645 _resultobj = Py_None;
3646 return _resultobj;
3647 }
3648
3649 static PyObject *_wrap_glIndexub(PyObject *self, PyObject *args, PyObject *kwargs) {
3650 PyObject * _resultobj;
3651 GLubyte _arg0;
3652 char *_kwnames[] = { "c", NULL };
3653
3654 self = self;
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"b:glIndexub",_kwnames,&_arg0))
3656 return NULL;
3657 {
3658 wxPy_BEGIN_ALLOW_THREADS;
3659 glIndexub(_arg0);
3660
3661 wxPy_END_ALLOW_THREADS;
3662 } Py_INCREF(Py_None);
3663 _resultobj = Py_None;
3664 return _resultobj;
3665 }
3666
3667 static PyObject *_wrap_glIndexubv(PyObject *self, PyObject *args, PyObject *kwargs) {
3668 PyObject * _resultobj;
3669 GLubyte * _arg0;
3670 PyObject * _argo0 = 0;
3671 char *_kwnames[] = { "c", NULL };
3672
3673 self = self;
3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexubv",_kwnames,&_argo0))
3675 return NULL;
3676 if (_argo0) {
3677 if (_argo0 == Py_None) { _arg0 = NULL; }
3678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) {
3679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexubv. Expected _GLubyte_p.");
3680 return NULL;
3681 }
3682 }
3683 {
3684 wxPy_BEGIN_ALLOW_THREADS;
3685 glIndexubv(_arg0);
3686
3687 wxPy_END_ALLOW_THREADS;
3688 } Py_INCREF(Py_None);
3689 _resultobj = Py_None;
3690 return _resultobj;
3691 }
3692
3693 static PyObject *_wrap_glInitNames(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject * _resultobj;
3695 char *_kwnames[] = { NULL };
3696
3697 self = self;
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glInitNames",_kwnames))
3699 return NULL;
3700 {
3701 wxPy_BEGIN_ALLOW_THREADS;
3702 glInitNames();
3703
3704 wxPy_END_ALLOW_THREADS;
3705 } Py_INCREF(Py_None);
3706 _resultobj = Py_None;
3707 return _resultobj;
3708 }
3709
3710 static PyObject *_wrap_glInterleavedArrays(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject * _resultobj;
3712 GLenum _arg0;
3713 GLsizei _arg1;
3714 GLvoid * _arg2;
3715 PyObject * _argo2 = 0;
3716 char *_kwnames[] = { "format","stride","pointer", NULL };
3717
3718 self = self;
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glInterleavedArrays",_kwnames,&_arg0,&_arg1,&_argo2))
3720 return NULL;
3721 if (_argo2) {
3722 if (_argo2 == Py_None) { _arg2 = NULL; }
3723 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) {
3724 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glInterleavedArrays. Expected _GLvoid_p.");
3725 return NULL;
3726 }
3727 }
3728 {
3729 wxPy_BEGIN_ALLOW_THREADS;
3730 glInterleavedArrays(_arg0,_arg1,_arg2);
3731
3732 wxPy_END_ALLOW_THREADS;
3733 } Py_INCREF(Py_None);
3734 _resultobj = Py_None;
3735 return _resultobj;
3736 }
3737
3738 static PyObject *_wrap_glIsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
3739 PyObject * _resultobj;
3740 GLboolean _result;
3741 GLenum _arg0;
3742 char *_kwnames[] = { "cap", NULL };
3743
3744 self = self;
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIsEnabled",_kwnames,&_arg0))
3746 return NULL;
3747 {
3748 wxPy_BEGIN_ALLOW_THREADS;
3749 _result = (GLboolean )glIsEnabled(_arg0);
3750
3751 wxPy_END_ALLOW_THREADS;
3752 } _resultobj = Py_BuildValue("b",_result);
3753 return _resultobj;
3754 }
3755
3756 static PyObject *_wrap_glIsList(PyObject *self, PyObject *args, PyObject *kwargs) {
3757 PyObject * _resultobj;
3758 GLboolean _result;
3759 GLuint _arg0;
3760 char *_kwnames[] = { "list", NULL };
3761
3762 self = self;
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIsList",_kwnames,&_arg0))
3764 return NULL;
3765 {
3766 wxPy_BEGIN_ALLOW_THREADS;
3767 _result = (GLboolean )glIsList(_arg0);
3768
3769 wxPy_END_ALLOW_THREADS;
3770 } _resultobj = Py_BuildValue("b",_result);
3771 return _resultobj;
3772 }
3773
3774 static PyObject *_wrap_glIsTexture(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject * _resultobj;
3776 GLboolean _result;
3777 GLuint _arg0;
3778 char *_kwnames[] = { "texture", NULL };
3779
3780 self = self;
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIsTexture",_kwnames,&_arg0))
3782 return NULL;
3783 {
3784 wxPy_BEGIN_ALLOW_THREADS;
3785 _result = (GLboolean )glIsTexture(_arg0);
3786
3787 wxPy_END_ALLOW_THREADS;
3788 } _resultobj = Py_BuildValue("b",_result);
3789 return _resultobj;
3790 }
3791
3792 static PyObject *_wrap_glLightModelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject * _resultobj;
3794 GLenum _arg0;
3795 GLfloat _arg1;
3796 char *_kwnames[] = { "pname","param", NULL };
3797
3798 self = self;
3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glLightModelf",_kwnames,&_arg0,&_arg1))
3800 return NULL;
3801 {
3802 wxPy_BEGIN_ALLOW_THREADS;
3803 glLightModelf(_arg0,_arg1);
3804
3805 wxPy_END_ALLOW_THREADS;
3806 } Py_INCREF(Py_None);
3807 _resultobj = Py_None;
3808 return _resultobj;
3809 }
3810
3811 static PyObject *_wrap_glLightModelfv(PyObject *self, PyObject *args, PyObject *kwargs) {
3812 PyObject * _resultobj;
3813 GLenum _arg0;
3814 GLfloat * _arg1;
3815 PyObject * _argo1 = 0;
3816 char *_kwnames[] = { "pname","params", NULL };
3817
3818 self = self;
3819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glLightModelfv",_kwnames,&_arg0,&_argo1))
3820 return NULL;
3821 if (_argo1) {
3822 if (_argo1 == Py_None) { _arg1 = NULL; }
3823 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) {
3824 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glLightModelfv. Expected _GLfloat_p.");
3825 return NULL;
3826 }
3827 }
3828 {
3829 wxPy_BEGIN_ALLOW_THREADS;
3830 glLightModelfv(_arg0,_arg1);
3831
3832 wxPy_END_ALLOW_THREADS;
3833 } Py_INCREF(Py_None);
3834 _resultobj = Py_None;
3835 return _resultobj;
3836 }
3837
3838 static PyObject *_wrap_glLightModeli(PyObject *self, PyObject *args, PyObject *kwargs) {
3839 PyObject * _resultobj;
3840 GLenum _arg0;
3841 GLint _arg1;
3842 char *_kwnames[] = { "pname","param", NULL };
3843
3844 self = self;
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glLightModeli",_kwnames,&_arg0,&_arg1))
3846 return NULL;
3847 {
3848 wxPy_BEGIN_ALLOW_THREADS;
3849 glLightModeli(_arg0,_arg1);
3850
3851 wxPy_END_ALLOW_THREADS;
3852 } Py_INCREF(Py_None);
3853 _resultobj = Py_None;
3854 return _resultobj;
3855 }
3856
3857 static PyObject *_wrap_glLightModeliv(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject * _resultobj;
3859 GLenum _arg0;
3860 GLint * _arg1;
3861 PyObject * _argo1 = 0;
3862 char *_kwnames[] = { "pname","params", NULL };
3863
3864 self = self;
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glLightModeliv",_kwnames,&_arg0,&_argo1))
3866 return NULL;
3867 if (_argo1) {
3868 if (_argo1 == Py_None) { _arg1 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glLightModeliv. Expected _GLint_p.");
3871 return NULL;
3872 }
3873 }
3874 {
3875 wxPy_BEGIN_ALLOW_THREADS;
3876 glLightModeliv(_arg0,_arg1);
3877
3878 wxPy_END_ALLOW_THREADS;
3879 } Py_INCREF(Py_None);
3880 _resultobj = Py_None;
3881 return _resultobj;
3882 }
3883
3884 static PyObject *_wrap_glLightf(PyObject *self, PyObject *args, PyObject *kwargs) {
3885 PyObject * _resultobj;
3886 GLenum _arg0;
3887 GLenum _arg1;
3888 GLfloat _arg2;
3889 char *_kwnames[] = { "light","pname","param", NULL };
3890
3891 self = self;
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glLightf",_kwnames,&_arg0,&_arg1,&_arg2))
3893 return NULL;
3894 {
3895 wxPy_BEGIN_ALLOW_THREADS;
3896 glLightf(_arg0,_arg1,_arg2);
3897
3898 wxPy_END_ALLOW_THREADS;
3899 } Py_INCREF(Py_None);
3900 _resultobj = Py_None;
3901 return _resultobj;
3902 }
3903
3904 static PyObject *_wrap_glLightfv(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject * _resultobj;
3906 GLenum _arg0;
3907 GLenum _arg1;
3908 GLfloat * _arg2;
3909 PyObject * _argo2 = 0;
3910 char *_kwnames[] = { "light","pname","params", NULL };
3911
3912 self = self;
3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glLightfv",_kwnames,&_arg0,&_arg1,&_argo2))
3914 return NULL;
3915 if (_argo2) {
3916 if (_argo2 == Py_None) { _arg2 = NULL; }
3917 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
3918 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glLightfv. Expected _GLfloat_p.");
3919 return NULL;
3920 }
3921 }
3922 {
3923 wxPy_BEGIN_ALLOW_THREADS;
3924 glLightfv(_arg0,_arg1,_arg2);
3925
3926 wxPy_END_ALLOW_THREADS;
3927 } Py_INCREF(Py_None);
3928 _resultobj = Py_None;
3929 return _resultobj;
3930 }
3931
3932 static PyObject *_wrap_glLighti(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject * _resultobj;
3934 GLenum _arg0;
3935 GLenum _arg1;
3936 GLint _arg2;
3937 char *_kwnames[] = { "light","pname","param", NULL };
3938
3939 self = self;
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glLighti",_kwnames,&_arg0,&_arg1,&_arg2))
3941 return NULL;
3942 {
3943 wxPy_BEGIN_ALLOW_THREADS;
3944 glLighti(_arg0,_arg1,_arg2);
3945
3946 wxPy_END_ALLOW_THREADS;
3947 } Py_INCREF(Py_None);
3948 _resultobj = Py_None;
3949 return _resultobj;
3950 }
3951
3952 static PyObject *_wrap_glLightiv(PyObject *self, PyObject *args, PyObject *kwargs) {
3953 PyObject * _resultobj;
3954 GLenum _arg0;
3955 GLenum _arg1;
3956 GLint * _arg2;
3957 PyObject * _argo2 = 0;
3958 char *_kwnames[] = { "light","pname","params", NULL };
3959
3960 self = self;
3961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glLightiv",_kwnames,&_arg0,&_arg1,&_argo2))
3962 return NULL;
3963 if (_argo2) {
3964 if (_argo2 == Py_None) { _arg2 = NULL; }
3965 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
3966 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glLightiv. Expected _GLint_p.");
3967 return NULL;
3968 }
3969 }
3970 {
3971 wxPy_BEGIN_ALLOW_THREADS;
3972 glLightiv(_arg0,_arg1,_arg2);
3973
3974 wxPy_END_ALLOW_THREADS;
3975 } Py_INCREF(Py_None);
3976 _resultobj = Py_None;
3977 return _resultobj;
3978 }
3979
3980 static PyObject *_wrap_glLineStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject * _resultobj;
3982 GLint _arg0;
3983 GLushort _arg1;
3984 char *_kwnames[] = { "factor","pattern", NULL };
3985
3986 self = self;
3987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ih:glLineStipple",_kwnames,&_arg0,&_arg1))
3988 return NULL;
3989 {
3990 wxPy_BEGIN_ALLOW_THREADS;
3991 glLineStipple(_arg0,_arg1);
3992
3993 wxPy_END_ALLOW_THREADS;
3994 } Py_INCREF(Py_None);
3995 _resultobj = Py_None;
3996 return _resultobj;
3997 }
3998
3999 static PyObject *_wrap_glLineWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject * _resultobj;
4001 GLfloat _arg0;
4002 char *_kwnames[] = { "width", NULL };
4003
4004 self = self;
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glLineWidth",_kwnames,&_arg0))
4006 return NULL;
4007 {
4008 wxPy_BEGIN_ALLOW_THREADS;
4009 glLineWidth(_arg0);
4010
4011 wxPy_END_ALLOW_THREADS;
4012 } Py_INCREF(Py_None);
4013 _resultobj = Py_None;
4014 return _resultobj;
4015 }
4016
4017 static PyObject *_wrap_glListBase(PyObject *self, PyObject *args, PyObject *kwargs) {
4018 PyObject * _resultobj;
4019 GLuint _arg0;
4020 char *_kwnames[] = { "base", NULL };
4021
4022 self = self;
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glListBase",_kwnames,&_arg0))
4024 return NULL;
4025 {
4026 wxPy_BEGIN_ALLOW_THREADS;
4027 glListBase(_arg0);
4028
4029 wxPy_END_ALLOW_THREADS;
4030 } Py_INCREF(Py_None);
4031 _resultobj = Py_None;
4032 return _resultobj;
4033 }
4034
4035 static PyObject *_wrap_glLoadIdentity(PyObject *self, PyObject *args, PyObject *kwargs) {
4036 PyObject * _resultobj;
4037 char *_kwnames[] = { NULL };
4038
4039 self = self;
4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glLoadIdentity",_kwnames))
4041 return NULL;
4042 {
4043 wxPy_BEGIN_ALLOW_THREADS;
4044 glLoadIdentity();
4045
4046 wxPy_END_ALLOW_THREADS;
4047 } Py_INCREF(Py_None);
4048 _resultobj = Py_None;
4049 return _resultobj;
4050 }
4051
4052 static PyObject *_wrap_glLoadMatrixd(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject * _resultobj;
4054 GLdouble * _arg0;
4055 PyObject * _argo0 = 0;
4056 char *_kwnames[] = { "m", NULL };
4057
4058 self = self;
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glLoadMatrixd",_kwnames,&_argo0))
4060 return NULL;
4061 if (_argo0) {
4062 if (_argo0 == Py_None) { _arg0 = NULL; }
4063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
4064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glLoadMatrixd. Expected _GLdouble_p.");
4065 return NULL;
4066 }
4067 }
4068 {
4069 wxPy_BEGIN_ALLOW_THREADS;
4070 glLoadMatrixd(_arg0);
4071
4072 wxPy_END_ALLOW_THREADS;
4073 } Py_INCREF(Py_None);
4074 _resultobj = Py_None;
4075 return _resultobj;
4076 }
4077
4078 static PyObject *_wrap_glLoadMatrixf(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject * _resultobj;
4080 GLfloat * _arg0;
4081 PyObject * _argo0 = 0;
4082 char *_kwnames[] = { "m", NULL };
4083
4084 self = self;
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glLoadMatrixf",_kwnames,&_argo0))
4086 return NULL;
4087 if (_argo0) {
4088 if (_argo0 == Py_None) { _arg0 = NULL; }
4089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
4090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glLoadMatrixf. Expected _GLfloat_p.");
4091 return NULL;
4092 }
4093 }
4094 {
4095 wxPy_BEGIN_ALLOW_THREADS;
4096 glLoadMatrixf(_arg0);
4097
4098 wxPy_END_ALLOW_THREADS;
4099 } Py_INCREF(Py_None);
4100 _resultobj = Py_None;
4101 return _resultobj;
4102 }
4103
4104 static PyObject *_wrap_glLoadName(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject * _resultobj;
4106 GLuint _arg0;
4107 char *_kwnames[] = { "name", NULL };
4108
4109 self = self;
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glLoadName",_kwnames,&_arg0))
4111 return NULL;
4112 {
4113 wxPy_BEGIN_ALLOW_THREADS;
4114 glLoadName(_arg0);
4115
4116 wxPy_END_ALLOW_THREADS;
4117 } Py_INCREF(Py_None);
4118 _resultobj = Py_None;
4119 return _resultobj;
4120 }
4121
4122 static PyObject *_wrap_glLogicOp(PyObject *self, PyObject *args, PyObject *kwargs) {
4123 PyObject * _resultobj;
4124 GLenum _arg0;
4125 char *_kwnames[] = { "opcode", NULL };
4126
4127 self = self;
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glLogicOp",_kwnames,&_arg0))
4129 return NULL;
4130 {
4131 wxPy_BEGIN_ALLOW_THREADS;
4132 glLogicOp(_arg0);
4133
4134 wxPy_END_ALLOW_THREADS;
4135 } Py_INCREF(Py_None);
4136 _resultobj = Py_None;
4137 return _resultobj;
4138 }
4139
4140 static PyObject *_wrap_glMap1d(PyObject *self, PyObject *args, PyObject *kwargs) {
4141 PyObject * _resultobj;
4142 GLenum _arg0;
4143 GLdouble _arg1;
4144 GLdouble _arg2;
4145 GLint _arg3;
4146 GLint _arg4;
4147 GLdouble * _arg5;
4148 PyObject * _argo5 = 0;
4149 char *_kwnames[] = { "target","u1","u2","stride","order","points", NULL };
4150
4151 self = self;
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iddiiO:glMap1d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5))
4153 return NULL;
4154 if (_argo5) {
4155 if (_argo5 == Py_None) { _arg5 = NULL; }
4156 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_GLdouble_p")) {
4157 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glMap1d. Expected _GLdouble_p.");
4158 return NULL;
4159 }
4160 }
4161 {
4162 wxPy_BEGIN_ALLOW_THREADS;
4163 glMap1d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4164
4165 wxPy_END_ALLOW_THREADS;
4166 } Py_INCREF(Py_None);
4167 _resultobj = Py_None;
4168 return _resultobj;
4169 }
4170
4171 static PyObject *_wrap_glMap1f(PyObject *self, PyObject *args, PyObject *kwargs) {
4172 PyObject * _resultobj;
4173 GLenum _arg0;
4174 GLfloat _arg1;
4175 GLfloat _arg2;
4176 GLint _arg3;
4177 GLint _arg4;
4178 GLfloat * _arg5;
4179 PyObject * _argo5 = 0;
4180 char *_kwnames[] = { "target","u1","u2","stride","order","points", NULL };
4181
4182 self = self;
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iffiiO:glMap1f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5))
4184 return NULL;
4185 if (_argo5) {
4186 if (_argo5 == Py_None) { _arg5 = NULL; }
4187 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_GLfloat_p")) {
4188 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glMap1f. Expected _GLfloat_p.");
4189 return NULL;
4190 }
4191 }
4192 {
4193 wxPy_BEGIN_ALLOW_THREADS;
4194 glMap1f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4195
4196 wxPy_END_ALLOW_THREADS;
4197 } Py_INCREF(Py_None);
4198 _resultobj = Py_None;
4199 return _resultobj;
4200 }
4201
4202 static PyObject *_wrap_glMap2d(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject * _resultobj;
4204 GLenum _arg0;
4205 GLdouble _arg1;
4206 GLdouble _arg2;
4207 GLint _arg3;
4208 GLint _arg4;
4209 GLdouble _arg5;
4210 GLdouble _arg6;
4211 GLint _arg7;
4212 GLint _arg8;
4213 GLdouble * _arg9;
4214 PyObject * _argo9 = 0;
4215 char *_kwnames[] = { "target","u1","u2","ustride","uorder","v1","v2","vstride","vorder","points", NULL };
4216
4217 self = self;
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iddiiddiiO:glMap2d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_argo9))
4219 return NULL;
4220 if (_argo9) {
4221 if (_argo9 == Py_None) { _arg9 = NULL; }
4222 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_GLdouble_p")) {
4223 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of glMap2d. Expected _GLdouble_p.");
4224 return NULL;
4225 }
4226 }
4227 {
4228 wxPy_BEGIN_ALLOW_THREADS;
4229 glMap2d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
4230
4231 wxPy_END_ALLOW_THREADS;
4232 } Py_INCREF(Py_None);
4233 _resultobj = Py_None;
4234 return _resultobj;
4235 }
4236
4237 static PyObject *_wrap_glMap2f(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject * _resultobj;
4239 GLenum _arg0;
4240 GLfloat _arg1;
4241 GLfloat _arg2;
4242 GLint _arg3;
4243 GLint _arg4;
4244 GLfloat _arg5;
4245 GLfloat _arg6;
4246 GLint _arg7;
4247 GLint _arg8;
4248 GLfloat * _arg9;
4249 PyObject * _argo9 = 0;
4250 char *_kwnames[] = { "target","u1","u2","ustride","uorder","v1","v2","vstride","vorder","points", NULL };
4251
4252 self = self;
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iffiiffiiO:glMap2f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_argo9))
4254 return NULL;
4255 if (_argo9) {
4256 if (_argo9 == Py_None) { _arg9 = NULL; }
4257 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_GLfloat_p")) {
4258 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of glMap2f. Expected _GLfloat_p.");
4259 return NULL;
4260 }
4261 }
4262 {
4263 wxPy_BEGIN_ALLOW_THREADS;
4264 glMap2f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
4265
4266 wxPy_END_ALLOW_THREADS;
4267 } Py_INCREF(Py_None);
4268 _resultobj = Py_None;
4269 return _resultobj;
4270 }
4271
4272 static PyObject *_wrap_glMapGrid1d(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject * _resultobj;
4274 GLint _arg0;
4275 GLdouble _arg1;
4276 GLdouble _arg2;
4277 char *_kwnames[] = { "un","u1","u2", NULL };
4278
4279 self = self;
4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"idd:glMapGrid1d",_kwnames,&_arg0,&_arg1,&_arg2))
4281 return NULL;
4282 {
4283 wxPy_BEGIN_ALLOW_THREADS;
4284 glMapGrid1d(_arg0,_arg1,_arg2);
4285
4286 wxPy_END_ALLOW_THREADS;
4287 } Py_INCREF(Py_None);
4288 _resultobj = Py_None;
4289 return _resultobj;
4290 }
4291
4292 static PyObject *_wrap_glMapGrid1f(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject * _resultobj;
4294 GLint _arg0;
4295 GLfloat _arg1;
4296 GLfloat _arg2;
4297 char *_kwnames[] = { "un","u1","u2", NULL };
4298
4299 self = self;
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iff:glMapGrid1f",_kwnames,&_arg0,&_arg1,&_arg2))
4301 return NULL;
4302 {
4303 wxPy_BEGIN_ALLOW_THREADS;
4304 glMapGrid1f(_arg0,_arg1,_arg2);
4305
4306 wxPy_END_ALLOW_THREADS;
4307 } Py_INCREF(Py_None);
4308 _resultobj = Py_None;
4309 return _resultobj;
4310 }
4311
4312 static PyObject *_wrap_glMapGrid2d(PyObject *self, PyObject *args, PyObject *kwargs) {
4313 PyObject * _resultobj;
4314 GLint _arg0;
4315 GLdouble _arg1;
4316 GLdouble _arg2;
4317 GLint _arg3;
4318 GLdouble _arg4;
4319 GLdouble _arg5;
4320 char *_kwnames[] = { "un","u1","u2","vn","v1","v2", NULL };
4321
4322 self = self;
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iddidd:glMapGrid2d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4324 return NULL;
4325 {
4326 wxPy_BEGIN_ALLOW_THREADS;
4327 glMapGrid2d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4328
4329 wxPy_END_ALLOW_THREADS;
4330 } Py_INCREF(Py_None);
4331 _resultobj = Py_None;
4332 return _resultobj;
4333 }
4334
4335 static PyObject *_wrap_glMapGrid2f(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject * _resultobj;
4337 GLint _arg0;
4338 GLfloat _arg1;
4339 GLfloat _arg2;
4340 GLint _arg3;
4341 GLfloat _arg4;
4342 GLfloat _arg5;
4343 char *_kwnames[] = { "un","u1","u2","vn","v1","v2", NULL };
4344
4345 self = self;
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iffiff:glMapGrid2f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4347 return NULL;
4348 {
4349 wxPy_BEGIN_ALLOW_THREADS;
4350 glMapGrid2f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4351
4352 wxPy_END_ALLOW_THREADS;
4353 } Py_INCREF(Py_None);
4354 _resultobj = Py_None;
4355 return _resultobj;
4356 }
4357
4358 static PyObject *_wrap_glMaterialf(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject * _resultobj;
4360 GLenum _arg0;
4361 GLenum _arg1;
4362 GLfloat _arg2;
4363 char *_kwnames[] = { "face","pname","param", NULL };
4364
4365 self = self;
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glMaterialf",_kwnames,&_arg0,&_arg1,&_arg2))
4367 return NULL;
4368 {
4369 wxPy_BEGIN_ALLOW_THREADS;
4370 glMaterialf(_arg0,_arg1,_arg2);
4371
4372 wxPy_END_ALLOW_THREADS;
4373 } Py_INCREF(Py_None);
4374 _resultobj = Py_None;
4375 return _resultobj;
4376 }
4377
4378 static PyObject *_wrap_glMaterialfv(PyObject *self, PyObject *args, PyObject *kwargs) {
4379 PyObject * _resultobj;
4380 GLenum _arg0;
4381 GLenum _arg1;
4382 GLfloat * _arg2;
4383 PyObject * _argo2 = 0;
4384 char *_kwnames[] = { "face","pname","params", NULL };
4385
4386 self = self;
4387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glMaterialfv",_kwnames,&_arg0,&_arg1,&_argo2))
4388 return NULL;
4389 if (_argo2) {
4390 if (_argo2 == Py_None) { _arg2 = NULL; }
4391 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
4392 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glMaterialfv. Expected _GLfloat_p.");
4393 return NULL;
4394 }
4395 }
4396 {
4397 wxPy_BEGIN_ALLOW_THREADS;
4398 glMaterialfv(_arg0,_arg1,_arg2);
4399
4400 wxPy_END_ALLOW_THREADS;
4401 } Py_INCREF(Py_None);
4402 _resultobj = Py_None;
4403 return _resultobj;
4404 }
4405
4406 static PyObject *_wrap_glMateriali(PyObject *self, PyObject *args, PyObject *kwargs) {
4407 PyObject * _resultobj;
4408 GLenum _arg0;
4409 GLenum _arg1;
4410 GLint _arg2;
4411 char *_kwnames[] = { "face","pname","param", NULL };
4412
4413 self = self;
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glMateriali",_kwnames,&_arg0,&_arg1,&_arg2))
4415 return NULL;
4416 {
4417 wxPy_BEGIN_ALLOW_THREADS;
4418 glMateriali(_arg0,_arg1,_arg2);
4419
4420 wxPy_END_ALLOW_THREADS;
4421 } Py_INCREF(Py_None);
4422 _resultobj = Py_None;
4423 return _resultobj;
4424 }
4425
4426 static PyObject *_wrap_glMaterialiv(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject * _resultobj;
4428 GLenum _arg0;
4429 GLenum _arg1;
4430 GLint * _arg2;
4431 PyObject * _argo2 = 0;
4432 char *_kwnames[] = { "face","pname","params", NULL };
4433
4434 self = self;
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glMaterialiv",_kwnames,&_arg0,&_arg1,&_argo2))
4436 return NULL;
4437 if (_argo2) {
4438 if (_argo2 == Py_None) { _arg2 = NULL; }
4439 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
4440 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glMaterialiv. Expected _GLint_p.");
4441 return NULL;
4442 }
4443 }
4444 {
4445 wxPy_BEGIN_ALLOW_THREADS;
4446 glMaterialiv(_arg0,_arg1,_arg2);
4447
4448 wxPy_END_ALLOW_THREADS;
4449 } Py_INCREF(Py_None);
4450 _resultobj = Py_None;
4451 return _resultobj;
4452 }
4453
4454 static PyObject *_wrap_glMatrixMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4455 PyObject * _resultobj;
4456 GLenum _arg0;
4457 char *_kwnames[] = { "mode", NULL };
4458
4459 self = self;
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glMatrixMode",_kwnames,&_arg0))
4461 return NULL;
4462 {
4463 wxPy_BEGIN_ALLOW_THREADS;
4464 glMatrixMode(_arg0);
4465
4466 wxPy_END_ALLOW_THREADS;
4467 } Py_INCREF(Py_None);
4468 _resultobj = Py_None;
4469 return _resultobj;
4470 }
4471
4472 static PyObject *_wrap_glMultMatrixd(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject * _resultobj;
4474 GLdouble * _arg0;
4475 PyObject * _argo0 = 0;
4476 char *_kwnames[] = { "m", NULL };
4477
4478 self = self;
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glMultMatrixd",_kwnames,&_argo0))
4480 return NULL;
4481 if (_argo0) {
4482 if (_argo0 == Py_None) { _arg0 = NULL; }
4483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
4484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glMultMatrixd. Expected _GLdouble_p.");
4485 return NULL;
4486 }
4487 }
4488 {
4489 wxPy_BEGIN_ALLOW_THREADS;
4490 glMultMatrixd(_arg0);
4491
4492 wxPy_END_ALLOW_THREADS;
4493 } Py_INCREF(Py_None);
4494 _resultobj = Py_None;
4495 return _resultobj;
4496 }
4497
4498 static PyObject *_wrap_glMultMatrixf(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject * _resultobj;
4500 GLfloat * _arg0;
4501 PyObject * _argo0 = 0;
4502 char *_kwnames[] = { "m", NULL };
4503
4504 self = self;
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glMultMatrixf",_kwnames,&_argo0))
4506 return NULL;
4507 if (_argo0) {
4508 if (_argo0 == Py_None) { _arg0 = NULL; }
4509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
4510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glMultMatrixf. Expected _GLfloat_p.");
4511 return NULL;
4512 }
4513 }
4514 {
4515 wxPy_BEGIN_ALLOW_THREADS;
4516 glMultMatrixf(_arg0);
4517
4518 wxPy_END_ALLOW_THREADS;
4519 } Py_INCREF(Py_None);
4520 _resultobj = Py_None;
4521 return _resultobj;
4522 }
4523
4524 static PyObject *_wrap_glNewList(PyObject *self, PyObject *args, PyObject *kwargs) {
4525 PyObject * _resultobj;
4526 GLuint _arg0;
4527 GLenum _arg1;
4528 char *_kwnames[] = { "list","mode", NULL };
4529
4530 self = self;
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glNewList",_kwnames,&_arg0,&_arg1))
4532 return NULL;
4533 {
4534 wxPy_BEGIN_ALLOW_THREADS;
4535 glNewList(_arg0,_arg1);
4536
4537 wxPy_END_ALLOW_THREADS;
4538 } Py_INCREF(Py_None);
4539 _resultobj = Py_None;
4540 return _resultobj;
4541 }
4542
4543 static PyObject *_wrap_glNormal3b(PyObject *self, PyObject *args, PyObject *kwargs) {
4544 PyObject * _resultobj;
4545 GLbyte _arg0;
4546 GLbyte _arg1;
4547 GLbyte _arg2;
4548 char *_kwnames[] = { "nx","ny","nz", NULL };
4549
4550 self = self;
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbb:glNormal3b",_kwnames,&_arg0,&_arg1,&_arg2))
4552 return NULL;
4553 {
4554 wxPy_BEGIN_ALLOW_THREADS;
4555 glNormal3b(_arg0,_arg1,_arg2);
4556
4557 wxPy_END_ALLOW_THREADS;
4558 } Py_INCREF(Py_None);
4559 _resultobj = Py_None;
4560 return _resultobj;
4561 }
4562
4563 static PyObject *_wrap_glNormal3bv(PyObject *self, PyObject *args, PyObject *kwargs) {
4564 PyObject * _resultobj;
4565 GLbyte * _arg0;
4566 PyObject * _argo0 = 0;
4567 char *_kwnames[] = { "v", NULL };
4568
4569 self = self;
4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3bv",_kwnames,&_argo0))
4571 return NULL;
4572 if (_argo0) {
4573 if (_argo0 == Py_None) { _arg0 = NULL; }
4574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) {
4575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3bv. Expected _GLbyte_p.");
4576 return NULL;
4577 }
4578 }
4579 {
4580 wxPy_BEGIN_ALLOW_THREADS;
4581 glNormal3bv(_arg0);
4582
4583 wxPy_END_ALLOW_THREADS;
4584 } Py_INCREF(Py_None);
4585 _resultobj = Py_None;
4586 return _resultobj;
4587 }
4588
4589 static PyObject *_wrap_glNormal3d(PyObject *self, PyObject *args, PyObject *kwargs) {
4590 PyObject * _resultobj;
4591 GLdouble _arg0;
4592 GLdouble _arg1;
4593 GLdouble _arg2;
4594 char *_kwnames[] = { "nx","ny","nz", NULL };
4595
4596 self = self;
4597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glNormal3d",_kwnames,&_arg0,&_arg1,&_arg2))
4598 return NULL;
4599 {
4600 wxPy_BEGIN_ALLOW_THREADS;
4601 glNormal3d(_arg0,_arg1,_arg2);
4602
4603 wxPy_END_ALLOW_THREADS;
4604 } Py_INCREF(Py_None);
4605 _resultobj = Py_None;
4606 return _resultobj;
4607 }
4608
4609 static PyObject *_wrap_glNormal3dv(PyObject *self, PyObject *args, PyObject *kwargs) {
4610 PyObject * _resultobj;
4611 GLdouble * _arg0;
4612 PyObject * _argo0 = 0;
4613 char *_kwnames[] = { "v", NULL };
4614
4615 self = self;
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3dv",_kwnames,&_argo0))
4617 return NULL;
4618 if (_argo0) {
4619 if (_argo0 == Py_None) { _arg0 = NULL; }
4620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
4621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3dv. Expected _GLdouble_p.");
4622 return NULL;
4623 }
4624 }
4625 {
4626 wxPy_BEGIN_ALLOW_THREADS;
4627 glNormal3dv(_arg0);
4628
4629 wxPy_END_ALLOW_THREADS;
4630 } Py_INCREF(Py_None);
4631 _resultobj = Py_None;
4632 return _resultobj;
4633 }
4634
4635 static PyObject *_wrap_glNormal3f(PyObject *self, PyObject *args, PyObject *kwargs) {
4636 PyObject * _resultobj;
4637 GLfloat _arg0;
4638 GLfloat _arg1;
4639 GLfloat _arg2;
4640 char *_kwnames[] = { "nx","ny","nz", NULL };
4641
4642 self = self;
4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glNormal3f",_kwnames,&_arg0,&_arg1,&_arg2))
4644 return NULL;
4645 {
4646 wxPy_BEGIN_ALLOW_THREADS;
4647 glNormal3f(_arg0,_arg1,_arg2);
4648
4649 wxPy_END_ALLOW_THREADS;
4650 } Py_INCREF(Py_None);
4651 _resultobj = Py_None;
4652 return _resultobj;
4653 }
4654
4655 static PyObject *_wrap_glNormal3fv(PyObject *self, PyObject *args, PyObject *kwargs) {
4656 PyObject * _resultobj;
4657 GLfloat * _arg0;
4658 PyObject * _argo0 = 0;
4659 char *_kwnames[] = { "v", NULL };
4660
4661 self = self;
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3fv",_kwnames,&_argo0))
4663 return NULL;
4664 if (_argo0) {
4665 if (_argo0 == Py_None) { _arg0 = NULL; }
4666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
4667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3fv. Expected _GLfloat_p.");
4668 return NULL;
4669 }
4670 }
4671 {
4672 wxPy_BEGIN_ALLOW_THREADS;
4673 glNormal3fv(_arg0);
4674
4675 wxPy_END_ALLOW_THREADS;
4676 } Py_INCREF(Py_None);
4677 _resultobj = Py_None;
4678 return _resultobj;
4679 }
4680
4681 static PyObject *_wrap_glNormal3i(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject * _resultobj;
4683 GLint _arg0;
4684 GLint _arg1;
4685 GLint _arg2;
4686 char *_kwnames[] = { "nx","ny","nz", NULL };
4687
4688 self = self;
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glNormal3i",_kwnames,&_arg0,&_arg1,&_arg2))
4690 return NULL;
4691 {
4692 wxPy_BEGIN_ALLOW_THREADS;
4693 glNormal3i(_arg0,_arg1,_arg2);
4694
4695 wxPy_END_ALLOW_THREADS;
4696 } Py_INCREF(Py_None);
4697 _resultobj = Py_None;
4698 return _resultobj;
4699 }
4700
4701 static PyObject *_wrap_glNormal3iv(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject * _resultobj;
4703 GLint * _arg0;
4704 PyObject * _argo0 = 0;
4705 char *_kwnames[] = { "v", NULL };
4706
4707 self = self;
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3iv",_kwnames,&_argo0))
4709 return NULL;
4710 if (_argo0) {
4711 if (_argo0 == Py_None) { _arg0 = NULL; }
4712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
4713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3iv. Expected _GLint_p.");
4714 return NULL;
4715 }
4716 }
4717 {
4718 wxPy_BEGIN_ALLOW_THREADS;
4719 glNormal3iv(_arg0);
4720
4721 wxPy_END_ALLOW_THREADS;
4722 } Py_INCREF(Py_None);
4723 _resultobj = Py_None;
4724 return _resultobj;
4725 }
4726
4727 static PyObject *_wrap_glNormal3s(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject * _resultobj;
4729 GLshort _arg0;
4730 GLshort _arg1;
4731 GLshort _arg2;
4732 char *_kwnames[] = { "nx","ny","nz", NULL };
4733
4734 self = self;
4735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glNormal3s",_kwnames,&_arg0,&_arg1,&_arg2))
4736 return NULL;
4737 {
4738 wxPy_BEGIN_ALLOW_THREADS;
4739 glNormal3s(_arg0,_arg1,_arg2);
4740
4741 wxPy_END_ALLOW_THREADS;
4742 } Py_INCREF(Py_None);
4743 _resultobj = Py_None;
4744 return _resultobj;
4745 }
4746
4747 static PyObject *_wrap_glNormal3sv(PyObject *self, PyObject *args, PyObject *kwargs) {
4748 PyObject * _resultobj;
4749 GLshort * _arg0;
4750 PyObject * _argo0 = 0;
4751 char *_kwnames[] = { "v", NULL };
4752
4753 self = self;
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3sv",_kwnames,&_argo0))
4755 return NULL;
4756 if (_argo0) {
4757 if (_argo0 == Py_None) { _arg0 = NULL; }
4758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
4759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3sv. Expected _GLshort_p.");
4760 return NULL;
4761 }
4762 }
4763 {
4764 wxPy_BEGIN_ALLOW_THREADS;
4765 glNormal3sv(_arg0);
4766
4767 wxPy_END_ALLOW_THREADS;
4768 } Py_INCREF(Py_None);
4769 _resultobj = Py_None;
4770 return _resultobj;
4771 }
4772
4773 static PyObject *_wrap_glNormalPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
4774 PyObject * _resultobj;
4775 GLenum _arg0;
4776 GLsizei _arg1;
4777 GLvoid * _arg2;
4778 PyObject * _argo2 = 0;
4779 char *_kwnames[] = { "type","stride","pointer", NULL };
4780
4781 self = self;
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glNormalPointer",_kwnames,&_arg0,&_arg1,&_argo2))
4783 return NULL;
4784 if (_argo2) {
4785 if (_argo2 == Py_None) { _arg2 = NULL; }
4786 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) {
4787 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glNormalPointer. Expected _GLvoid_p.");
4788 return NULL;
4789 }
4790 }
4791 {
4792 wxPy_BEGIN_ALLOW_THREADS;
4793 glNormalPointer(_arg0,_arg1,_arg2);
4794
4795 wxPy_END_ALLOW_THREADS;
4796 } Py_INCREF(Py_None);
4797 _resultobj = Py_None;
4798 return _resultobj;
4799 }
4800
4801 static PyObject *_wrap_glOrtho(PyObject *self, PyObject *args, PyObject *kwargs) {
4802 PyObject * _resultobj;
4803 GLdouble _arg0;
4804 GLdouble _arg1;
4805 GLdouble _arg2;
4806 GLdouble _arg3;
4807 GLdouble _arg4;
4808 GLdouble _arg5;
4809 char *_kwnames[] = { "left","right","bottom","top","zNear","zFar", NULL };
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddddd:glOrtho",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4813 return NULL;
4814 {
4815 wxPy_BEGIN_ALLOW_THREADS;
4816 glOrtho(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4817
4818 wxPy_END_ALLOW_THREADS;
4819 } Py_INCREF(Py_None);
4820 _resultobj = Py_None;
4821 return _resultobj;
4822 }
4823
4824 static PyObject *_wrap_glPassThrough(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject * _resultobj;
4826 GLfloat _arg0;
4827 char *_kwnames[] = { "token", NULL };
4828
4829 self = self;
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glPassThrough",_kwnames,&_arg0))
4831 return NULL;
4832 {
4833 wxPy_BEGIN_ALLOW_THREADS;
4834 glPassThrough(_arg0);
4835
4836 wxPy_END_ALLOW_THREADS;
4837 } Py_INCREF(Py_None);
4838 _resultobj = Py_None;
4839 return _resultobj;
4840 }
4841
4842 static PyObject *_wrap_glPixelMapfv(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject * _resultobj;
4844 GLenum _arg0;
4845 GLsizei _arg1;
4846 GLfloat * _arg2;
4847 PyObject * _argo2 = 0;
4848 char *_kwnames[] = { "map","mapsize","values", NULL };
4849
4850 self = self;
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glPixelMapfv",_kwnames,&_arg0,&_arg1,&_argo2))
4852 return NULL;
4853 if (_argo2) {
4854 if (_argo2 == Py_None) { _arg2 = NULL; }
4855 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
4856 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapfv. Expected _GLfloat_p.");
4857 return NULL;
4858 }
4859 }
4860 {
4861 wxPy_BEGIN_ALLOW_THREADS;
4862 glPixelMapfv(_arg0,_arg1,_arg2);
4863
4864 wxPy_END_ALLOW_THREADS;
4865 } Py_INCREF(Py_None);
4866 _resultobj = Py_None;
4867 return _resultobj;
4868 }
4869
4870 static PyObject *_wrap_glPixelMapuiv(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject * _resultobj;
4872 GLenum _arg0;
4873 GLsizei _arg1;
4874 GLuint * _arg2;
4875 PyObject * _argo2 = 0;
4876 char *_kwnames[] = { "map","mapsize","values", NULL };
4877
4878 self = self;
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glPixelMapuiv",_kwnames,&_arg0,&_arg1,&_argo2))
4880 return NULL;
4881 if (_argo2) {
4882 if (_argo2 == Py_None) { _arg2 = NULL; }
4883 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLuint_p")) {
4884 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapuiv. Expected _GLuint_p.");
4885 return NULL;
4886 }
4887 }
4888 {
4889 wxPy_BEGIN_ALLOW_THREADS;
4890 glPixelMapuiv(_arg0,_arg1,_arg2);
4891
4892 wxPy_END_ALLOW_THREADS;
4893 } Py_INCREF(Py_None);
4894 _resultobj = Py_None;
4895 return _resultobj;
4896 }
4897
4898 static PyObject *_wrap_glPixelMapusv(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject * _resultobj;
4900 GLenum _arg0;
4901 GLsizei _arg1;
4902 GLushort * _arg2;
4903 PyObject * _argo2 = 0;
4904 char *_kwnames[] = { "map","mapsize","values", NULL };
4905
4906 self = self;
4907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glPixelMapusv",_kwnames,&_arg0,&_arg1,&_argo2))
4908 return NULL;
4909 if (_argo2) {
4910 if (_argo2 == Py_None) { _arg2 = NULL; }
4911 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLushort_p")) {
4912 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapusv. Expected _GLushort_p.");
4913 return NULL;
4914 }
4915 }
4916 {
4917 wxPy_BEGIN_ALLOW_THREADS;
4918 glPixelMapusv(_arg0,_arg1,_arg2);
4919
4920 wxPy_END_ALLOW_THREADS;
4921 } Py_INCREF(Py_None);
4922 _resultobj = Py_None;
4923 return _resultobj;
4924 }
4925
4926 static PyObject *_wrap_glPixelStoref(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject * _resultobj;
4928 GLenum _arg0;
4929 GLfloat _arg1;
4930 char *_kwnames[] = { "pname","param", NULL };
4931
4932 self = self;
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glPixelStoref",_kwnames,&_arg0,&_arg1))
4934 return NULL;
4935 {
4936 wxPy_BEGIN_ALLOW_THREADS;
4937 glPixelStoref(_arg0,_arg1);
4938
4939 wxPy_END_ALLOW_THREADS;
4940 } Py_INCREF(Py_None);
4941 _resultobj = Py_None;
4942 return _resultobj;
4943 }
4944
4945 static PyObject *_wrap_glPixelStorei(PyObject *self, PyObject *args, PyObject *kwargs) {
4946 PyObject * _resultobj;
4947 GLenum _arg0;
4948 GLint _arg1;
4949 char *_kwnames[] = { "pname","param", NULL };
4950
4951 self = self;
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glPixelStorei",_kwnames,&_arg0,&_arg1))
4953 return NULL;
4954 {
4955 wxPy_BEGIN_ALLOW_THREADS;
4956 glPixelStorei(_arg0,_arg1);
4957
4958 wxPy_END_ALLOW_THREADS;
4959 } Py_INCREF(Py_None);
4960 _resultobj = Py_None;
4961 return _resultobj;
4962 }
4963
4964 static PyObject *_wrap_glPixelTransferf(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject * _resultobj;
4966 GLenum _arg0;
4967 GLfloat _arg1;
4968 char *_kwnames[] = { "pname","param", NULL };
4969
4970 self = self;
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glPixelTransferf",_kwnames,&_arg0,&_arg1))
4972 return NULL;
4973 {
4974 wxPy_BEGIN_ALLOW_THREADS;
4975 glPixelTransferf(_arg0,_arg1);
4976
4977 wxPy_END_ALLOW_THREADS;
4978 } Py_INCREF(Py_None);
4979 _resultobj = Py_None;
4980 return _resultobj;
4981 }
4982
4983 static PyObject *_wrap_glPixelTransferi(PyObject *self, PyObject *args, PyObject *kwargs) {
4984 PyObject * _resultobj;
4985 GLenum _arg0;
4986 GLint _arg1;
4987 char *_kwnames[] = { "pname","param", NULL };
4988
4989 self = self;
4990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glPixelTransferi",_kwnames,&_arg0,&_arg1))
4991 return NULL;
4992 {
4993 wxPy_BEGIN_ALLOW_THREADS;
4994 glPixelTransferi(_arg0,_arg1);
4995
4996 wxPy_END_ALLOW_THREADS;
4997 } Py_INCREF(Py_None);
4998 _resultobj = Py_None;
4999 return _resultobj;
5000 }
5001
5002 static PyObject *_wrap_glPixelZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
5003 PyObject * _resultobj;
5004 GLfloat _arg0;
5005 GLfloat _arg1;
5006 char *_kwnames[] = { "xfactor","yfactor", NULL };
5007
5008 self = self;
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glPixelZoom",_kwnames,&_arg0,&_arg1))
5010 return NULL;
5011 {
5012 wxPy_BEGIN_ALLOW_THREADS;
5013 glPixelZoom(_arg0,_arg1);
5014
5015 wxPy_END_ALLOW_THREADS;
5016 } Py_INCREF(Py_None);
5017 _resultobj = Py_None;
5018 return _resultobj;
5019 }
5020
5021 static PyObject *_wrap_glPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5022 PyObject * _resultobj;
5023 GLfloat _arg0;
5024 char *_kwnames[] = { "size", NULL };
5025
5026 self = self;
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glPointSize",_kwnames,&_arg0))
5028 return NULL;
5029 {
5030 wxPy_BEGIN_ALLOW_THREADS;
5031 glPointSize(_arg0);
5032
5033 wxPy_END_ALLOW_THREADS;
5034 } Py_INCREF(Py_None);
5035 _resultobj = Py_None;
5036 return _resultobj;
5037 }
5038
5039 static PyObject *_wrap_glPolygonMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject * _resultobj;
5041 GLenum _arg0;
5042 GLenum _arg1;
5043 char *_kwnames[] = { "face","mode", NULL };
5044
5045 self = self;
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glPolygonMode",_kwnames,&_arg0,&_arg1))
5047 return NULL;
5048 {
5049 wxPy_BEGIN_ALLOW_THREADS;
5050 glPolygonMode(_arg0,_arg1);
5051
5052 wxPy_END_ALLOW_THREADS;
5053 } Py_INCREF(Py_None);
5054 _resultobj = Py_None;
5055 return _resultobj;
5056 }
5057
5058 static PyObject *_wrap_glPolygonOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject * _resultobj;
5060 GLfloat _arg0;
5061 GLfloat _arg1;
5062 char *_kwnames[] = { "factor","units", NULL };
5063
5064 self = self;
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glPolygonOffset",_kwnames,&_arg0,&_arg1))
5066 return NULL;
5067 {
5068 wxPy_BEGIN_ALLOW_THREADS;
5069 glPolygonOffset(_arg0,_arg1);
5070
5071 wxPy_END_ALLOW_THREADS;
5072 } Py_INCREF(Py_None);
5073 _resultobj = Py_None;
5074 return _resultobj;
5075 }
5076
5077 static PyObject *_wrap_glPolygonStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
5078 PyObject * _resultobj;
5079 GLubyte * _arg0;
5080 PyObject * _argo0 = 0;
5081 char *_kwnames[] = { "mask", NULL };
5082
5083 self = self;
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glPolygonStipple",_kwnames,&_argo0))
5085 return NULL;
5086 if (_argo0) {
5087 if (_argo0 == Py_None) { _arg0 = NULL; }
5088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) {
5089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glPolygonStipple. Expected _GLubyte_p.");
5090 return NULL;
5091 }
5092 }
5093 {
5094 wxPy_BEGIN_ALLOW_THREADS;
5095 glPolygonStipple(_arg0);
5096
5097 wxPy_END_ALLOW_THREADS;
5098 } Py_INCREF(Py_None);
5099 _resultobj = Py_None;
5100 return _resultobj;
5101 }
5102
5103 static PyObject *_wrap_glPopAttrib(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject * _resultobj;
5105 char *_kwnames[] = { NULL };
5106
5107 self = self;
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPopAttrib",_kwnames))
5109 return NULL;
5110 {
5111 wxPy_BEGIN_ALLOW_THREADS;
5112 glPopAttrib();
5113
5114 wxPy_END_ALLOW_THREADS;
5115 } Py_INCREF(Py_None);
5116 _resultobj = Py_None;
5117 return _resultobj;
5118 }
5119
5120 static PyObject *_wrap_glPopClientAttrib(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject * _resultobj;
5122 char *_kwnames[] = { NULL };
5123
5124 self = self;
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPopClientAttrib",_kwnames))
5126 return NULL;
5127 {
5128 wxPy_BEGIN_ALLOW_THREADS;
5129 glPopClientAttrib();
5130
5131 wxPy_END_ALLOW_THREADS;
5132 } Py_INCREF(Py_None);
5133 _resultobj = Py_None;
5134 return _resultobj;
5135 }
5136
5137 static PyObject *_wrap_glPopMatrix(PyObject *self, PyObject *args, PyObject *kwargs) {
5138 PyObject * _resultobj;
5139 char *_kwnames[] = { NULL };
5140
5141 self = self;
5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPopMatrix",_kwnames))
5143 return NULL;
5144 {
5145 wxPy_BEGIN_ALLOW_THREADS;
5146 glPopMatrix();
5147
5148 wxPy_END_ALLOW_THREADS;
5149 } Py_INCREF(Py_None);
5150 _resultobj = Py_None;
5151 return _resultobj;
5152 }
5153
5154 static PyObject *_wrap_glPopName(PyObject *self, PyObject *args, PyObject *kwargs) {
5155 PyObject * _resultobj;
5156 char *_kwnames[] = { NULL };
5157
5158 self = self;
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPopName",_kwnames))
5160 return NULL;
5161 {
5162 wxPy_BEGIN_ALLOW_THREADS;
5163 glPopName();
5164
5165 wxPy_END_ALLOW_THREADS;
5166 } Py_INCREF(Py_None);
5167 _resultobj = Py_None;
5168 return _resultobj;
5169 }
5170
5171 static PyObject *_wrap_glPrioritizeTextures(PyObject *self, PyObject *args, PyObject *kwargs) {
5172 PyObject * _resultobj;
5173 GLsizei _arg0;
5174 GLuint * _arg1;
5175 GLclampf * _arg2;
5176 PyObject * _argo1 = 0;
5177 PyObject * _argo2 = 0;
5178 char *_kwnames[] = { "n","textures","priorities", NULL };
5179
5180 self = self;
5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:glPrioritizeTextures",_kwnames,&_arg0,&_argo1,&_argo2))
5182 return NULL;
5183 if (_argo1) {
5184 if (_argo1 == Py_None) { _arg1 = NULL; }
5185 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) {
5186 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glPrioritizeTextures. Expected _GLuint_p.");
5187 return NULL;
5188 }
5189 }
5190 if (_argo2) {
5191 if (_argo2 == Py_None) { _arg2 = NULL; }
5192 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLclampf_p")) {
5193 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPrioritizeTextures. Expected _GLclampf_p.");
5194 return NULL;
5195 }
5196 }
5197 {
5198 wxPy_BEGIN_ALLOW_THREADS;
5199 glPrioritizeTextures(_arg0,_arg1,_arg2);
5200
5201 wxPy_END_ALLOW_THREADS;
5202 } Py_INCREF(Py_None);
5203 _resultobj = Py_None;
5204 return _resultobj;
5205 }
5206
5207 static PyObject *_wrap_glPushAttrib(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject * _resultobj;
5209 GLbitfield _arg0;
5210 char *_kwnames[] = { "mask", NULL };
5211
5212 self = self;
5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glPushAttrib",_kwnames,&_arg0))
5214 return NULL;
5215 {
5216 wxPy_BEGIN_ALLOW_THREADS;
5217 glPushAttrib(_arg0);
5218
5219 wxPy_END_ALLOW_THREADS;
5220 } Py_INCREF(Py_None);
5221 _resultobj = Py_None;
5222 return _resultobj;
5223 }
5224
5225 static PyObject *_wrap_glPushClientAttrib(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject * _resultobj;
5227 GLbitfield _arg0;
5228 char *_kwnames[] = { "mask", NULL };
5229
5230 self = self;
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glPushClientAttrib",_kwnames,&_arg0))
5232 return NULL;
5233 {
5234 wxPy_BEGIN_ALLOW_THREADS;
5235 glPushClientAttrib(_arg0);
5236
5237 wxPy_END_ALLOW_THREADS;
5238 } Py_INCREF(Py_None);
5239 _resultobj = Py_None;
5240 return _resultobj;
5241 }
5242
5243 static PyObject *_wrap_glPushMatrix(PyObject *self, PyObject *args, PyObject *kwargs) {
5244 PyObject * _resultobj;
5245 char *_kwnames[] = { NULL };
5246
5247 self = self;
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPushMatrix",_kwnames))
5249 return NULL;
5250 {
5251 wxPy_BEGIN_ALLOW_THREADS;
5252 glPushMatrix();
5253
5254 wxPy_END_ALLOW_THREADS;
5255 } Py_INCREF(Py_None);
5256 _resultobj = Py_None;
5257 return _resultobj;
5258 }
5259
5260 static PyObject *_wrap_glPushName(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject * _resultobj;
5262 GLuint _arg0;
5263 char *_kwnames[] = { "name", NULL };
5264
5265 self = self;
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glPushName",_kwnames,&_arg0))
5267 return NULL;
5268 {
5269 wxPy_BEGIN_ALLOW_THREADS;
5270 glPushName(_arg0);
5271
5272 wxPy_END_ALLOW_THREADS;
5273 } Py_INCREF(Py_None);
5274 _resultobj = Py_None;
5275 return _resultobj;
5276 }
5277
5278 static PyObject *_wrap_glRasterPos2d(PyObject *self, PyObject *args, PyObject *kwargs) {
5279 PyObject * _resultobj;
5280 GLdouble _arg0;
5281 GLdouble _arg1;
5282 char *_kwnames[] = { "x","y", NULL };
5283
5284 self = self;
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glRasterPos2d",_kwnames,&_arg0,&_arg1))
5286 return NULL;
5287 {
5288 wxPy_BEGIN_ALLOW_THREADS;
5289 glRasterPos2d(_arg0,_arg1);
5290
5291 wxPy_END_ALLOW_THREADS;
5292 } Py_INCREF(Py_None);
5293 _resultobj = Py_None;
5294 return _resultobj;
5295 }
5296
5297 static PyObject *_wrap_glRasterPos2dv(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject * _resultobj;
5299 GLdouble * _arg0;
5300 PyObject * _argo0 = 0;
5301 char *_kwnames[] = { "v", NULL };
5302
5303 self = self;
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos2dv",_kwnames,&_argo0))
5305 return NULL;
5306 if (_argo0) {
5307 if (_argo0 == Py_None) { _arg0 = NULL; }
5308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
5309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2dv. Expected _GLdouble_p.");
5310 return NULL;
5311 }
5312 }
5313 {
5314 wxPy_BEGIN_ALLOW_THREADS;
5315 glRasterPos2dv(_arg0);
5316
5317 wxPy_END_ALLOW_THREADS;
5318 } Py_INCREF(Py_None);
5319 _resultobj = Py_None;
5320 return _resultobj;
5321 }
5322
5323 static PyObject *_wrap_glRasterPos2f(PyObject *self, PyObject *args, PyObject *kwargs) {
5324 PyObject * _resultobj;
5325 GLfloat _arg0;
5326 GLfloat _arg1;
5327 char *_kwnames[] = { "x","y", NULL };
5328
5329 self = self;
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glRasterPos2f",_kwnames,&_arg0,&_arg1))
5331 return NULL;
5332 {
5333 wxPy_BEGIN_ALLOW_THREADS;
5334 glRasterPos2f(_arg0,_arg1);
5335
5336 wxPy_END_ALLOW_THREADS;
5337 } Py_INCREF(Py_None);
5338 _resultobj = Py_None;
5339 return _resultobj;
5340 }
5341
5342 static PyObject *_wrap_glRasterPos2fv(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject * _resultobj;
5344 GLfloat * _arg0;
5345 PyObject * _argo0 = 0;
5346 char *_kwnames[] = { "v", NULL };
5347
5348 self = self;
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos2fv",_kwnames,&_argo0))
5350 return NULL;
5351 if (_argo0) {
5352 if (_argo0 == Py_None) { _arg0 = NULL; }
5353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
5354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2fv. Expected _GLfloat_p.");
5355 return NULL;
5356 }
5357 }
5358 {
5359 wxPy_BEGIN_ALLOW_THREADS;
5360 glRasterPos2fv(_arg0);
5361
5362 wxPy_END_ALLOW_THREADS;
5363 } Py_INCREF(Py_None);
5364 _resultobj = Py_None;
5365 return _resultobj;
5366 }
5367
5368 static PyObject *_wrap_glRasterPos2i(PyObject *self, PyObject *args, PyObject *kwargs) {
5369 PyObject * _resultobj;
5370 GLint _arg0;
5371 GLint _arg1;
5372 char *_kwnames[] = { "x","y", NULL };
5373
5374 self = self;
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glRasterPos2i",_kwnames,&_arg0,&_arg1))
5376 return NULL;
5377 {
5378 wxPy_BEGIN_ALLOW_THREADS;
5379 glRasterPos2i(_arg0,_arg1);
5380
5381 wxPy_END_ALLOW_THREADS;
5382 } Py_INCREF(Py_None);
5383 _resultobj = Py_None;
5384 return _resultobj;
5385 }
5386
5387 static PyObject *_wrap_glRasterPos2iv(PyObject *self, PyObject *args, PyObject *kwargs) {
5388 PyObject * _resultobj;
5389 GLint * _arg0;
5390 PyObject * _argo0 = 0;
5391 char *_kwnames[] = { "v", NULL };
5392
5393 self = self;
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos2iv",_kwnames,&_argo0))
5395 return NULL;
5396 if (_argo0) {
5397 if (_argo0 == Py_None) { _arg0 = NULL; }
5398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
5399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2iv. Expected _GLint_p.");
5400 return NULL;
5401 }
5402 }
5403 {
5404 wxPy_BEGIN_ALLOW_THREADS;
5405 glRasterPos2iv(_arg0);
5406
5407 wxPy_END_ALLOW_THREADS;
5408 } Py_INCREF(Py_None);
5409 _resultobj = Py_None;
5410 return _resultobj;
5411 }
5412
5413 static PyObject *_wrap_glRasterPos2s(PyObject *self, PyObject *args, PyObject *kwargs) {
5414 PyObject * _resultobj;
5415 GLshort _arg0;
5416 GLshort _arg1;
5417 char *_kwnames[] = { "x","y", NULL };
5418
5419 self = self;
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hh:glRasterPos2s",_kwnames,&_arg0,&_arg1))
5421 return NULL;
5422 {
5423 wxPy_BEGIN_ALLOW_THREADS;
5424 glRasterPos2s(_arg0,_arg1);
5425
5426 wxPy_END_ALLOW_THREADS;
5427 } Py_INCREF(Py_None);
5428 _resultobj = Py_None;
5429 return _resultobj;
5430 }
5431
5432 static PyObject *_wrap_glRasterPos2sv(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject * _resultobj;
5434 GLshort * _arg0;
5435 PyObject * _argo0 = 0;
5436 char *_kwnames[] = { "v", NULL };
5437
5438 self = self;
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos2sv",_kwnames,&_argo0))
5440 return NULL;
5441 if (_argo0) {
5442 if (_argo0 == Py_None) { _arg0 = NULL; }
5443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
5444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2sv. Expected _GLshort_p.");
5445 return NULL;
5446 }
5447 }
5448 {
5449 wxPy_BEGIN_ALLOW_THREADS;
5450 glRasterPos2sv(_arg0);
5451
5452 wxPy_END_ALLOW_THREADS;
5453 } Py_INCREF(Py_None);
5454 _resultobj = Py_None;
5455 return _resultobj;
5456 }
5457
5458 static PyObject *_wrap_glRasterPos3d(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 GLdouble _arg0;
5461 GLdouble _arg1;
5462 GLdouble _arg2;
5463 char *_kwnames[] = { "x","y","z", NULL };
5464
5465 self = self;
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glRasterPos3d",_kwnames,&_arg0,&_arg1,&_arg2))
5467 return NULL;
5468 {
5469 wxPy_BEGIN_ALLOW_THREADS;
5470 glRasterPos3d(_arg0,_arg1,_arg2);
5471
5472 wxPy_END_ALLOW_THREADS;
5473 } Py_INCREF(Py_None);
5474 _resultobj = Py_None;
5475 return _resultobj;
5476 }
5477
5478 static PyObject *_wrap_glRasterPos3dv(PyObject *self, PyObject *args, PyObject *kwargs) {
5479 PyObject * _resultobj;
5480 GLdouble * _arg0;
5481 PyObject * _argo0 = 0;
5482 char *_kwnames[] = { "v", NULL };
5483
5484 self = self;
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos3dv",_kwnames,&_argo0))
5486 return NULL;
5487 if (_argo0) {
5488 if (_argo0 == Py_None) { _arg0 = NULL; }
5489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
5490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3dv. Expected _GLdouble_p.");
5491 return NULL;
5492 }
5493 }
5494 {
5495 wxPy_BEGIN_ALLOW_THREADS;
5496 glRasterPos3dv(_arg0);
5497
5498 wxPy_END_ALLOW_THREADS;
5499 } Py_INCREF(Py_None);
5500 _resultobj = Py_None;
5501 return _resultobj;
5502 }
5503
5504 static PyObject *_wrap_glRasterPos3f(PyObject *self, PyObject *args, PyObject *kwargs) {
5505 PyObject * _resultobj;
5506 GLfloat _arg0;
5507 GLfloat _arg1;
5508 GLfloat _arg2;
5509 char *_kwnames[] = { "x","y","z", NULL };
5510
5511 self = self;
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glRasterPos3f",_kwnames,&_arg0,&_arg1,&_arg2))
5513 return NULL;
5514 {
5515 wxPy_BEGIN_ALLOW_THREADS;
5516 glRasterPos3f(_arg0,_arg1,_arg2);
5517
5518 wxPy_END_ALLOW_THREADS;
5519 } Py_INCREF(Py_None);
5520 _resultobj = Py_None;
5521 return _resultobj;
5522 }
5523
5524 static PyObject *_wrap_glRasterPos3fv(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject * _resultobj;
5526 GLfloat * _arg0;
5527 PyObject * _argo0 = 0;
5528 char *_kwnames[] = { "v", NULL };
5529
5530 self = self;
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos3fv",_kwnames,&_argo0))
5532 return NULL;
5533 if (_argo0) {
5534 if (_argo0 == Py_None) { _arg0 = NULL; }
5535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
5536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3fv. Expected _GLfloat_p.");
5537 return NULL;
5538 }
5539 }
5540 {
5541 wxPy_BEGIN_ALLOW_THREADS;
5542 glRasterPos3fv(_arg0);
5543
5544 wxPy_END_ALLOW_THREADS;
5545 } Py_INCREF(Py_None);
5546 _resultobj = Py_None;
5547 return _resultobj;
5548 }
5549
5550 static PyObject *_wrap_glRasterPos3i(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject * _resultobj;
5552 GLint _arg0;
5553 GLint _arg1;
5554 GLint _arg2;
5555 char *_kwnames[] = { "x","y","z", NULL };
5556
5557 self = self;
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glRasterPos3i",_kwnames,&_arg0,&_arg1,&_arg2))
5559 return NULL;
5560 {
5561 wxPy_BEGIN_ALLOW_THREADS;
5562 glRasterPos3i(_arg0,_arg1,_arg2);
5563
5564 wxPy_END_ALLOW_THREADS;
5565 } Py_INCREF(Py_None);
5566 _resultobj = Py_None;
5567 return _resultobj;
5568 }
5569
5570 static PyObject *_wrap_glRasterPos3iv(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject * _resultobj;
5572 GLint * _arg0;
5573 PyObject * _argo0 = 0;
5574 char *_kwnames[] = { "v", NULL };
5575
5576 self = self;
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos3iv",_kwnames,&_argo0))
5578 return NULL;
5579 if (_argo0) {
5580 if (_argo0 == Py_None) { _arg0 = NULL; }
5581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
5582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3iv. Expected _GLint_p.");
5583 return NULL;
5584 }
5585 }
5586 {
5587 wxPy_BEGIN_ALLOW_THREADS;
5588 glRasterPos3iv(_arg0);
5589
5590 wxPy_END_ALLOW_THREADS;
5591 } Py_INCREF(Py_None);
5592 _resultobj = Py_None;
5593 return _resultobj;
5594 }
5595
5596 static PyObject *_wrap_glRasterPos3s(PyObject *self, PyObject *args, PyObject *kwargs) {
5597 PyObject * _resultobj;
5598 GLshort _arg0;
5599 GLshort _arg1;
5600 GLshort _arg2;
5601 char *_kwnames[] = { "x","y","z", NULL };
5602
5603 self = self;
5604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glRasterPos3s",_kwnames,&_arg0,&_arg1,&_arg2))
5605 return NULL;
5606 {
5607 wxPy_BEGIN_ALLOW_THREADS;
5608 glRasterPos3s(_arg0,_arg1,_arg2);
5609
5610 wxPy_END_ALLOW_THREADS;
5611 } Py_INCREF(Py_None);
5612 _resultobj = Py_None;
5613 return _resultobj;
5614 }
5615
5616 static PyObject *_wrap_glRasterPos3sv(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject * _resultobj;
5618 GLshort * _arg0;
5619 PyObject * _argo0 = 0;
5620 char *_kwnames[] = { "v", NULL };
5621
5622 self = self;
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos3sv",_kwnames,&_argo0))
5624 return NULL;
5625 if (_argo0) {
5626 if (_argo0 == Py_None) { _arg0 = NULL; }
5627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
5628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3sv. Expected _GLshort_p.");
5629 return NULL;
5630 }
5631 }
5632 {
5633 wxPy_BEGIN_ALLOW_THREADS;
5634 glRasterPos3sv(_arg0);
5635
5636 wxPy_END_ALLOW_THREADS;
5637 } Py_INCREF(Py_None);
5638 _resultobj = Py_None;
5639 return _resultobj;
5640 }
5641
5642 static PyObject *_wrap_glRasterPos4d(PyObject *self, PyObject *args, PyObject *kwargs) {
5643 PyObject * _resultobj;
5644 GLdouble _arg0;
5645 GLdouble _arg1;
5646 GLdouble _arg2;
5647 GLdouble _arg3;
5648 char *_kwnames[] = { "x","y","z","w", NULL };
5649
5650 self = self;
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glRasterPos4d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
5652 return NULL;
5653 {
5654 wxPy_BEGIN_ALLOW_THREADS;
5655 glRasterPos4d(_arg0,_arg1,_arg2,_arg3);
5656
5657 wxPy_END_ALLOW_THREADS;
5658 } Py_INCREF(Py_None);
5659 _resultobj = Py_None;
5660 return _resultobj;
5661 }
5662
5663 static PyObject *_wrap_glRasterPos4dv(PyObject *self, PyObject *args, PyObject *kwargs) {
5664 PyObject * _resultobj;
5665 GLdouble * _arg0;
5666 PyObject * _argo0 = 0;
5667 char *_kwnames[] = { "v", NULL };
5668
5669 self = self;
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos4dv",_kwnames,&_argo0))
5671 return NULL;
5672 if (_argo0) {
5673 if (_argo0 == Py_None) { _arg0 = NULL; }
5674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
5675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4dv. Expected _GLdouble_p.");
5676 return NULL;
5677 }
5678 }
5679 {
5680 wxPy_BEGIN_ALLOW_THREADS;
5681 glRasterPos4dv(_arg0);
5682
5683 wxPy_END_ALLOW_THREADS;
5684 } Py_INCREF(Py_None);
5685 _resultobj = Py_None;
5686 return _resultobj;
5687 }
5688
5689 static PyObject *_wrap_glRasterPos4f(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject * _resultobj;
5691 GLfloat _arg0;
5692 GLfloat _arg1;
5693 GLfloat _arg2;
5694 GLfloat _arg3;
5695 char *_kwnames[] = { "x","y","z","w", NULL };
5696
5697 self = self;
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glRasterPos4f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
5699 return NULL;
5700 {
5701 wxPy_BEGIN_ALLOW_THREADS;
5702 glRasterPos4f(_arg0,_arg1,_arg2,_arg3);
5703
5704 wxPy_END_ALLOW_THREADS;
5705 } Py_INCREF(Py_None);
5706 _resultobj = Py_None;
5707 return _resultobj;
5708 }
5709
5710 static PyObject *_wrap_glRasterPos4fv(PyObject *self, PyObject *args, PyObject *kwargs) {
5711 PyObject * _resultobj;
5712 GLfloat * _arg0;
5713 PyObject * _argo0 = 0;
5714 char *_kwnames[] = { "v", NULL };
5715
5716 self = self;
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos4fv",_kwnames,&_argo0))
5718 return NULL;
5719 if (_argo0) {
5720 if (_argo0 == Py_None) { _arg0 = NULL; }
5721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
5722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4fv. Expected _GLfloat_p.");
5723 return NULL;
5724 }
5725 }
5726 {
5727 wxPy_BEGIN_ALLOW_THREADS;
5728 glRasterPos4fv(_arg0);
5729
5730 wxPy_END_ALLOW_THREADS;
5731 } Py_INCREF(Py_None);
5732 _resultobj = Py_None;
5733 return _resultobj;
5734 }
5735
5736 static PyObject *_wrap_glRasterPos4i(PyObject *self, PyObject *args, PyObject *kwargs) {
5737 PyObject * _resultobj;
5738 GLint _arg0;
5739 GLint _arg1;
5740 GLint _arg2;
5741 GLint _arg3;
5742 char *_kwnames[] = { "x","y","z","w", NULL };
5743
5744 self = self;
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glRasterPos4i",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
5746 return NULL;
5747 {
5748 wxPy_BEGIN_ALLOW_THREADS;
5749 glRasterPos4i(_arg0,_arg1,_arg2,_arg3);
5750
5751 wxPy_END_ALLOW_THREADS;
5752 } Py_INCREF(Py_None);
5753 _resultobj = Py_None;
5754 return _resultobj;
5755 }
5756
5757 static PyObject *_wrap_glRasterPos4iv(PyObject *self, PyObject *args, PyObject *kwargs) {
5758 PyObject * _resultobj;
5759 GLint * _arg0;
5760 PyObject * _argo0 = 0;
5761 char *_kwnames[] = { "v", NULL };
5762
5763 self = self;
5764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos4iv",_kwnames,&_argo0))
5765 return NULL;
5766 if (_argo0) {
5767 if (_argo0 == Py_None) { _arg0 = NULL; }
5768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
5769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4iv. Expected _GLint_p.");
5770 return NULL;
5771 }
5772 }
5773 {
5774 wxPy_BEGIN_ALLOW_THREADS;
5775 glRasterPos4iv(_arg0);
5776
5777 wxPy_END_ALLOW_THREADS;
5778 } Py_INCREF(Py_None);
5779 _resultobj = Py_None;
5780 return _resultobj;
5781 }
5782
5783 static PyObject *_wrap_glRasterPos4s(PyObject *self, PyObject *args, PyObject *kwargs) {
5784 PyObject * _resultobj;
5785 GLshort _arg0;
5786 GLshort _arg1;
5787 GLshort _arg2;
5788 GLshort _arg3;
5789 char *_kwnames[] = { "x","y","z","w", NULL };
5790
5791 self = self;
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glRasterPos4s",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
5793 return NULL;
5794 {
5795 wxPy_BEGIN_ALLOW_THREADS;
5796 glRasterPos4s(_arg0,_arg1,_arg2,_arg3);
5797
5798 wxPy_END_ALLOW_THREADS;
5799 } Py_INCREF(Py_None);
5800 _resultobj = Py_None;
5801 return _resultobj;
5802 }
5803
5804 static PyObject *_wrap_glRasterPos4sv(PyObject *self, PyObject *args, PyObject *kwargs) {
5805 PyObject * _resultobj;
5806 GLshort * _arg0;
5807 PyObject * _argo0 = 0;
5808 char *_kwnames[] = { "v", NULL };
5809
5810 self = self;
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos4sv",_kwnames,&_argo0))
5812 return NULL;
5813 if (_argo0) {
5814 if (_argo0 == Py_None) { _arg0 = NULL; }
5815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
5816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4sv. Expected _GLshort_p.");
5817 return NULL;
5818 }
5819 }
5820 {
5821 wxPy_BEGIN_ALLOW_THREADS;
5822 glRasterPos4sv(_arg0);
5823
5824 wxPy_END_ALLOW_THREADS;
5825 } Py_INCREF(Py_None);
5826 _resultobj = Py_None;
5827 return _resultobj;
5828 }
5829
5830 static PyObject *_wrap_glReadBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5831 PyObject * _resultobj;
5832 GLenum _arg0;
5833 char *_kwnames[] = { "mode", NULL };
5834
5835 self = self;
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glReadBuffer",_kwnames,&_arg0))
5837 return NULL;
5838 {
5839 wxPy_BEGIN_ALLOW_THREADS;
5840 glReadBuffer(_arg0);
5841
5842 wxPy_END_ALLOW_THREADS;
5843 } Py_INCREF(Py_None);
5844 _resultobj = Py_None;
5845 return _resultobj;
5846 }
5847
5848 static PyObject *_wrap_glReadPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
5849 PyObject * _resultobj;
5850 GLint _arg0;
5851 GLint _arg1;
5852 GLsizei _arg2;
5853 GLsizei _arg3;
5854 GLenum _arg4;
5855 GLenum _arg5;
5856 GLvoid * _arg6;
5857 PyObject * _argo6 = 0;
5858 char *_kwnames[] = { "x","y","width","height","format","type","pixels", NULL };
5859
5860 self = self;
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiO:glReadPixels",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6))
5862 return NULL;
5863 if (_argo6) {
5864 if (_argo6 == Py_None) { _arg6 = NULL; }
5865 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,(char *) 0 )) {
5866 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glReadPixels. Expected _GLvoid_p.");
5867 return NULL;
5868 }
5869 }
5870 {
5871 wxPy_BEGIN_ALLOW_THREADS;
5872 glReadPixels(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5873
5874 wxPy_END_ALLOW_THREADS;
5875 } Py_INCREF(Py_None);
5876 _resultobj = Py_None;
5877 return _resultobj;
5878 }
5879
5880 static PyObject *_wrap_glRectd(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject * _resultobj;
5882 GLdouble _arg0;
5883 GLdouble _arg1;
5884 GLdouble _arg2;
5885 GLdouble _arg3;
5886 char *_kwnames[] = { "x1","y1","x2","y2", NULL };
5887
5888 self = self;
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glRectd",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
5890 return NULL;
5891 {
5892 wxPy_BEGIN_ALLOW_THREADS;
5893 glRectd(_arg0,_arg1,_arg2,_arg3);
5894
5895 wxPy_END_ALLOW_THREADS;
5896 } Py_INCREF(Py_None);
5897 _resultobj = Py_None;
5898 return _resultobj;
5899 }
5900
5901 static PyObject *_wrap_glRectdv(PyObject *self, PyObject *args, PyObject *kwargs) {
5902 PyObject * _resultobj;
5903 GLdouble * _arg0;
5904 GLdouble * _arg1;
5905 PyObject * _argo0 = 0;
5906 PyObject * _argo1 = 0;
5907 char *_kwnames[] = { "v1","v2", NULL };
5908
5909 self = self;
5910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:glRectdv",_kwnames,&_argo0,&_argo1))
5911 return NULL;
5912 if (_argo0) {
5913 if (_argo0 == Py_None) { _arg0 = NULL; }
5914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
5915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectdv. Expected _GLdouble_p.");
5916 return NULL;
5917 }
5918 }
5919 if (_argo1) {
5920 if (_argo1 == Py_None) { _arg1 = NULL; }
5921 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) {
5922 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectdv. Expected _GLdouble_p.");
5923 return NULL;
5924 }
5925 }
5926 {
5927 wxPy_BEGIN_ALLOW_THREADS;
5928 glRectdv(_arg0,_arg1);
5929
5930 wxPy_END_ALLOW_THREADS;
5931 } Py_INCREF(Py_None);
5932 _resultobj = Py_None;
5933 return _resultobj;
5934 }
5935
5936 static PyObject *_wrap_glRectf(PyObject *self, PyObject *args, PyObject *kwargs) {
5937 PyObject * _resultobj;
5938 GLfloat _arg0;
5939 GLfloat _arg1;
5940 GLfloat _arg2;
5941 GLfloat _arg3;
5942 char *_kwnames[] = { "x1","y1","x2","y2", NULL };
5943
5944 self = self;
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glRectf",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
5946 return NULL;
5947 {
5948 wxPy_BEGIN_ALLOW_THREADS;
5949 glRectf(_arg0,_arg1,_arg2,_arg3);
5950
5951 wxPy_END_ALLOW_THREADS;
5952 } Py_INCREF(Py_None);
5953 _resultobj = Py_None;
5954 return _resultobj;
5955 }
5956
5957 static PyObject *_wrap_glRectfv(PyObject *self, PyObject *args, PyObject *kwargs) {
5958 PyObject * _resultobj;
5959 GLfloat * _arg0;
5960 GLfloat * _arg1;
5961 PyObject * _argo0 = 0;
5962 PyObject * _argo1 = 0;
5963 char *_kwnames[] = { "v1","v2", NULL };
5964
5965 self = self;
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:glRectfv",_kwnames,&_argo0,&_argo1))
5967 return NULL;
5968 if (_argo0) {
5969 if (_argo0 == Py_None) { _arg0 = NULL; }
5970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
5971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectfv. Expected _GLfloat_p.");
5972 return NULL;
5973 }
5974 }
5975 if (_argo1) {
5976 if (_argo1 == Py_None) { _arg1 = NULL; }
5977 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) {
5978 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectfv. Expected _GLfloat_p.");
5979 return NULL;
5980 }
5981 }
5982 {
5983 wxPy_BEGIN_ALLOW_THREADS;
5984 glRectfv(_arg0,_arg1);
5985
5986 wxPy_END_ALLOW_THREADS;
5987 } Py_INCREF(Py_None);
5988 _resultobj = Py_None;
5989 return _resultobj;
5990 }
5991
5992 static PyObject *_wrap_glRecti(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject * _resultobj;
5994 GLint _arg0;
5995 GLint _arg1;
5996 GLint _arg2;
5997 GLint _arg3;
5998 char *_kwnames[] = { "x1","y1","x2","y2", NULL };
5999
6000 self = self;
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glRecti",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6002 return NULL;
6003 {
6004 wxPy_BEGIN_ALLOW_THREADS;
6005 glRecti(_arg0,_arg1,_arg2,_arg3);
6006
6007 wxPy_END_ALLOW_THREADS;
6008 } Py_INCREF(Py_None);
6009 _resultobj = Py_None;
6010 return _resultobj;
6011 }
6012
6013 static PyObject *_wrap_glRectiv(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject * _resultobj;
6015 GLint * _arg0;
6016 GLint * _arg1;
6017 PyObject * _argo0 = 0;
6018 PyObject * _argo1 = 0;
6019 char *_kwnames[] = { "v1","v2", NULL };
6020
6021 self = self;
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:glRectiv",_kwnames,&_argo0,&_argo1))
6023 return NULL;
6024 if (_argo0) {
6025 if (_argo0 == Py_None) { _arg0 = NULL; }
6026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
6027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectiv. Expected _GLint_p.");
6028 return NULL;
6029 }
6030 }
6031 if (_argo1) {
6032 if (_argo1 == Py_None) { _arg1 = NULL; }
6033 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) {
6034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectiv. Expected _GLint_p.");
6035 return NULL;
6036 }
6037 }
6038 {
6039 wxPy_BEGIN_ALLOW_THREADS;
6040 glRectiv(_arg0,_arg1);
6041
6042 wxPy_END_ALLOW_THREADS;
6043 } Py_INCREF(Py_None);
6044 _resultobj = Py_None;
6045 return _resultobj;
6046 }
6047
6048 static PyObject *_wrap_glRects(PyObject *self, PyObject *args, PyObject *kwargs) {
6049 PyObject * _resultobj;
6050 GLshort _arg0;
6051 GLshort _arg1;
6052 GLshort _arg2;
6053 GLshort _arg3;
6054 char *_kwnames[] = { "x1","y1","x2","y2", NULL };
6055
6056 self = self;
6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glRects",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6058 return NULL;
6059 {
6060 wxPy_BEGIN_ALLOW_THREADS;
6061 glRects(_arg0,_arg1,_arg2,_arg3);
6062
6063 wxPy_END_ALLOW_THREADS;
6064 } Py_INCREF(Py_None);
6065 _resultobj = Py_None;
6066 return _resultobj;
6067 }
6068
6069 static PyObject *_wrap_glRectsv(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject * _resultobj;
6071 GLshort * _arg0;
6072 GLshort * _arg1;
6073 PyObject * _argo0 = 0;
6074 PyObject * _argo1 = 0;
6075 char *_kwnames[] = { "v1","v2", NULL };
6076
6077 self = self;
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:glRectsv",_kwnames,&_argo0,&_argo1))
6079 return NULL;
6080 if (_argo0) {
6081 if (_argo0 == Py_None) { _arg0 = NULL; }
6082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
6083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectsv. Expected _GLshort_p.");
6084 return NULL;
6085 }
6086 }
6087 if (_argo1) {
6088 if (_argo1 == Py_None) { _arg1 = NULL; }
6089 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLshort_p")) {
6090 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectsv. Expected _GLshort_p.");
6091 return NULL;
6092 }
6093 }
6094 {
6095 wxPy_BEGIN_ALLOW_THREADS;
6096 glRectsv(_arg0,_arg1);
6097
6098 wxPy_END_ALLOW_THREADS;
6099 } Py_INCREF(Py_None);
6100 _resultobj = Py_None;
6101 return _resultobj;
6102 }
6103
6104 static PyObject *_wrap_glRenderMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6105 PyObject * _resultobj;
6106 GLint _result;
6107 GLenum _arg0;
6108 char *_kwnames[] = { "mode", NULL };
6109
6110 self = self;
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glRenderMode",_kwnames,&_arg0))
6112 return NULL;
6113 {
6114 wxPy_BEGIN_ALLOW_THREADS;
6115 _result = (GLint )glRenderMode(_arg0);
6116
6117 wxPy_END_ALLOW_THREADS;
6118 } _resultobj = Py_BuildValue("i",_result);
6119 return _resultobj;
6120 }
6121
6122 static PyObject *_wrap_glRotated(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject * _resultobj;
6124 GLdouble _arg0;
6125 GLdouble _arg1;
6126 GLdouble _arg2;
6127 GLdouble _arg3;
6128 char *_kwnames[] = { "angle","x","y","z", NULL };
6129
6130 self = self;
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glRotated",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6132 return NULL;
6133 {
6134 wxPy_BEGIN_ALLOW_THREADS;
6135 glRotated(_arg0,_arg1,_arg2,_arg3);
6136
6137 wxPy_END_ALLOW_THREADS;
6138 } Py_INCREF(Py_None);
6139 _resultobj = Py_None;
6140 return _resultobj;
6141 }
6142
6143 static PyObject *_wrap_glRotatef(PyObject *self, PyObject *args, PyObject *kwargs) {
6144 PyObject * _resultobj;
6145 GLfloat _arg0;
6146 GLfloat _arg1;
6147 GLfloat _arg2;
6148 GLfloat _arg3;
6149 char *_kwnames[] = { "angle","x","y","z", NULL };
6150
6151 self = self;
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glRotatef",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6153 return NULL;
6154 {
6155 wxPy_BEGIN_ALLOW_THREADS;
6156 glRotatef(_arg0,_arg1,_arg2,_arg3);
6157
6158 wxPy_END_ALLOW_THREADS;
6159 } Py_INCREF(Py_None);
6160 _resultobj = Py_None;
6161 return _resultobj;
6162 }
6163
6164 static PyObject *_wrap_glScaled(PyObject *self, PyObject *args, PyObject *kwargs) {
6165 PyObject * _resultobj;
6166 GLdouble _arg0;
6167 GLdouble _arg1;
6168 GLdouble _arg2;
6169 char *_kwnames[] = { "x","y","z", NULL };
6170
6171 self = self;
6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glScaled",_kwnames,&_arg0,&_arg1,&_arg2))
6173 return NULL;
6174 {
6175 wxPy_BEGIN_ALLOW_THREADS;
6176 glScaled(_arg0,_arg1,_arg2);
6177
6178 wxPy_END_ALLOW_THREADS;
6179 } Py_INCREF(Py_None);
6180 _resultobj = Py_None;
6181 return _resultobj;
6182 }
6183
6184 static PyObject *_wrap_glScalef(PyObject *self, PyObject *args, PyObject *kwargs) {
6185 PyObject * _resultobj;
6186 GLfloat _arg0;
6187 GLfloat _arg1;
6188 GLfloat _arg2;
6189 char *_kwnames[] = { "x","y","z", NULL };
6190
6191 self = self;
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glScalef",_kwnames,&_arg0,&_arg1,&_arg2))
6193 return NULL;
6194 {
6195 wxPy_BEGIN_ALLOW_THREADS;
6196 glScalef(_arg0,_arg1,_arg2);
6197
6198 wxPy_END_ALLOW_THREADS;
6199 } Py_INCREF(Py_None);
6200 _resultobj = Py_None;
6201 return _resultobj;
6202 }
6203
6204 static PyObject *_wrap_glScissor(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject * _resultobj;
6206 GLint _arg0;
6207 GLint _arg1;
6208 GLsizei _arg2;
6209 GLsizei _arg3;
6210 char *_kwnames[] = { "x","y","width","height", NULL };
6211
6212 self = self;
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glScissor",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6214 return NULL;
6215 {
6216 wxPy_BEGIN_ALLOW_THREADS;
6217 glScissor(_arg0,_arg1,_arg2,_arg3);
6218
6219 wxPy_END_ALLOW_THREADS;
6220 } Py_INCREF(Py_None);
6221 _resultobj = Py_None;
6222 return _resultobj;
6223 }
6224
6225 static PyObject *_wrap_glSelectBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
6226 PyObject * _resultobj;
6227 GLsizei _arg0;
6228 GLuint * _arg1;
6229 PyObject * _argo1 = 0;
6230 char *_kwnames[] = { "size","buffer", NULL };
6231
6232 self = self;
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glSelectBuffer",_kwnames,&_arg0,&_argo1))
6234 return NULL;
6235 if (_argo1) {
6236 if (_argo1 == Py_None) { _arg1 = NULL; }
6237 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) {
6238 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glSelectBuffer. Expected _GLuint_p.");
6239 return NULL;
6240 }
6241 }
6242 {
6243 wxPy_BEGIN_ALLOW_THREADS;
6244 glSelectBuffer(_arg0,_arg1);
6245
6246 wxPy_END_ALLOW_THREADS;
6247 } Py_INCREF(Py_None);
6248 _resultobj = Py_None;
6249 return _resultobj;
6250 }
6251
6252 static PyObject *_wrap_glShadeModel(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject * _resultobj;
6254 GLenum _arg0;
6255 char *_kwnames[] = { "mode", NULL };
6256
6257 self = self;
6258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glShadeModel",_kwnames,&_arg0))
6259 return NULL;
6260 {
6261 wxPy_BEGIN_ALLOW_THREADS;
6262 glShadeModel(_arg0);
6263
6264 wxPy_END_ALLOW_THREADS;
6265 } Py_INCREF(Py_None);
6266 _resultobj = Py_None;
6267 return _resultobj;
6268 }
6269
6270 static PyObject *_wrap_glStencilFunc(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject * _resultobj;
6272 GLenum _arg0;
6273 GLint _arg1;
6274 GLuint _arg2;
6275 char *_kwnames[] = { "func","ref","mask", NULL };
6276
6277 self = self;
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glStencilFunc",_kwnames,&_arg0,&_arg1,&_arg2))
6279 return NULL;
6280 {
6281 wxPy_BEGIN_ALLOW_THREADS;
6282 glStencilFunc(_arg0,_arg1,_arg2);
6283
6284 wxPy_END_ALLOW_THREADS;
6285 } Py_INCREF(Py_None);
6286 _resultobj = Py_None;
6287 return _resultobj;
6288 }
6289
6290 static PyObject *_wrap_glStencilMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6291 PyObject * _resultobj;
6292 GLuint _arg0;
6293 char *_kwnames[] = { "mask", NULL };
6294
6295 self = self;
6296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glStencilMask",_kwnames,&_arg0))
6297 return NULL;
6298 {
6299 wxPy_BEGIN_ALLOW_THREADS;
6300 glStencilMask(_arg0);
6301
6302 wxPy_END_ALLOW_THREADS;
6303 } Py_INCREF(Py_None);
6304 _resultobj = Py_None;
6305 return _resultobj;
6306 }
6307
6308 static PyObject *_wrap_glStencilOp(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject * _resultobj;
6310 GLenum _arg0;
6311 GLenum _arg1;
6312 GLenum _arg2;
6313 char *_kwnames[] = { "fail","zfail","zpass", NULL };
6314
6315 self = self;
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glStencilOp",_kwnames,&_arg0,&_arg1,&_arg2))
6317 return NULL;
6318 {
6319 wxPy_BEGIN_ALLOW_THREADS;
6320 glStencilOp(_arg0,_arg1,_arg2);
6321
6322 wxPy_END_ALLOW_THREADS;
6323 } Py_INCREF(Py_None);
6324 _resultobj = Py_None;
6325 return _resultobj;
6326 }
6327
6328 static PyObject *_wrap_glTexCoord1d(PyObject *self, PyObject *args, PyObject *kwargs) {
6329 PyObject * _resultobj;
6330 GLdouble _arg0;
6331 char *_kwnames[] = { "s", NULL };
6332
6333 self = self;
6334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:glTexCoord1d",_kwnames,&_arg0))
6335 return NULL;
6336 {
6337 wxPy_BEGIN_ALLOW_THREADS;
6338 glTexCoord1d(_arg0);
6339
6340 wxPy_END_ALLOW_THREADS;
6341 } Py_INCREF(Py_None);
6342 _resultobj = Py_None;
6343 return _resultobj;
6344 }
6345
6346 static PyObject *_wrap_glTexCoord1dv(PyObject *self, PyObject *args, PyObject *kwargs) {
6347 PyObject * _resultobj;
6348 GLdouble * _arg0;
6349 PyObject * _argo0 = 0;
6350 char *_kwnames[] = { "v", NULL };
6351
6352 self = self;
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord1dv",_kwnames,&_argo0))
6354 return NULL;
6355 if (_argo0) {
6356 if (_argo0 == Py_None) { _arg0 = NULL; }
6357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
6358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1dv. Expected _GLdouble_p.");
6359 return NULL;
6360 }
6361 }
6362 {
6363 wxPy_BEGIN_ALLOW_THREADS;
6364 glTexCoord1dv(_arg0);
6365
6366 wxPy_END_ALLOW_THREADS;
6367 } Py_INCREF(Py_None);
6368 _resultobj = Py_None;
6369 return _resultobj;
6370 }
6371
6372 static PyObject *_wrap_glTexCoord1f(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject * _resultobj;
6374 GLfloat _arg0;
6375 char *_kwnames[] = { "s", NULL };
6376
6377 self = self;
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glTexCoord1f",_kwnames,&_arg0))
6379 return NULL;
6380 {
6381 wxPy_BEGIN_ALLOW_THREADS;
6382 glTexCoord1f(_arg0);
6383
6384 wxPy_END_ALLOW_THREADS;
6385 } Py_INCREF(Py_None);
6386 _resultobj = Py_None;
6387 return _resultobj;
6388 }
6389
6390 static PyObject *_wrap_glTexCoord1fv(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject * _resultobj;
6392 GLfloat * _arg0;
6393 PyObject * _argo0 = 0;
6394 char *_kwnames[] = { "v", NULL };
6395
6396 self = self;
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord1fv",_kwnames,&_argo0))
6398 return NULL;
6399 if (_argo0) {
6400 if (_argo0 == Py_None) { _arg0 = NULL; }
6401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
6402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1fv. Expected _GLfloat_p.");
6403 return NULL;
6404 }
6405 }
6406 {
6407 wxPy_BEGIN_ALLOW_THREADS;
6408 glTexCoord1fv(_arg0);
6409
6410 wxPy_END_ALLOW_THREADS;
6411 } Py_INCREF(Py_None);
6412 _resultobj = Py_None;
6413 return _resultobj;
6414 }
6415
6416 static PyObject *_wrap_glTexCoord1i(PyObject *self, PyObject *args, PyObject *kwargs) {
6417 PyObject * _resultobj;
6418 GLint _arg0;
6419 char *_kwnames[] = { "s", NULL };
6420
6421 self = self;
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glTexCoord1i",_kwnames,&_arg0))
6423 return NULL;
6424 {
6425 wxPy_BEGIN_ALLOW_THREADS;
6426 glTexCoord1i(_arg0);
6427
6428 wxPy_END_ALLOW_THREADS;
6429 } Py_INCREF(Py_None);
6430 _resultobj = Py_None;
6431 return _resultobj;
6432 }
6433
6434 static PyObject *_wrap_glTexCoord1iv(PyObject *self, PyObject *args, PyObject *kwargs) {
6435 PyObject * _resultobj;
6436 GLint * _arg0;
6437 PyObject * _argo0 = 0;
6438 char *_kwnames[] = { "v", NULL };
6439
6440 self = self;
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord1iv",_kwnames,&_argo0))
6442 return NULL;
6443 if (_argo0) {
6444 if (_argo0 == Py_None) { _arg0 = NULL; }
6445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
6446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1iv. Expected _GLint_p.");
6447 return NULL;
6448 }
6449 }
6450 {
6451 wxPy_BEGIN_ALLOW_THREADS;
6452 glTexCoord1iv(_arg0);
6453
6454 wxPy_END_ALLOW_THREADS;
6455 } Py_INCREF(Py_None);
6456 _resultobj = Py_None;
6457 return _resultobj;
6458 }
6459
6460 static PyObject *_wrap_glTexCoord1s(PyObject *self, PyObject *args, PyObject *kwargs) {
6461 PyObject * _resultobj;
6462 GLshort _arg0;
6463 char *_kwnames[] = { "s", NULL };
6464
6465 self = self;
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"h:glTexCoord1s",_kwnames,&_arg0))
6467 return NULL;
6468 {
6469 wxPy_BEGIN_ALLOW_THREADS;
6470 glTexCoord1s(_arg0);
6471
6472 wxPy_END_ALLOW_THREADS;
6473 } Py_INCREF(Py_None);
6474 _resultobj = Py_None;
6475 return _resultobj;
6476 }
6477
6478 static PyObject *_wrap_glTexCoord1sv(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject * _resultobj;
6480 GLshort * _arg0;
6481 PyObject * _argo0 = 0;
6482 char *_kwnames[] = { "v", NULL };
6483
6484 self = self;
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord1sv",_kwnames,&_argo0))
6486 return NULL;
6487 if (_argo0) {
6488 if (_argo0 == Py_None) { _arg0 = NULL; }
6489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
6490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1sv. Expected _GLshort_p.");
6491 return NULL;
6492 }
6493 }
6494 {
6495 wxPy_BEGIN_ALLOW_THREADS;
6496 glTexCoord1sv(_arg0);
6497
6498 wxPy_END_ALLOW_THREADS;
6499 } Py_INCREF(Py_None);
6500 _resultobj = Py_None;
6501 return _resultobj;
6502 }
6503
6504 static PyObject *_wrap_glTexCoord2d(PyObject *self, PyObject *args, PyObject *kwargs) {
6505 PyObject * _resultobj;
6506 GLdouble _arg0;
6507 GLdouble _arg1;
6508 char *_kwnames[] = { "s","t", NULL };
6509
6510 self = self;
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glTexCoord2d",_kwnames,&_arg0,&_arg1))
6512 return NULL;
6513 {
6514 wxPy_BEGIN_ALLOW_THREADS;
6515 glTexCoord2d(_arg0,_arg1);
6516
6517 wxPy_END_ALLOW_THREADS;
6518 } Py_INCREF(Py_None);
6519 _resultobj = Py_None;
6520 return _resultobj;
6521 }
6522
6523 static PyObject *_wrap_glTexCoord2dv(PyObject *self, PyObject *args, PyObject *kwargs) {
6524 PyObject * _resultobj;
6525 GLdouble * _arg0;
6526 PyObject * _argo0 = 0;
6527 char *_kwnames[] = { "v", NULL };
6528
6529 self = self;
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord2dv",_kwnames,&_argo0))
6531 return NULL;
6532 if (_argo0) {
6533 if (_argo0 == Py_None) { _arg0 = NULL; }
6534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
6535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2dv. Expected _GLdouble_p.");
6536 return NULL;
6537 }
6538 }
6539 {
6540 wxPy_BEGIN_ALLOW_THREADS;
6541 glTexCoord2dv(_arg0);
6542
6543 wxPy_END_ALLOW_THREADS;
6544 } Py_INCREF(Py_None);
6545 _resultobj = Py_None;
6546 return _resultobj;
6547 }
6548
6549 static PyObject *_wrap_glTexCoord2f(PyObject *self, PyObject *args, PyObject *kwargs) {
6550 PyObject * _resultobj;
6551 GLfloat _arg0;
6552 GLfloat _arg1;
6553 char *_kwnames[] = { "s","t", NULL };
6554
6555 self = self;
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glTexCoord2f",_kwnames,&_arg0,&_arg1))
6557 return NULL;
6558 {
6559 wxPy_BEGIN_ALLOW_THREADS;
6560 glTexCoord2f(_arg0,_arg1);
6561
6562 wxPy_END_ALLOW_THREADS;
6563 } Py_INCREF(Py_None);
6564 _resultobj = Py_None;
6565 return _resultobj;
6566 }
6567
6568 static PyObject *_wrap_glTexCoord2fv(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject * _resultobj;
6570 GLfloat * _arg0;
6571 PyObject * _argo0 = 0;
6572 char *_kwnames[] = { "v", NULL };
6573
6574 self = self;
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord2fv",_kwnames,&_argo0))
6576 return NULL;
6577 if (_argo0) {
6578 if (_argo0 == Py_None) { _arg0 = NULL; }
6579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
6580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2fv. Expected _GLfloat_p.");
6581 return NULL;
6582 }
6583 }
6584 {
6585 wxPy_BEGIN_ALLOW_THREADS;
6586 glTexCoord2fv(_arg0);
6587
6588 wxPy_END_ALLOW_THREADS;
6589 } Py_INCREF(Py_None);
6590 _resultobj = Py_None;
6591 return _resultobj;
6592 }
6593
6594 static PyObject *_wrap_glTexCoord2i(PyObject *self, PyObject *args, PyObject *kwargs) {
6595 PyObject * _resultobj;
6596 GLint _arg0;
6597 GLint _arg1;
6598 char *_kwnames[] = { "s","t", NULL };
6599
6600 self = self;
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glTexCoord2i",_kwnames,&_arg0,&_arg1))
6602 return NULL;
6603 {
6604 wxPy_BEGIN_ALLOW_THREADS;
6605 glTexCoord2i(_arg0,_arg1);
6606
6607 wxPy_END_ALLOW_THREADS;
6608 } Py_INCREF(Py_None);
6609 _resultobj = Py_None;
6610 return _resultobj;
6611 }
6612
6613 static PyObject *_wrap_glTexCoord2iv(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject * _resultobj;
6615 GLint * _arg0;
6616 PyObject * _argo0 = 0;
6617 char *_kwnames[] = { "v", NULL };
6618
6619 self = self;
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord2iv",_kwnames,&_argo0))
6621 return NULL;
6622 if (_argo0) {
6623 if (_argo0 == Py_None) { _arg0 = NULL; }
6624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
6625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2iv. Expected _GLint_p.");
6626 return NULL;
6627 }
6628 }
6629 {
6630 wxPy_BEGIN_ALLOW_THREADS;
6631 glTexCoord2iv(_arg0);
6632
6633 wxPy_END_ALLOW_THREADS;
6634 } Py_INCREF(Py_None);
6635 _resultobj = Py_None;
6636 return _resultobj;
6637 }
6638
6639 static PyObject *_wrap_glTexCoord2s(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject * _resultobj;
6641 GLshort _arg0;
6642 GLshort _arg1;
6643 char *_kwnames[] = { "s","t", NULL };
6644
6645 self = self;
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hh:glTexCoord2s",_kwnames,&_arg0,&_arg1))
6647 return NULL;
6648 {
6649 wxPy_BEGIN_ALLOW_THREADS;
6650 glTexCoord2s(_arg0,_arg1);
6651
6652 wxPy_END_ALLOW_THREADS;
6653 } Py_INCREF(Py_None);
6654 _resultobj = Py_None;
6655 return _resultobj;
6656 }
6657
6658 static PyObject *_wrap_glTexCoord2sv(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject * _resultobj;
6660 GLshort * _arg0;
6661 PyObject * _argo0 = 0;
6662 char *_kwnames[] = { "v", NULL };
6663
6664 self = self;
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord2sv",_kwnames,&_argo0))
6666 return NULL;
6667 if (_argo0) {
6668 if (_argo0 == Py_None) { _arg0 = NULL; }
6669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
6670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2sv. Expected _GLshort_p.");
6671 return NULL;
6672 }
6673 }
6674 {
6675 wxPy_BEGIN_ALLOW_THREADS;
6676 glTexCoord2sv(_arg0);
6677
6678 wxPy_END_ALLOW_THREADS;
6679 } Py_INCREF(Py_None);
6680 _resultobj = Py_None;
6681 return _resultobj;
6682 }
6683
6684 static PyObject *_wrap_glTexCoord3d(PyObject *self, PyObject *args, PyObject *kwargs) {
6685 PyObject * _resultobj;
6686 GLdouble _arg0;
6687 GLdouble _arg1;
6688 GLdouble _arg2;
6689 char *_kwnames[] = { "s","t","r", NULL };
6690
6691 self = self;
6692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glTexCoord3d",_kwnames,&_arg0,&_arg1,&_arg2))
6693 return NULL;
6694 {
6695 wxPy_BEGIN_ALLOW_THREADS;
6696 glTexCoord3d(_arg0,_arg1,_arg2);
6697
6698 wxPy_END_ALLOW_THREADS;
6699 } Py_INCREF(Py_None);
6700 _resultobj = Py_None;
6701 return _resultobj;
6702 }
6703
6704 static PyObject *_wrap_glTexCoord3dv(PyObject *self, PyObject *args, PyObject *kwargs) {
6705 PyObject * _resultobj;
6706 GLdouble * _arg0;
6707 PyObject * _argo0 = 0;
6708 char *_kwnames[] = { "v", NULL };
6709
6710 self = self;
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord3dv",_kwnames,&_argo0))
6712 return NULL;
6713 if (_argo0) {
6714 if (_argo0 == Py_None) { _arg0 = NULL; }
6715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
6716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3dv. Expected _GLdouble_p.");
6717 return NULL;
6718 }
6719 }
6720 {
6721 wxPy_BEGIN_ALLOW_THREADS;
6722 glTexCoord3dv(_arg0);
6723
6724 wxPy_END_ALLOW_THREADS;
6725 } Py_INCREF(Py_None);
6726 _resultobj = Py_None;
6727 return _resultobj;
6728 }
6729
6730 static PyObject *_wrap_glTexCoord3f(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject * _resultobj;
6732 GLfloat _arg0;
6733 GLfloat _arg1;
6734 GLfloat _arg2;
6735 char *_kwnames[] = { "s","t","r", NULL };
6736
6737 self = self;
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glTexCoord3f",_kwnames,&_arg0,&_arg1,&_arg2))
6739 return NULL;
6740 {
6741 wxPy_BEGIN_ALLOW_THREADS;
6742 glTexCoord3f(_arg0,_arg1,_arg2);
6743
6744 wxPy_END_ALLOW_THREADS;
6745 } Py_INCREF(Py_None);
6746 _resultobj = Py_None;
6747 return _resultobj;
6748 }
6749
6750 static PyObject *_wrap_glTexCoord3fv(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject * _resultobj;
6752 GLfloat * _arg0;
6753 PyObject * _argo0 = 0;
6754 char *_kwnames[] = { "v", NULL };
6755
6756 self = self;
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord3fv",_kwnames,&_argo0))
6758 return NULL;
6759 if (_argo0) {
6760 if (_argo0 == Py_None) { _arg0 = NULL; }
6761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
6762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3fv. Expected _GLfloat_p.");
6763 return NULL;
6764 }
6765 }
6766 {
6767 wxPy_BEGIN_ALLOW_THREADS;
6768 glTexCoord3fv(_arg0);
6769
6770 wxPy_END_ALLOW_THREADS;
6771 } Py_INCREF(Py_None);
6772 _resultobj = Py_None;
6773 return _resultobj;
6774 }
6775
6776 static PyObject *_wrap_glTexCoord3i(PyObject *self, PyObject *args, PyObject *kwargs) {
6777 PyObject * _resultobj;
6778 GLint _arg0;
6779 GLint _arg1;
6780 GLint _arg2;
6781 char *_kwnames[] = { "s","t","r", NULL };
6782
6783 self = self;
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glTexCoord3i",_kwnames,&_arg0,&_arg1,&_arg2))
6785 return NULL;
6786 {
6787 wxPy_BEGIN_ALLOW_THREADS;
6788 glTexCoord3i(_arg0,_arg1,_arg2);
6789
6790 wxPy_END_ALLOW_THREADS;
6791 } Py_INCREF(Py_None);
6792 _resultobj = Py_None;
6793 return _resultobj;
6794 }
6795
6796 static PyObject *_wrap_glTexCoord3iv(PyObject *self, PyObject *args, PyObject *kwargs) {
6797 PyObject * _resultobj;
6798 GLint * _arg0;
6799 PyObject * _argo0 = 0;
6800 char *_kwnames[] = { "v", NULL };
6801
6802 self = self;
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord3iv",_kwnames,&_argo0))
6804 return NULL;
6805 if (_argo0) {
6806 if (_argo0 == Py_None) { _arg0 = NULL; }
6807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
6808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3iv. Expected _GLint_p.");
6809 return NULL;
6810 }
6811 }
6812 {
6813 wxPy_BEGIN_ALLOW_THREADS;
6814 glTexCoord3iv(_arg0);
6815
6816 wxPy_END_ALLOW_THREADS;
6817 } Py_INCREF(Py_None);
6818 _resultobj = Py_None;
6819 return _resultobj;
6820 }
6821
6822 static PyObject *_wrap_glTexCoord3s(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject * _resultobj;
6824 GLshort _arg0;
6825 GLshort _arg1;
6826 GLshort _arg2;
6827 char *_kwnames[] = { "s","t","r", NULL };
6828
6829 self = self;
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glTexCoord3s",_kwnames,&_arg0,&_arg1,&_arg2))
6831 return NULL;
6832 {
6833 wxPy_BEGIN_ALLOW_THREADS;
6834 glTexCoord3s(_arg0,_arg1,_arg2);
6835
6836 wxPy_END_ALLOW_THREADS;
6837 } Py_INCREF(Py_None);
6838 _resultobj = Py_None;
6839 return _resultobj;
6840 }
6841
6842 static PyObject *_wrap_glTexCoord3sv(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject * _resultobj;
6844 GLshort * _arg0;
6845 PyObject * _argo0 = 0;
6846 char *_kwnames[] = { "v", NULL };
6847
6848 self = self;
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord3sv",_kwnames,&_argo0))
6850 return NULL;
6851 if (_argo0) {
6852 if (_argo0 == Py_None) { _arg0 = NULL; }
6853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
6854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3sv. Expected _GLshort_p.");
6855 return NULL;
6856 }
6857 }
6858 {
6859 wxPy_BEGIN_ALLOW_THREADS;
6860 glTexCoord3sv(_arg0);
6861
6862 wxPy_END_ALLOW_THREADS;
6863 } Py_INCREF(Py_None);
6864 _resultobj = Py_None;
6865 return _resultobj;
6866 }
6867
6868 static PyObject *_wrap_glTexCoord4d(PyObject *self, PyObject *args, PyObject *kwargs) {
6869 PyObject * _resultobj;
6870 GLdouble _arg0;
6871 GLdouble _arg1;
6872 GLdouble _arg2;
6873 GLdouble _arg3;
6874 char *_kwnames[] = { "s","t","r","q", NULL };
6875
6876 self = self;
6877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glTexCoord4d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6878 return NULL;
6879 {
6880 wxPy_BEGIN_ALLOW_THREADS;
6881 glTexCoord4d(_arg0,_arg1,_arg2,_arg3);
6882
6883 wxPy_END_ALLOW_THREADS;
6884 } Py_INCREF(Py_None);
6885 _resultobj = Py_None;
6886 return _resultobj;
6887 }
6888
6889 static PyObject *_wrap_glTexCoord4dv(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject * _resultobj;
6891 GLdouble * _arg0;
6892 PyObject * _argo0 = 0;
6893 char *_kwnames[] = { "v", NULL };
6894
6895 self = self;
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord4dv",_kwnames,&_argo0))
6897 return NULL;
6898 if (_argo0) {
6899 if (_argo0 == Py_None) { _arg0 = NULL; }
6900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
6901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4dv. Expected _GLdouble_p.");
6902 return NULL;
6903 }
6904 }
6905 {
6906 wxPy_BEGIN_ALLOW_THREADS;
6907 glTexCoord4dv(_arg0);
6908
6909 wxPy_END_ALLOW_THREADS;
6910 } Py_INCREF(Py_None);
6911 _resultobj = Py_None;
6912 return _resultobj;
6913 }
6914
6915 static PyObject *_wrap_glTexCoord4f(PyObject *self, PyObject *args, PyObject *kwargs) {
6916 PyObject * _resultobj;
6917 GLfloat _arg0;
6918 GLfloat _arg1;
6919 GLfloat _arg2;
6920 GLfloat _arg3;
6921 char *_kwnames[] = { "s","t","r","q", NULL };
6922
6923 self = self;
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glTexCoord4f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6925 return NULL;
6926 {
6927 wxPy_BEGIN_ALLOW_THREADS;
6928 glTexCoord4f(_arg0,_arg1,_arg2,_arg3);
6929
6930 wxPy_END_ALLOW_THREADS;
6931 } Py_INCREF(Py_None);
6932 _resultobj = Py_None;
6933 return _resultobj;
6934 }
6935
6936 static PyObject *_wrap_glTexCoord4fv(PyObject *self, PyObject *args, PyObject *kwargs) {
6937 PyObject * _resultobj;
6938 GLfloat * _arg0;
6939 PyObject * _argo0 = 0;
6940 char *_kwnames[] = { "v", NULL };
6941
6942 self = self;
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord4fv",_kwnames,&_argo0))
6944 return NULL;
6945 if (_argo0) {
6946 if (_argo0 == Py_None) { _arg0 = NULL; }
6947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
6948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4fv. Expected _GLfloat_p.");
6949 return NULL;
6950 }
6951 }
6952 {
6953 wxPy_BEGIN_ALLOW_THREADS;
6954 glTexCoord4fv(_arg0);
6955
6956 wxPy_END_ALLOW_THREADS;
6957 } Py_INCREF(Py_None);
6958 _resultobj = Py_None;
6959 return _resultobj;
6960 }
6961
6962 static PyObject *_wrap_glTexCoord4i(PyObject *self, PyObject *args, PyObject *kwargs) {
6963 PyObject * _resultobj;
6964 GLint _arg0;
6965 GLint _arg1;
6966 GLint _arg2;
6967 GLint _arg3;
6968 char *_kwnames[] = { "s","t","r","q", NULL };
6969
6970 self = self;
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glTexCoord4i",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
6972 return NULL;
6973 {
6974 wxPy_BEGIN_ALLOW_THREADS;
6975 glTexCoord4i(_arg0,_arg1,_arg2,_arg3);
6976
6977 wxPy_END_ALLOW_THREADS;
6978 } Py_INCREF(Py_None);
6979 _resultobj = Py_None;
6980 return _resultobj;
6981 }
6982
6983 static PyObject *_wrap_glTexCoord4iv(PyObject *self, PyObject *args, PyObject *kwargs) {
6984 PyObject * _resultobj;
6985 GLint * _arg0;
6986 PyObject * _argo0 = 0;
6987 char *_kwnames[] = { "v", NULL };
6988
6989 self = self;
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord4iv",_kwnames,&_argo0))
6991 return NULL;
6992 if (_argo0) {
6993 if (_argo0 == Py_None) { _arg0 = NULL; }
6994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
6995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4iv. Expected _GLint_p.");
6996 return NULL;
6997 }
6998 }
6999 {
7000 wxPy_BEGIN_ALLOW_THREADS;
7001 glTexCoord4iv(_arg0);
7002
7003 wxPy_END_ALLOW_THREADS;
7004 } Py_INCREF(Py_None);
7005 _resultobj = Py_None;
7006 return _resultobj;
7007 }
7008
7009 static PyObject *_wrap_glTexCoord4s(PyObject *self, PyObject *args, PyObject *kwargs) {
7010 PyObject * _resultobj;
7011 GLshort _arg0;
7012 GLshort _arg1;
7013 GLshort _arg2;
7014 GLshort _arg3;
7015 char *_kwnames[] = { "s","t","r","q", NULL };
7016
7017 self = self;
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glTexCoord4s",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
7019 return NULL;
7020 {
7021 wxPy_BEGIN_ALLOW_THREADS;
7022 glTexCoord4s(_arg0,_arg1,_arg2,_arg3);
7023
7024 wxPy_END_ALLOW_THREADS;
7025 } Py_INCREF(Py_None);
7026 _resultobj = Py_None;
7027 return _resultobj;
7028 }
7029
7030 static PyObject *_wrap_glTexCoord4sv(PyObject *self, PyObject *args, PyObject *kwargs) {
7031 PyObject * _resultobj;
7032 GLshort * _arg0;
7033 PyObject * _argo0 = 0;
7034 char *_kwnames[] = { "v", NULL };
7035
7036 self = self;
7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord4sv",_kwnames,&_argo0))
7038 return NULL;
7039 if (_argo0) {
7040 if (_argo0 == Py_None) { _arg0 = NULL; }
7041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
7042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4sv. Expected _GLshort_p.");
7043 return NULL;
7044 }
7045 }
7046 {
7047 wxPy_BEGIN_ALLOW_THREADS;
7048 glTexCoord4sv(_arg0);
7049
7050 wxPy_END_ALLOW_THREADS;
7051 } Py_INCREF(Py_None);
7052 _resultobj = Py_None;
7053 return _resultobj;
7054 }
7055
7056 static PyObject *_wrap_glTexCoordPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject * _resultobj;
7058 GLint _arg0;
7059 GLenum _arg1;
7060 GLsizei _arg2;
7061 GLvoid * _arg3;
7062 PyObject * _argo3 = 0;
7063 char *_kwnames[] = { "size","type","stride","pointer", NULL };
7064
7065 self = self;
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glTexCoordPointer",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
7067 return NULL;
7068 if (_argo3) {
7069 if (_argo3 == Py_None) { _arg3 = NULL; }
7070 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
7071 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glTexCoordPointer. Expected _GLvoid_p.");
7072 return NULL;
7073 }
7074 }
7075 {
7076 wxPy_BEGIN_ALLOW_THREADS;
7077 glTexCoordPointer(_arg0,_arg1,_arg2,_arg3);
7078
7079 wxPy_END_ALLOW_THREADS;
7080 } Py_INCREF(Py_None);
7081 _resultobj = Py_None;
7082 return _resultobj;
7083 }
7084
7085 static PyObject *_wrap_glTexEnvf(PyObject *self, PyObject *args, PyObject *kwargs) {
7086 PyObject * _resultobj;
7087 GLenum _arg0;
7088 GLenum _arg1;
7089 GLfloat _arg2;
7090 char *_kwnames[] = { "target","pname","param", NULL };
7091
7092 self = self;
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glTexEnvf",_kwnames,&_arg0,&_arg1,&_arg2))
7094 return NULL;
7095 {
7096 wxPy_BEGIN_ALLOW_THREADS;
7097 glTexEnvf(_arg0,_arg1,_arg2);
7098
7099 wxPy_END_ALLOW_THREADS;
7100 } Py_INCREF(Py_None);
7101 _resultobj = Py_None;
7102 return _resultobj;
7103 }
7104
7105 static PyObject *_wrap_glTexEnvfv(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject * _resultobj;
7107 GLenum _arg0;
7108 GLenum _arg1;
7109 GLfloat * _arg2;
7110 PyObject * _argo2 = 0;
7111 char *_kwnames[] = { "target","pname","params", NULL };
7112
7113 self = self;
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexEnvfv",_kwnames,&_arg0,&_arg1,&_argo2))
7115 return NULL;
7116 if (_argo2) {
7117 if (_argo2 == Py_None) { _arg2 = NULL; }
7118 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
7119 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexEnvfv. Expected _GLfloat_p.");
7120 return NULL;
7121 }
7122 }
7123 {
7124 wxPy_BEGIN_ALLOW_THREADS;
7125 glTexEnvfv(_arg0,_arg1,_arg2);
7126
7127 wxPy_END_ALLOW_THREADS;
7128 } Py_INCREF(Py_None);
7129 _resultobj = Py_None;
7130 return _resultobj;
7131 }
7132
7133 static PyObject *_wrap_glTexEnvi(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject * _resultobj;
7135 GLenum _arg0;
7136 GLenum _arg1;
7137 GLint _arg2;
7138 char *_kwnames[] = { "target","pname","param", NULL };
7139
7140 self = self;
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glTexEnvi",_kwnames,&_arg0,&_arg1,&_arg2))
7142 return NULL;
7143 {
7144 wxPy_BEGIN_ALLOW_THREADS;
7145 glTexEnvi(_arg0,_arg1,_arg2);
7146
7147 wxPy_END_ALLOW_THREADS;
7148 } Py_INCREF(Py_None);
7149 _resultobj = Py_None;
7150 return _resultobj;
7151 }
7152
7153 static PyObject *_wrap_glTexEnviv(PyObject *self, PyObject *args, PyObject *kwargs) {
7154 PyObject * _resultobj;
7155 GLenum _arg0;
7156 GLenum _arg1;
7157 GLint * _arg2;
7158 PyObject * _argo2 = 0;
7159 char *_kwnames[] = { "target","pname","params", NULL };
7160
7161 self = self;
7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexEnviv",_kwnames,&_arg0,&_arg1,&_argo2))
7163 return NULL;
7164 if (_argo2) {
7165 if (_argo2 == Py_None) { _arg2 = NULL; }
7166 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
7167 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexEnviv. Expected _GLint_p.");
7168 return NULL;
7169 }
7170 }
7171 {
7172 wxPy_BEGIN_ALLOW_THREADS;
7173 glTexEnviv(_arg0,_arg1,_arg2);
7174
7175 wxPy_END_ALLOW_THREADS;
7176 } Py_INCREF(Py_None);
7177 _resultobj = Py_None;
7178 return _resultobj;
7179 }
7180
7181 static PyObject *_wrap_glTexGend(PyObject *self, PyObject *args, PyObject *kwargs) {
7182 PyObject * _resultobj;
7183 GLenum _arg0;
7184 GLenum _arg1;
7185 GLdouble _arg2;
7186 char *_kwnames[] = { "coord","pname","param", NULL };
7187
7188 self = self;
7189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iid:glTexGend",_kwnames,&_arg0,&_arg1,&_arg2))
7190 return NULL;
7191 {
7192 wxPy_BEGIN_ALLOW_THREADS;
7193 glTexGend(_arg0,_arg1,_arg2);
7194
7195 wxPy_END_ALLOW_THREADS;
7196 } Py_INCREF(Py_None);
7197 _resultobj = Py_None;
7198 return _resultobj;
7199 }
7200
7201 static PyObject *_wrap_glTexGendv(PyObject *self, PyObject *args, PyObject *kwargs) {
7202 PyObject * _resultobj;
7203 GLenum _arg0;
7204 GLenum _arg1;
7205 GLdouble * _arg2;
7206 PyObject * _argo2 = 0;
7207 char *_kwnames[] = { "coord","pname","params", NULL };
7208
7209 self = self;
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexGendv",_kwnames,&_arg0,&_arg1,&_argo2))
7211 return NULL;
7212 if (_argo2) {
7213 if (_argo2 == Py_None) { _arg2 = NULL; }
7214 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) {
7215 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGendv. Expected _GLdouble_p.");
7216 return NULL;
7217 }
7218 }
7219 {
7220 wxPy_BEGIN_ALLOW_THREADS;
7221 glTexGendv(_arg0,_arg1,_arg2);
7222
7223 wxPy_END_ALLOW_THREADS;
7224 } Py_INCREF(Py_None);
7225 _resultobj = Py_None;
7226 return _resultobj;
7227 }
7228
7229 static PyObject *_wrap_glTexGenf(PyObject *self, PyObject *args, PyObject *kwargs) {
7230 PyObject * _resultobj;
7231 GLenum _arg0;
7232 GLenum _arg1;
7233 GLfloat _arg2;
7234 char *_kwnames[] = { "coord","pname","param", NULL };
7235
7236 self = self;
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glTexGenf",_kwnames,&_arg0,&_arg1,&_arg2))
7238 return NULL;
7239 {
7240 wxPy_BEGIN_ALLOW_THREADS;
7241 glTexGenf(_arg0,_arg1,_arg2);
7242
7243 wxPy_END_ALLOW_THREADS;
7244 } Py_INCREF(Py_None);
7245 _resultobj = Py_None;
7246 return _resultobj;
7247 }
7248
7249 static PyObject *_wrap_glTexGenfv(PyObject *self, PyObject *args, PyObject *kwargs) {
7250 PyObject * _resultobj;
7251 GLenum _arg0;
7252 GLenum _arg1;
7253 GLfloat * _arg2;
7254 PyObject * _argo2 = 0;
7255 char *_kwnames[] = { "coord","pname","params", NULL };
7256
7257 self = self;
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexGenfv",_kwnames,&_arg0,&_arg1,&_argo2))
7259 return NULL;
7260 if (_argo2) {
7261 if (_argo2 == Py_None) { _arg2 = NULL; }
7262 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
7263 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGenfv. Expected _GLfloat_p.");
7264 return NULL;
7265 }
7266 }
7267 {
7268 wxPy_BEGIN_ALLOW_THREADS;
7269 glTexGenfv(_arg0,_arg1,_arg2);
7270
7271 wxPy_END_ALLOW_THREADS;
7272 } Py_INCREF(Py_None);
7273 _resultobj = Py_None;
7274 return _resultobj;
7275 }
7276
7277 static PyObject *_wrap_glTexGeni(PyObject *self, PyObject *args, PyObject *kwargs) {
7278 PyObject * _resultobj;
7279 GLenum _arg0;
7280 GLenum _arg1;
7281 GLint _arg2;
7282 char *_kwnames[] = { "coord","pname","param", NULL };
7283
7284 self = self;
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glTexGeni",_kwnames,&_arg0,&_arg1,&_arg2))
7286 return NULL;
7287 {
7288 wxPy_BEGIN_ALLOW_THREADS;
7289 glTexGeni(_arg0,_arg1,_arg2);
7290
7291 wxPy_END_ALLOW_THREADS;
7292 } Py_INCREF(Py_None);
7293 _resultobj = Py_None;
7294 return _resultobj;
7295 }
7296
7297 static PyObject *_wrap_glTexGeniv(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject * _resultobj;
7299 GLenum _arg0;
7300 GLenum _arg1;
7301 GLint * _arg2;
7302 PyObject * _argo2 = 0;
7303 char *_kwnames[] = { "coord","pname","params", NULL };
7304
7305 self = self;
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexGeniv",_kwnames,&_arg0,&_arg1,&_argo2))
7307 return NULL;
7308 if (_argo2) {
7309 if (_argo2 == Py_None) { _arg2 = NULL; }
7310 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
7311 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGeniv. Expected _GLint_p.");
7312 return NULL;
7313 }
7314 }
7315 {
7316 wxPy_BEGIN_ALLOW_THREADS;
7317 glTexGeniv(_arg0,_arg1,_arg2);
7318
7319 wxPy_END_ALLOW_THREADS;
7320 } Py_INCREF(Py_None);
7321 _resultobj = Py_None;
7322 return _resultobj;
7323 }
7324
7325 static PyObject *_wrap_glTexImage1D(PyObject *self, PyObject *args, PyObject *kwargs) {
7326 PyObject * _resultobj;
7327 GLenum _arg0;
7328 GLint _arg1;
7329 GLint _arg2;
7330 GLsizei _arg3;
7331 GLint _arg4;
7332 GLenum _arg5;
7333 GLenum _arg6;
7334 GLvoid * _arg7;
7335 PyObject * _argo7 = 0;
7336 char *_kwnames[] = { "target","level","internalformat","width","border","format","type","pixels", NULL };
7337
7338 self = self;
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiiO:glTexImage1D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_argo7))
7340 return NULL;
7341 if (_argo7) {
7342 if (_argo7 == Py_None) { _arg7 = NULL; }
7343 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,(char *) 0 )) {
7344 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of glTexImage1D. Expected _GLvoid_p.");
7345 return NULL;
7346 }
7347 }
7348 {
7349 wxPy_BEGIN_ALLOW_THREADS;
7350 glTexImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
7351
7352 wxPy_END_ALLOW_THREADS;
7353 } Py_INCREF(Py_None);
7354 _resultobj = Py_None;
7355 return _resultobj;
7356 }
7357
7358 static PyObject *_wrap_glTexImage2D(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject * _resultobj;
7360 GLenum _arg0;
7361 GLint _arg1;
7362 GLint _arg2;
7363 GLsizei _arg3;
7364 GLsizei _arg4;
7365 GLint _arg5;
7366 GLenum _arg6;
7367 GLenum _arg7;
7368 GLvoid * _arg8;
7369 PyObject * _argo8 = 0;
7370 char *_kwnames[] = { "target","level","internalformat","width","height","border","format","type","pixels", NULL };
7371
7372 self = self;
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiiiO:glTexImage2D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_argo8))
7374 return NULL;
7375 if (_argo8) {
7376 if (_argo8 == Py_None) { _arg8 = NULL; }
7377 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,(char *) 0 )) {
7378 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of glTexImage2D. Expected _GLvoid_p.");
7379 return NULL;
7380 }
7381 }
7382 {
7383 wxPy_BEGIN_ALLOW_THREADS;
7384 glTexImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
7385
7386 wxPy_END_ALLOW_THREADS;
7387 } Py_INCREF(Py_None);
7388 _resultobj = Py_None;
7389 return _resultobj;
7390 }
7391
7392 static PyObject *_wrap_glTexParameterf(PyObject *self, PyObject *args, PyObject *kwargs) {
7393 PyObject * _resultobj;
7394 GLenum _arg0;
7395 GLenum _arg1;
7396 GLfloat _arg2;
7397 char *_kwnames[] = { "target","pname","param", NULL };
7398
7399 self = self;
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glTexParameterf",_kwnames,&_arg0,&_arg1,&_arg2))
7401 return NULL;
7402 {
7403 wxPy_BEGIN_ALLOW_THREADS;
7404 glTexParameterf(_arg0,_arg1,_arg2);
7405
7406 wxPy_END_ALLOW_THREADS;
7407 } Py_INCREF(Py_None);
7408 _resultobj = Py_None;
7409 return _resultobj;
7410 }
7411
7412 static PyObject *_wrap_glTexParameterfv(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject * _resultobj;
7414 GLenum _arg0;
7415 GLenum _arg1;
7416 GLfloat * _arg2;
7417 PyObject * _argo2 = 0;
7418 char *_kwnames[] = { "target","pname","params", NULL };
7419
7420 self = self;
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexParameterfv",_kwnames,&_arg0,&_arg1,&_argo2))
7422 return NULL;
7423 if (_argo2) {
7424 if (_argo2 == Py_None) { _arg2 = NULL; }
7425 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) {
7426 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexParameterfv. Expected _GLfloat_p.");
7427 return NULL;
7428 }
7429 }
7430 {
7431 wxPy_BEGIN_ALLOW_THREADS;
7432 glTexParameterfv(_arg0,_arg1,_arg2);
7433
7434 wxPy_END_ALLOW_THREADS;
7435 } Py_INCREF(Py_None);
7436 _resultobj = Py_None;
7437 return _resultobj;
7438 }
7439
7440 static PyObject *_wrap_glTexParameteri(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject * _resultobj;
7442 GLenum _arg0;
7443 GLenum _arg1;
7444 GLint _arg2;
7445 char *_kwnames[] = { "target","pname","param", NULL };
7446
7447 self = self;
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glTexParameteri",_kwnames,&_arg0,&_arg1,&_arg2))
7449 return NULL;
7450 {
7451 wxPy_BEGIN_ALLOW_THREADS;
7452 glTexParameteri(_arg0,_arg1,_arg2);
7453
7454 wxPy_END_ALLOW_THREADS;
7455 } Py_INCREF(Py_None);
7456 _resultobj = Py_None;
7457 return _resultobj;
7458 }
7459
7460 static PyObject *_wrap_glTexParameteriv(PyObject *self, PyObject *args, PyObject *kwargs) {
7461 PyObject * _resultobj;
7462 GLenum _arg0;
7463 GLenum _arg1;
7464 GLint * _arg2;
7465 PyObject * _argo2 = 0;
7466 char *_kwnames[] = { "target","pname","params", NULL };
7467
7468 self = self;
7469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexParameteriv",_kwnames,&_arg0,&_arg1,&_argo2))
7470 return NULL;
7471 if (_argo2) {
7472 if (_argo2 == Py_None) { _arg2 = NULL; }
7473 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) {
7474 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexParameteriv. Expected _GLint_p.");
7475 return NULL;
7476 }
7477 }
7478 {
7479 wxPy_BEGIN_ALLOW_THREADS;
7480 glTexParameteriv(_arg0,_arg1,_arg2);
7481
7482 wxPy_END_ALLOW_THREADS;
7483 } Py_INCREF(Py_None);
7484 _resultobj = Py_None;
7485 return _resultobj;
7486 }
7487
7488 static PyObject *_wrap_glTexSubImage1D(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject * _resultobj;
7490 GLenum _arg0;
7491 GLint _arg1;
7492 GLint _arg2;
7493 GLsizei _arg3;
7494 GLenum _arg4;
7495 GLenum _arg5;
7496 GLvoid * _arg6;
7497 PyObject * _argo6 = 0;
7498 char *_kwnames[] = { "target","level","xoffset","width","format","type","pixels", NULL };
7499
7500 self = self;
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiO:glTexSubImage1D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6))
7502 return NULL;
7503 if (_argo6) {
7504 if (_argo6 == Py_None) { _arg6 = NULL; }
7505 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,(char *) 0 )) {
7506 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glTexSubImage1D. Expected _GLvoid_p.");
7507 return NULL;
7508 }
7509 }
7510 {
7511 wxPy_BEGIN_ALLOW_THREADS;
7512 glTexSubImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7513
7514 wxPy_END_ALLOW_THREADS;
7515 } Py_INCREF(Py_None);
7516 _resultobj = Py_None;
7517 return _resultobj;
7518 }
7519
7520 static PyObject *_wrap_glTexSubImage2D(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject * _resultobj;
7522 GLenum _arg0;
7523 GLint _arg1;
7524 GLint _arg2;
7525 GLint _arg3;
7526 GLsizei _arg4;
7527 GLsizei _arg5;
7528 GLenum _arg6;
7529 GLenum _arg7;
7530 GLvoid * _arg8;
7531 PyObject * _argo8 = 0;
7532 char *_kwnames[] = { "target","level","xoffset","yoffset","width","height","format","type","pixels", NULL };
7533
7534 self = self;
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiiiO:glTexSubImage2D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_argo8))
7536 return NULL;
7537 if (_argo8) {
7538 if (_argo8 == Py_None) { _arg8 = NULL; }
7539 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,(char *) 0 )) {
7540 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of glTexSubImage2D. Expected _GLvoid_p.");
7541 return NULL;
7542 }
7543 }
7544 {
7545 wxPy_BEGIN_ALLOW_THREADS;
7546 glTexSubImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
7547
7548 wxPy_END_ALLOW_THREADS;
7549 } Py_INCREF(Py_None);
7550 _resultobj = Py_None;
7551 return _resultobj;
7552 }
7553
7554 static PyObject *_wrap_glTranslated(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject * _resultobj;
7556 GLdouble _arg0;
7557 GLdouble _arg1;
7558 GLdouble _arg2;
7559 char *_kwnames[] = { "x","y","z", NULL };
7560
7561 self = self;
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glTranslated",_kwnames,&_arg0,&_arg1,&_arg2))
7563 return NULL;
7564 {
7565 wxPy_BEGIN_ALLOW_THREADS;
7566 glTranslated(_arg0,_arg1,_arg2);
7567
7568 wxPy_END_ALLOW_THREADS;
7569 } Py_INCREF(Py_None);
7570 _resultobj = Py_None;
7571 return _resultobj;
7572 }
7573
7574 static PyObject *_wrap_glTranslatef(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject * _resultobj;
7576 GLfloat _arg0;
7577 GLfloat _arg1;
7578 GLfloat _arg2;
7579 char *_kwnames[] = { "x","y","z", NULL };
7580
7581 self = self;
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glTranslatef",_kwnames,&_arg0,&_arg1,&_arg2))
7583 return NULL;
7584 {
7585 wxPy_BEGIN_ALLOW_THREADS;
7586 glTranslatef(_arg0,_arg1,_arg2);
7587
7588 wxPy_END_ALLOW_THREADS;
7589 } Py_INCREF(Py_None);
7590 _resultobj = Py_None;
7591 return _resultobj;
7592 }
7593
7594 static PyObject *_wrap_glVertex2d(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject * _resultobj;
7596 GLdouble _arg0;
7597 GLdouble _arg1;
7598 char *_kwnames[] = { "x","y", NULL };
7599
7600 self = self;
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glVertex2d",_kwnames,&_arg0,&_arg1))
7602 return NULL;
7603 {
7604 wxPy_BEGIN_ALLOW_THREADS;
7605 glVertex2d(_arg0,_arg1);
7606
7607 wxPy_END_ALLOW_THREADS;
7608 } Py_INCREF(Py_None);
7609 _resultobj = Py_None;
7610 return _resultobj;
7611 }
7612
7613 static PyObject *_wrap_glVertex2dv(PyObject *self, PyObject *args, PyObject *kwargs) {
7614 PyObject * _resultobj;
7615 GLdouble * _arg0;
7616 PyObject * _argo0 = 0;
7617 char *_kwnames[] = { "v", NULL };
7618
7619 self = self;
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex2dv",_kwnames,&_argo0))
7621 return NULL;
7622 if (_argo0) {
7623 if (_argo0 == Py_None) { _arg0 = NULL; }
7624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
7625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2dv. Expected _GLdouble_p.");
7626 return NULL;
7627 }
7628 }
7629 {
7630 wxPy_BEGIN_ALLOW_THREADS;
7631 glVertex2dv(_arg0);
7632
7633 wxPy_END_ALLOW_THREADS;
7634 } Py_INCREF(Py_None);
7635 _resultobj = Py_None;
7636 return _resultobj;
7637 }
7638
7639 static PyObject *_wrap_glVertex2f(PyObject *self, PyObject *args, PyObject *kwargs) {
7640 PyObject * _resultobj;
7641 GLfloat _arg0;
7642 GLfloat _arg1;
7643 char *_kwnames[] = { "x","y", NULL };
7644
7645 self = self;
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glVertex2f",_kwnames,&_arg0,&_arg1))
7647 return NULL;
7648 {
7649 wxPy_BEGIN_ALLOW_THREADS;
7650 glVertex2f(_arg0,_arg1);
7651
7652 wxPy_END_ALLOW_THREADS;
7653 } Py_INCREF(Py_None);
7654 _resultobj = Py_None;
7655 return _resultobj;
7656 }
7657
7658 static PyObject *_wrap_glVertex2fv(PyObject *self, PyObject *args, PyObject *kwargs) {
7659 PyObject * _resultobj;
7660 GLfloat * _arg0;
7661 PyObject * _argo0 = 0;
7662 char *_kwnames[] = { "v", NULL };
7663
7664 self = self;
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex2fv",_kwnames,&_argo0))
7666 return NULL;
7667 if (_argo0) {
7668 if (_argo0 == Py_None) { _arg0 = NULL; }
7669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
7670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2fv. Expected _GLfloat_p.");
7671 return NULL;
7672 }
7673 }
7674 {
7675 wxPy_BEGIN_ALLOW_THREADS;
7676 glVertex2fv(_arg0);
7677
7678 wxPy_END_ALLOW_THREADS;
7679 } Py_INCREF(Py_None);
7680 _resultobj = Py_None;
7681 return _resultobj;
7682 }
7683
7684 static PyObject *_wrap_glVertex2i(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject * _resultobj;
7686 GLint _arg0;
7687 GLint _arg1;
7688 char *_kwnames[] = { "x","y", NULL };
7689
7690 self = self;
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glVertex2i",_kwnames,&_arg0,&_arg1))
7692 return NULL;
7693 {
7694 wxPy_BEGIN_ALLOW_THREADS;
7695 glVertex2i(_arg0,_arg1);
7696
7697 wxPy_END_ALLOW_THREADS;
7698 } Py_INCREF(Py_None);
7699 _resultobj = Py_None;
7700 return _resultobj;
7701 }
7702
7703 static PyObject *_wrap_glVertex2iv(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject * _resultobj;
7705 GLint * _arg0;
7706 PyObject * _argo0 = 0;
7707 char *_kwnames[] = { "v", NULL };
7708
7709 self = self;
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex2iv",_kwnames,&_argo0))
7711 return NULL;
7712 if (_argo0) {
7713 if (_argo0 == Py_None) { _arg0 = NULL; }
7714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
7715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2iv. Expected _GLint_p.");
7716 return NULL;
7717 }
7718 }
7719 {
7720 wxPy_BEGIN_ALLOW_THREADS;
7721 glVertex2iv(_arg0);
7722
7723 wxPy_END_ALLOW_THREADS;
7724 } Py_INCREF(Py_None);
7725 _resultobj = Py_None;
7726 return _resultobj;
7727 }
7728
7729 static PyObject *_wrap_glVertex2s(PyObject *self, PyObject *args, PyObject *kwargs) {
7730 PyObject * _resultobj;
7731 GLshort _arg0;
7732 GLshort _arg1;
7733 char *_kwnames[] = { "x","y", NULL };
7734
7735 self = self;
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hh:glVertex2s",_kwnames,&_arg0,&_arg1))
7737 return NULL;
7738 {
7739 wxPy_BEGIN_ALLOW_THREADS;
7740 glVertex2s(_arg0,_arg1);
7741
7742 wxPy_END_ALLOW_THREADS;
7743 } Py_INCREF(Py_None);
7744 _resultobj = Py_None;
7745 return _resultobj;
7746 }
7747
7748 static PyObject *_wrap_glVertex2sv(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject * _resultobj;
7750 GLshort * _arg0;
7751 PyObject * _argo0 = 0;
7752 char *_kwnames[] = { "v", NULL };
7753
7754 self = self;
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex2sv",_kwnames,&_argo0))
7756 return NULL;
7757 if (_argo0) {
7758 if (_argo0 == Py_None) { _arg0 = NULL; }
7759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
7760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2sv. Expected _GLshort_p.");
7761 return NULL;
7762 }
7763 }
7764 {
7765 wxPy_BEGIN_ALLOW_THREADS;
7766 glVertex2sv(_arg0);
7767
7768 wxPy_END_ALLOW_THREADS;
7769 } Py_INCREF(Py_None);
7770 _resultobj = Py_None;
7771 return _resultobj;
7772 }
7773
7774 static PyObject *_wrap_glVertex3d(PyObject *self, PyObject *args, PyObject *kwargs) {
7775 PyObject * _resultobj;
7776 GLdouble _arg0;
7777 GLdouble _arg1;
7778 GLdouble _arg2;
7779 char *_kwnames[] = { "x","y","z", NULL };
7780
7781 self = self;
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glVertex3d",_kwnames,&_arg0,&_arg1,&_arg2))
7783 return NULL;
7784 {
7785 wxPy_BEGIN_ALLOW_THREADS;
7786 glVertex3d(_arg0,_arg1,_arg2);
7787
7788 wxPy_END_ALLOW_THREADS;
7789 } Py_INCREF(Py_None);
7790 _resultobj = Py_None;
7791 return _resultobj;
7792 }
7793
7794 static PyObject *_wrap_glVertex3dv(PyObject *self, PyObject *args, PyObject *kwargs) {
7795 PyObject * _resultobj;
7796 GLdouble * _arg0;
7797 PyObject * _argo0 = 0;
7798 char *_kwnames[] = { "v", NULL };
7799
7800 self = self;
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex3dv",_kwnames,&_argo0))
7802 return NULL;
7803 if (_argo0) {
7804 if (_argo0 == Py_None) { _arg0 = NULL; }
7805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
7806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3dv. Expected _GLdouble_p.");
7807 return NULL;
7808 }
7809 }
7810 {
7811 wxPy_BEGIN_ALLOW_THREADS;
7812 glVertex3dv(_arg0);
7813
7814 wxPy_END_ALLOW_THREADS;
7815 } Py_INCREF(Py_None);
7816 _resultobj = Py_None;
7817 return _resultobj;
7818 }
7819
7820 static PyObject *_wrap_glVertex3f(PyObject *self, PyObject *args, PyObject *kwargs) {
7821 PyObject * _resultobj;
7822 GLfloat _arg0;
7823 GLfloat _arg1;
7824 GLfloat _arg2;
7825 char *_kwnames[] = { "x","y","z", NULL };
7826
7827 self = self;
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glVertex3f",_kwnames,&_arg0,&_arg1,&_arg2))
7829 return NULL;
7830 {
7831 wxPy_BEGIN_ALLOW_THREADS;
7832 glVertex3f(_arg0,_arg1,_arg2);
7833
7834 wxPy_END_ALLOW_THREADS;
7835 } Py_INCREF(Py_None);
7836 _resultobj = Py_None;
7837 return _resultobj;
7838 }
7839
7840 static PyObject *_wrap_glVertex3fv(PyObject *self, PyObject *args, PyObject *kwargs) {
7841 PyObject * _resultobj;
7842 GLfloat * _arg0;
7843 PyObject * _argo0 = 0;
7844 char *_kwnames[] = { "v", NULL };
7845
7846 self = self;
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex3fv",_kwnames,&_argo0))
7848 return NULL;
7849 if (_argo0) {
7850 if (_argo0 == Py_None) { _arg0 = NULL; }
7851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
7852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3fv. Expected _GLfloat_p.");
7853 return NULL;
7854 }
7855 }
7856 {
7857 wxPy_BEGIN_ALLOW_THREADS;
7858 glVertex3fv(_arg0);
7859
7860 wxPy_END_ALLOW_THREADS;
7861 } Py_INCREF(Py_None);
7862 _resultobj = Py_None;
7863 return _resultobj;
7864 }
7865
7866 static PyObject *_wrap_glVertex3i(PyObject *self, PyObject *args, PyObject *kwargs) {
7867 PyObject * _resultobj;
7868 GLint _arg0;
7869 GLint _arg1;
7870 GLint _arg2;
7871 char *_kwnames[] = { "x","y","z", NULL };
7872
7873 self = self;
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glVertex3i",_kwnames,&_arg0,&_arg1,&_arg2))
7875 return NULL;
7876 {
7877 wxPy_BEGIN_ALLOW_THREADS;
7878 glVertex3i(_arg0,_arg1,_arg2);
7879
7880 wxPy_END_ALLOW_THREADS;
7881 } Py_INCREF(Py_None);
7882 _resultobj = Py_None;
7883 return _resultobj;
7884 }
7885
7886 static PyObject *_wrap_glVertex3iv(PyObject *self, PyObject *args, PyObject *kwargs) {
7887 PyObject * _resultobj;
7888 GLint * _arg0;
7889 PyObject * _argo0 = 0;
7890 char *_kwnames[] = { "v", NULL };
7891
7892 self = self;
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex3iv",_kwnames,&_argo0))
7894 return NULL;
7895 if (_argo0) {
7896 if (_argo0 == Py_None) { _arg0 = NULL; }
7897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
7898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3iv. Expected _GLint_p.");
7899 return NULL;
7900 }
7901 }
7902 {
7903 wxPy_BEGIN_ALLOW_THREADS;
7904 glVertex3iv(_arg0);
7905
7906 wxPy_END_ALLOW_THREADS;
7907 } Py_INCREF(Py_None);
7908 _resultobj = Py_None;
7909 return _resultobj;
7910 }
7911
7912 static PyObject *_wrap_glVertex3s(PyObject *self, PyObject *args, PyObject *kwargs) {
7913 PyObject * _resultobj;
7914 GLshort _arg0;
7915 GLshort _arg1;
7916 GLshort _arg2;
7917 char *_kwnames[] = { "x","y","z", NULL };
7918
7919 self = self;
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glVertex3s",_kwnames,&_arg0,&_arg1,&_arg2))
7921 return NULL;
7922 {
7923 wxPy_BEGIN_ALLOW_THREADS;
7924 glVertex3s(_arg0,_arg1,_arg2);
7925
7926 wxPy_END_ALLOW_THREADS;
7927 } Py_INCREF(Py_None);
7928 _resultobj = Py_None;
7929 return _resultobj;
7930 }
7931
7932 static PyObject *_wrap_glVertex3sv(PyObject *self, PyObject *args, PyObject *kwargs) {
7933 PyObject * _resultobj;
7934 GLshort * _arg0;
7935 PyObject * _argo0 = 0;
7936 char *_kwnames[] = { "v", NULL };
7937
7938 self = self;
7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex3sv",_kwnames,&_argo0))
7940 return NULL;
7941 if (_argo0) {
7942 if (_argo0 == Py_None) { _arg0 = NULL; }
7943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
7944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3sv. Expected _GLshort_p.");
7945 return NULL;
7946 }
7947 }
7948 {
7949 wxPy_BEGIN_ALLOW_THREADS;
7950 glVertex3sv(_arg0);
7951
7952 wxPy_END_ALLOW_THREADS;
7953 } Py_INCREF(Py_None);
7954 _resultobj = Py_None;
7955 return _resultobj;
7956 }
7957
7958 static PyObject *_wrap_glVertex4d(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject * _resultobj;
7960 GLdouble _arg0;
7961 GLdouble _arg1;
7962 GLdouble _arg2;
7963 GLdouble _arg3;
7964 char *_kwnames[] = { "x","y","z","w", NULL };
7965
7966 self = self;
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glVertex4d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
7968 return NULL;
7969 {
7970 wxPy_BEGIN_ALLOW_THREADS;
7971 glVertex4d(_arg0,_arg1,_arg2,_arg3);
7972
7973 wxPy_END_ALLOW_THREADS;
7974 } Py_INCREF(Py_None);
7975 _resultobj = Py_None;
7976 return _resultobj;
7977 }
7978
7979 static PyObject *_wrap_glVertex4dv(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject * _resultobj;
7981 GLdouble * _arg0;
7982 PyObject * _argo0 = 0;
7983 char *_kwnames[] = { "v", NULL };
7984
7985 self = self;
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex4dv",_kwnames,&_argo0))
7987 return NULL;
7988 if (_argo0) {
7989 if (_argo0 == Py_None) { _arg0 = NULL; }
7990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) {
7991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4dv. Expected _GLdouble_p.");
7992 return NULL;
7993 }
7994 }
7995 {
7996 wxPy_BEGIN_ALLOW_THREADS;
7997 glVertex4dv(_arg0);
7998
7999 wxPy_END_ALLOW_THREADS;
8000 } Py_INCREF(Py_None);
8001 _resultobj = Py_None;
8002 return _resultobj;
8003 }
8004
8005 static PyObject *_wrap_glVertex4f(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject * _resultobj;
8007 GLfloat _arg0;
8008 GLfloat _arg1;
8009 GLfloat _arg2;
8010 GLfloat _arg3;
8011 char *_kwnames[] = { "x","y","z","w", NULL };
8012
8013 self = self;
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glVertex4f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
8015 return NULL;
8016 {
8017 wxPy_BEGIN_ALLOW_THREADS;
8018 glVertex4f(_arg0,_arg1,_arg2,_arg3);
8019
8020 wxPy_END_ALLOW_THREADS;
8021 } Py_INCREF(Py_None);
8022 _resultobj = Py_None;
8023 return _resultobj;
8024 }
8025
8026 static PyObject *_wrap_glVertex4fv(PyObject *self, PyObject *args, PyObject *kwargs) {
8027 PyObject * _resultobj;
8028 GLfloat * _arg0;
8029 PyObject * _argo0 = 0;
8030 char *_kwnames[] = { "v", NULL };
8031
8032 self = self;
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex4fv",_kwnames,&_argo0))
8034 return NULL;
8035 if (_argo0) {
8036 if (_argo0 == Py_None) { _arg0 = NULL; }
8037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) {
8038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4fv. Expected _GLfloat_p.");
8039 return NULL;
8040 }
8041 }
8042 {
8043 wxPy_BEGIN_ALLOW_THREADS;
8044 glVertex4fv(_arg0);
8045
8046 wxPy_END_ALLOW_THREADS;
8047 } Py_INCREF(Py_None);
8048 _resultobj = Py_None;
8049 return _resultobj;
8050 }
8051
8052 static PyObject *_wrap_glVertex4i(PyObject *self, PyObject *args, PyObject *kwargs) {
8053 PyObject * _resultobj;
8054 GLint _arg0;
8055 GLint _arg1;
8056 GLint _arg2;
8057 GLint _arg3;
8058 char *_kwnames[] = { "x","y","z","w", NULL };
8059
8060 self = self;
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glVertex4i",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
8062 return NULL;
8063 {
8064 wxPy_BEGIN_ALLOW_THREADS;
8065 glVertex4i(_arg0,_arg1,_arg2,_arg3);
8066
8067 wxPy_END_ALLOW_THREADS;
8068 } Py_INCREF(Py_None);
8069 _resultobj = Py_None;
8070 return _resultobj;
8071 }
8072
8073 static PyObject *_wrap_glVertex4iv(PyObject *self, PyObject *args, PyObject *kwargs) {
8074 PyObject * _resultobj;
8075 GLint * _arg0;
8076 PyObject * _argo0 = 0;
8077 char *_kwnames[] = { "v", NULL };
8078
8079 self = self;
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex4iv",_kwnames,&_argo0))
8081 return NULL;
8082 if (_argo0) {
8083 if (_argo0 == Py_None) { _arg0 = NULL; }
8084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) {
8085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4iv. Expected _GLint_p.");
8086 return NULL;
8087 }
8088 }
8089 {
8090 wxPy_BEGIN_ALLOW_THREADS;
8091 glVertex4iv(_arg0);
8092
8093 wxPy_END_ALLOW_THREADS;
8094 } Py_INCREF(Py_None);
8095 _resultobj = Py_None;
8096 return _resultobj;
8097 }
8098
8099 static PyObject *_wrap_glVertex4s(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject * _resultobj;
8101 GLshort _arg0;
8102 GLshort _arg1;
8103 GLshort _arg2;
8104 GLshort _arg3;
8105 char *_kwnames[] = { "x","y","z","w", NULL };
8106
8107 self = self;
8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glVertex4s",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
8109 return NULL;
8110 {
8111 wxPy_BEGIN_ALLOW_THREADS;
8112 glVertex4s(_arg0,_arg1,_arg2,_arg3);
8113
8114 wxPy_END_ALLOW_THREADS;
8115 } Py_INCREF(Py_None);
8116 _resultobj = Py_None;
8117 return _resultobj;
8118 }
8119
8120 static PyObject *_wrap_glVertex4sv(PyObject *self, PyObject *args, PyObject *kwargs) {
8121 PyObject * _resultobj;
8122 GLshort * _arg0;
8123 PyObject * _argo0 = 0;
8124 char *_kwnames[] = { "v", NULL };
8125
8126 self = self;
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex4sv",_kwnames,&_argo0))
8128 return NULL;
8129 if (_argo0) {
8130 if (_argo0 == Py_None) { _arg0 = NULL; }
8131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) {
8132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4sv. Expected _GLshort_p.");
8133 return NULL;
8134 }
8135 }
8136 {
8137 wxPy_BEGIN_ALLOW_THREADS;
8138 glVertex4sv(_arg0);
8139
8140 wxPy_END_ALLOW_THREADS;
8141 } Py_INCREF(Py_None);
8142 _resultobj = Py_None;
8143 return _resultobj;
8144 }
8145
8146 static PyObject *_wrap_glVertexPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject * _resultobj;
8148 GLint _arg0;
8149 GLenum _arg1;
8150 GLsizei _arg2;
8151 GLvoid * _arg3;
8152 PyObject * _argo3 = 0;
8153 char *_kwnames[] = { "size","type","stride","pointer", NULL };
8154
8155 self = self;
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glVertexPointer",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3))
8157 return NULL;
8158 if (_argo3) {
8159 if (_argo3 == Py_None) { _arg3 = NULL; }
8160 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
8161 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glVertexPointer. Expected _GLvoid_p.");
8162 return NULL;
8163 }
8164 }
8165 {
8166 wxPy_BEGIN_ALLOW_THREADS;
8167 glVertexPointer(_arg0,_arg1,_arg2,_arg3);
8168
8169 wxPy_END_ALLOW_THREADS;
8170 } Py_INCREF(Py_None);
8171 _resultobj = Py_None;
8172 return _resultobj;
8173 }
8174
8175 static PyObject *_wrap_glViewport(PyObject *self, PyObject *args, PyObject *kwargs) {
8176 PyObject * _resultobj;
8177 GLint _arg0;
8178 GLint _arg1;
8179 GLsizei _arg2;
8180 GLsizei _arg3;
8181 char *_kwnames[] = { "x","y","width","height", NULL };
8182
8183 self = self;
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glViewport",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
8185 return NULL;
8186 {
8187 wxPy_BEGIN_ALLOW_THREADS;
8188 glViewport(_arg0,_arg1,_arg2,_arg3);
8189
8190 wxPy_END_ALLOW_THREADS;
8191 } Py_INCREF(Py_None);
8192 _resultobj = Py_None;
8193 return _resultobj;
8194 }
8195
8196 #define new_wxGLContext(_swigarg0,_swigarg1,_swigarg2) (new wxGLContext(_swigarg0,_swigarg1,_swigarg2))
8197 static PyObject *_wrap_new_wxGLContext(PyObject *self, PyObject *args, PyObject *kwargs) {
8198 PyObject * _resultobj;
8199 wxGLContext * _result;
8200 bool _arg0;
8201 wxGLCanvas * _arg1;
8202 wxPalette * _arg2 = (wxPalette *) &wxNullPalette;
8203 int tempbool0;
8204 PyObject * _argo1 = 0;
8205 PyObject * _argo2 = 0;
8206 char *_kwnames[] = { "isRGB","win","palette", NULL };
8207 char _ptemp[128];
8208
8209 self = self;
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO|O:new_wxGLContext",_kwnames,&tempbool0,&_argo1,&_argo2))
8211 return NULL;
8212 _arg0 = (bool ) tempbool0;
8213 if (_argo1) {
8214 if (_argo1 == Py_None) { _arg1 = NULL; }
8215 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGLCanvas_p")) {
8216 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxGLContext. Expected _wxGLCanvas_p.");
8217 return NULL;
8218 }
8219 }
8220 if (_argo2) {
8221 if (_argo2 == Py_None) { _arg2 = NULL; }
8222 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPalette_p")) {
8223 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGLContext. Expected _wxPalette_p.");
8224 return NULL;
8225 }
8226 }
8227 {
8228 wxPy_BEGIN_ALLOW_THREADS;
8229 _result = (wxGLContext *)new_wxGLContext(_arg0,_arg1,*_arg2);
8230
8231 wxPy_END_ALLOW_THREADS;
8232 } if (_result) {
8233 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLContext_p");
8234 _resultobj = Py_BuildValue("s",_ptemp);
8235 } else {
8236 Py_INCREF(Py_None);
8237 _resultobj = Py_None;
8238 }
8239 return _resultobj;
8240 }
8241
8242 #define delete_wxGLContext(_swigobj) (delete _swigobj)
8243 static PyObject *_wrap_delete_wxGLContext(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject * _resultobj;
8245 wxGLContext * _arg0;
8246 PyObject * _argo0 = 0;
8247 char *_kwnames[] = { "self", NULL };
8248
8249 self = self;
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGLContext",_kwnames,&_argo0))
8251 return NULL;
8252 if (_argo0) {
8253 if (_argo0 == Py_None) { _arg0 = NULL; }
8254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGLContext. Expected _wxGLContext_p.");
8256 return NULL;
8257 }
8258 }
8259 {
8260 wxPy_BEGIN_ALLOW_THREADS;
8261 delete_wxGLContext(_arg0);
8262
8263 wxPy_END_ALLOW_THREADS;
8264 } Py_INCREF(Py_None);
8265 _resultobj = Py_None;
8266 return _resultobj;
8267 }
8268
8269 #define wxGLContext_SetCurrent(_swigobj) (_swigobj->SetCurrent())
8270 static PyObject *_wrap_wxGLContext_SetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8271 PyObject * _resultobj;
8272 wxGLContext * _arg0;
8273 PyObject * _argo0 = 0;
8274 char *_kwnames[] = { "self", NULL };
8275
8276 self = self;
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_SetCurrent",_kwnames,&_argo0))
8278 return NULL;
8279 if (_argo0) {
8280 if (_argo0 == Py_None) { _arg0 = NULL; }
8281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetCurrent. Expected _wxGLContext_p.");
8283 return NULL;
8284 }
8285 }
8286 {
8287 wxPy_BEGIN_ALLOW_THREADS;
8288 wxGLContext_SetCurrent(_arg0);
8289
8290 wxPy_END_ALLOW_THREADS;
8291 } Py_INCREF(Py_None);
8292 _resultobj = Py_None;
8293 return _resultobj;
8294 }
8295
8296 #define wxGLContext_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
8297 static PyObject *_wrap_wxGLContext_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8298 PyObject * _resultobj;
8299 wxGLContext * _arg0;
8300 char * _arg1;
8301 PyObject * _argo0 = 0;
8302 char *_kwnames[] = { "self","colour", NULL };
8303
8304 self = self;
8305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxGLContext_SetColour",_kwnames,&_argo0,&_arg1))
8306 return NULL;
8307 if (_argo0) {
8308 if (_argo0 == Py_None) { _arg0 = NULL; }
8309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetColour. Expected _wxGLContext_p.");
8311 return NULL;
8312 }
8313 }
8314 {
8315 wxPy_BEGIN_ALLOW_THREADS;
8316 wxGLContext_SetColour(_arg0,_arg1);
8317
8318 wxPy_END_ALLOW_THREADS;
8319 } Py_INCREF(Py_None);
8320 _resultobj = Py_None;
8321 return _resultobj;
8322 }
8323
8324 #define wxGLContext_SwapBuffers(_swigobj) (_swigobj->SwapBuffers())
8325 static PyObject *_wrap_wxGLContext_SwapBuffers(PyObject *self, PyObject *args, PyObject *kwargs) {
8326 PyObject * _resultobj;
8327 wxGLContext * _arg0;
8328 PyObject * _argo0 = 0;
8329 char *_kwnames[] = { "self", NULL };
8330
8331 self = self;
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_SwapBuffers",_kwnames,&_argo0))
8333 return NULL;
8334 if (_argo0) {
8335 if (_argo0 == Py_None) { _arg0 = NULL; }
8336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SwapBuffers. Expected _wxGLContext_p.");
8338 return NULL;
8339 }
8340 }
8341 {
8342 wxPy_BEGIN_ALLOW_THREADS;
8343 wxGLContext_SwapBuffers(_arg0);
8344
8345 wxPy_END_ALLOW_THREADS;
8346 } Py_INCREF(Py_None);
8347 _resultobj = Py_None;
8348 return _resultobj;
8349 }
8350
8351 #define wxGLContext_SetupPixelFormat(_swigobj) (_swigobj->SetupPixelFormat())
8352 static PyObject *_wrap_wxGLContext_SetupPixelFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject * _resultobj;
8354 wxGLContext * _arg0;
8355 PyObject * _argo0 = 0;
8356 char *_kwnames[] = { "self", NULL };
8357
8358 self = self;
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_SetupPixelFormat",_kwnames,&_argo0))
8360 return NULL;
8361 if (_argo0) {
8362 if (_argo0 == Py_None) { _arg0 = NULL; }
8363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetupPixelFormat. Expected _wxGLContext_p.");
8365 return NULL;
8366 }
8367 }
8368 {
8369 wxPy_BEGIN_ALLOW_THREADS;
8370 wxGLContext_SetupPixelFormat(_arg0);
8371
8372 wxPy_END_ALLOW_THREADS;
8373 } Py_INCREF(Py_None);
8374 _resultobj = Py_None;
8375 return _resultobj;
8376 }
8377
8378 #define wxGLContext_SetupPalette(_swigobj,_swigarg0) (_swigobj->SetupPalette(_swigarg0))
8379 static PyObject *_wrap_wxGLContext_SetupPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject * _resultobj;
8381 wxGLContext * _arg0;
8382 wxPalette * _arg1;
8383 PyObject * _argo0 = 0;
8384 PyObject * _argo1 = 0;
8385 char *_kwnames[] = { "self","palette", NULL };
8386
8387 self = self;
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGLContext_SetupPalette",_kwnames,&_argo0,&_argo1))
8389 return NULL;
8390 if (_argo0) {
8391 if (_argo0 == Py_None) { _arg0 = NULL; }
8392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetupPalette. Expected _wxGLContext_p.");
8394 return NULL;
8395 }
8396 }
8397 if (_argo1) {
8398 if (_argo1 == Py_None) { _arg1 = NULL; }
8399 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
8400 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGLContext_SetupPalette. Expected _wxPalette_p.");
8401 return NULL;
8402 }
8403 }
8404 {
8405 wxPy_BEGIN_ALLOW_THREADS;
8406 wxGLContext_SetupPalette(_arg0,*_arg1);
8407
8408 wxPy_END_ALLOW_THREADS;
8409 } Py_INCREF(Py_None);
8410 _resultobj = Py_None;
8411 return _resultobj;
8412 }
8413
8414 #define wxGLContext_CreateDefaultPalette(_swigobj) (_swigobj->CreateDefaultPalette())
8415 static PyObject *_wrap_wxGLContext_CreateDefaultPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8416 PyObject * _resultobj;
8417 wxPalette * _result;
8418 wxGLContext * _arg0;
8419 PyObject * _argo0 = 0;
8420 char *_kwnames[] = { "self", NULL };
8421 char _ptemp[128];
8422
8423 self = self;
8424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_CreateDefaultPalette",_kwnames,&_argo0))
8425 return NULL;
8426 if (_argo0) {
8427 if (_argo0 == Py_None) { _arg0 = NULL; }
8428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_CreateDefaultPalette. Expected _wxGLContext_p.");
8430 return NULL;
8431 }
8432 }
8433 {
8434 wxPy_BEGIN_ALLOW_THREADS;
8435 _result = new wxPalette (wxGLContext_CreateDefaultPalette(_arg0));
8436
8437 wxPy_END_ALLOW_THREADS;
8438 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPalette_p");
8439 _resultobj = Py_BuildValue("s",_ptemp);
8440 return _resultobj;
8441 }
8442
8443 #define wxGLContext_GetPalette(_swigobj) (_swigobj->GetPalette())
8444 static PyObject *_wrap_wxGLContext_GetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8445 PyObject * _resultobj;
8446 wxPalette * _result;
8447 wxGLContext * _arg0;
8448 PyObject * _argo0 = 0;
8449 char *_kwnames[] = { "self", NULL };
8450 char _ptemp[128];
8451
8452 self = self;
8453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_GetPalette",_kwnames,&_argo0))
8454 return NULL;
8455 if (_argo0) {
8456 if (_argo0 == Py_None) { _arg0 = NULL; }
8457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_GetPalette. Expected _wxGLContext_p.");
8459 return NULL;
8460 }
8461 }
8462 {
8463 wxPy_BEGIN_ALLOW_THREADS;
8464 _result = (wxPalette *)wxGLContext_GetPalette(_arg0);
8465
8466 wxPy_END_ALLOW_THREADS;
8467 } if (_result) {
8468 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
8469 _resultobj = Py_BuildValue("s",_ptemp);
8470 } else {
8471 Py_INCREF(Py_None);
8472 _resultobj = Py_None;
8473 }
8474 return _resultobj;
8475 }
8476
8477 #define wxGLContext_GetWindow(_swigobj) (_swigobj->GetWindow())
8478 static PyObject *_wrap_wxGLContext_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8479 PyObject * _resultobj;
8480 wxWindow * _result;
8481 wxGLContext * _arg0;
8482 PyObject * _argo0 = 0;
8483 char *_kwnames[] = { "self", NULL };
8484 char _ptemp[128];
8485
8486 self = self;
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_GetWindow",_kwnames,&_argo0))
8488 return NULL;
8489 if (_argo0) {
8490 if (_argo0 == Py_None) { _arg0 = NULL; }
8491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
8492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_GetWindow. Expected _wxGLContext_p.");
8493 return NULL;
8494 }
8495 }
8496 {
8497 wxPy_BEGIN_ALLOW_THREADS;
8498 _result = (wxWindow *)wxGLContext_GetWindow(_arg0);
8499
8500 wxPy_END_ALLOW_THREADS;
8501 } if (_result) {
8502 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
8503 _resultobj = Py_BuildValue("s",_ptemp);
8504 } else {
8505 Py_INCREF(Py_None);
8506 _resultobj = Py_None;
8507 }
8508 return _resultobj;
8509 }
8510
8511 static void *SwigwxGLCanvasTowxScrolledWindow(void *ptr) {
8512 wxGLCanvas *src;
8513 wxScrolledWindow *dest;
8514 src = (wxGLCanvas *) ptr;
8515 dest = (wxScrolledWindow *) src;
8516 return (void *) dest;
8517 }
8518
8519 static void *SwigwxGLCanvasTowxPanel(void *ptr) {
8520 wxGLCanvas *src;
8521 wxPanel *dest;
8522 src = (wxGLCanvas *) ptr;
8523 dest = (wxPanel *) src;
8524 return (void *) dest;
8525 }
8526
8527 static void *SwigwxGLCanvasTowxWindow(void *ptr) {
8528 wxGLCanvas *src;
8529 wxWindow *dest;
8530 src = (wxGLCanvas *) ptr;
8531 dest = (wxWindow *) src;
8532 return (void *) dest;
8533 }
8534
8535 static void *SwigwxGLCanvasTowxEvtHandler(void *ptr) {
8536 wxGLCanvas *src;
8537 wxEvtHandler *dest;
8538 src = (wxGLCanvas *) ptr;
8539 dest = (wxEvtHandler *) src;
8540 return (void *) dest;
8541 }
8542
8543 #define new_wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
8544 static PyObject *_wrap_new_wxGLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
8545 PyObject * _resultobj;
8546 wxGLCanvas * _result;
8547 wxWindow * _arg0;
8548 wxWindowID _arg1 = (wxWindowID ) -1;
8549 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
8550 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
8551 long _arg4 = (long ) 0;
8552 char * _arg5 = (char *) "GLCanvas";
8553 int * _arg6 = (int *) 0;
8554 wxPalette * _arg7 = (wxPalette *) &wxNullPalette;
8555 PyObject * _argo0 = 0;
8556 PyObject * _argo2 = 0;
8557 PyObject * _argo3 = 0;
8558 PyObject * _argo6 = 0;
8559 PyObject * _argo7 = 0;
8560 char *_kwnames[] = { "parent","id","pos","size","style","name","attribList","palette", NULL };
8561 char _ptemp[128];
8562
8563 self = self;
8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlsOO:new_wxGLCanvas",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5,&_argo6,&_argo7))
8565 return NULL;
8566 if (_argo0) {
8567 if (_argo0 == Py_None) { _arg0 = NULL; }
8568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGLCanvas. Expected _wxWindow_p.");
8570 return NULL;
8571 }
8572 }
8573 if (_argo2) {
8574 if (_argo2 == Py_None) { _arg2 = NULL; }
8575 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
8576 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGLCanvas. Expected _wxPoint_p.");
8577 return NULL;
8578 }
8579 }
8580 if (_argo3) {
8581 if (_argo3 == Py_None) { _arg3 = NULL; }
8582 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
8583 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGLCanvas. Expected _wxSize_p.");
8584 return NULL;
8585 }
8586 }
8587 if (_argo6) {
8588 if (_argo6 == Py_None) { _arg6 = NULL; }
8589 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_int_p")) {
8590 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGLCanvas. Expected _int_p.");
8591 return NULL;
8592 }
8593 }
8594 if (_argo7) {
8595 if (_argo7 == Py_None) { _arg7 = NULL; }
8596 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxPalette_p")) {
8597 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxGLCanvas. Expected _wxPalette_p.");
8598 return NULL;
8599 }
8600 }
8601 {
8602 wxPy_BEGIN_ALLOW_THREADS;
8603 _result = (wxGLCanvas *)new_wxGLCanvas(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7);
8604
8605 wxPy_END_ALLOW_THREADS;
8606 } if (_result) {
8607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLCanvas_p");
8608 _resultobj = Py_BuildValue("s",_ptemp);
8609 } else {
8610 Py_INCREF(Py_None);
8611 _resultobj = Py_None;
8612 }
8613 return _resultobj;
8614 }
8615
8616 #define wxGLCanvas_SetCurrent(_swigobj) (_swigobj->SetCurrent())
8617 static PyObject *_wrap_wxGLCanvas_SetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8618 PyObject * _resultobj;
8619 wxGLCanvas * _arg0;
8620 PyObject * _argo0 = 0;
8621 char *_kwnames[] = { "self", NULL };
8622
8623 self = self;
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_SetCurrent",_kwnames,&_argo0))
8625 return NULL;
8626 if (_argo0) {
8627 if (_argo0 == Py_None) { _arg0 = NULL; }
8628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) {
8629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SetCurrent. Expected _wxGLCanvas_p.");
8630 return NULL;
8631 }
8632 }
8633 {
8634 wxPy_BEGIN_ALLOW_THREADS;
8635 wxGLCanvas_SetCurrent(_arg0);
8636
8637 wxPy_END_ALLOW_THREADS;
8638 } Py_INCREF(Py_None);
8639 _resultobj = Py_None;
8640 return _resultobj;
8641 }
8642
8643 #define wxGLCanvas_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
8644 static PyObject *_wrap_wxGLCanvas_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8645 PyObject * _resultobj;
8646 wxGLCanvas * _arg0;
8647 char * _arg1;
8648 PyObject * _argo0 = 0;
8649 char *_kwnames[] = { "self","colour", NULL };
8650
8651 self = self;
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxGLCanvas_SetColour",_kwnames,&_argo0,&_arg1))
8653 return NULL;
8654 if (_argo0) {
8655 if (_argo0 == Py_None) { _arg0 = NULL; }
8656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) {
8657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SetColour. Expected _wxGLCanvas_p.");
8658 return NULL;
8659 }
8660 }
8661 {
8662 wxPy_BEGIN_ALLOW_THREADS;
8663 wxGLCanvas_SetColour(_arg0,_arg1);
8664
8665 wxPy_END_ALLOW_THREADS;
8666 } Py_INCREF(Py_None);
8667 _resultobj = Py_None;
8668 return _resultobj;
8669 }
8670
8671 #define wxGLCanvas_SwapBuffers(_swigobj) (_swigobj->SwapBuffers())
8672 static PyObject *_wrap_wxGLCanvas_SwapBuffers(PyObject *self, PyObject *args, PyObject *kwargs) {
8673 PyObject * _resultobj;
8674 wxGLCanvas * _arg0;
8675 PyObject * _argo0 = 0;
8676 char *_kwnames[] = { "self", NULL };
8677
8678 self = self;
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_SwapBuffers",_kwnames,&_argo0))
8680 return NULL;
8681 if (_argo0) {
8682 if (_argo0 == Py_None) { _arg0 = NULL; }
8683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) {
8684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SwapBuffers. Expected _wxGLCanvas_p.");
8685 return NULL;
8686 }
8687 }
8688 {
8689 wxPy_BEGIN_ALLOW_THREADS;
8690 wxGLCanvas_SwapBuffers(_arg0);
8691
8692 wxPy_END_ALLOW_THREADS;
8693 } Py_INCREF(Py_None);
8694 _resultobj = Py_None;
8695 return _resultobj;
8696 }
8697
8698 #define wxGLCanvas_GetContext(_swigobj) (_swigobj->GetContext())
8699 static PyObject *_wrap_wxGLCanvas_GetContext(PyObject *self, PyObject *args, PyObject *kwargs) {
8700 PyObject * _resultobj;
8701 wxGLContext * _result;
8702 wxGLCanvas * _arg0;
8703 PyObject * _argo0 = 0;
8704 char *_kwnames[] = { "self", NULL };
8705 char _ptemp[128];
8706
8707 self = self;
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_GetContext",_kwnames,&_argo0))
8709 return NULL;
8710 if (_argo0) {
8711 if (_argo0 == Py_None) { _arg0 = NULL; }
8712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) {
8713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_GetContext. Expected _wxGLCanvas_p.");
8714 return NULL;
8715 }
8716 }
8717 {
8718 wxPy_BEGIN_ALLOW_THREADS;
8719 _result = (wxGLContext *)wxGLCanvas_GetContext(_arg0);
8720
8721 wxPy_END_ALLOW_THREADS;
8722 } if (_result) {
8723 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLContext_p");
8724 _resultobj = Py_BuildValue("s",_ptemp);
8725 } else {
8726 Py_INCREF(Py_None);
8727 _resultobj = Py_None;
8728 }
8729 return _resultobj;
8730 }
8731
8732 static PyMethodDef glcanvascMethods[] = {
8733 { "wxGLCanvas_GetContext", (PyCFunction) _wrap_wxGLCanvas_GetContext, METH_VARARGS | METH_KEYWORDS },
8734 { "wxGLCanvas_SwapBuffers", (PyCFunction) _wrap_wxGLCanvas_SwapBuffers, METH_VARARGS | METH_KEYWORDS },
8735 { "wxGLCanvas_SetColour", (PyCFunction) _wrap_wxGLCanvas_SetColour, METH_VARARGS | METH_KEYWORDS },
8736 { "wxGLCanvas_SetCurrent", (PyCFunction) _wrap_wxGLCanvas_SetCurrent, METH_VARARGS | METH_KEYWORDS },
8737 { "new_wxGLCanvas", (PyCFunction) _wrap_new_wxGLCanvas, METH_VARARGS | METH_KEYWORDS },
8738 { "wxGLContext_GetWindow", (PyCFunction) _wrap_wxGLContext_GetWindow, METH_VARARGS | METH_KEYWORDS },
8739 { "wxGLContext_GetPalette", (PyCFunction) _wrap_wxGLContext_GetPalette, METH_VARARGS | METH_KEYWORDS },
8740 { "wxGLContext_CreateDefaultPalette", (PyCFunction) _wrap_wxGLContext_CreateDefaultPalette, METH_VARARGS | METH_KEYWORDS },
8741 { "wxGLContext_SetupPalette", (PyCFunction) _wrap_wxGLContext_SetupPalette, METH_VARARGS | METH_KEYWORDS },
8742 { "wxGLContext_SetupPixelFormat", (PyCFunction) _wrap_wxGLContext_SetupPixelFormat, METH_VARARGS | METH_KEYWORDS },
8743 { "wxGLContext_SwapBuffers", (PyCFunction) _wrap_wxGLContext_SwapBuffers, METH_VARARGS | METH_KEYWORDS },
8744 { "wxGLContext_SetColour", (PyCFunction) _wrap_wxGLContext_SetColour, METH_VARARGS | METH_KEYWORDS },
8745 { "wxGLContext_SetCurrent", (PyCFunction) _wrap_wxGLContext_SetCurrent, METH_VARARGS | METH_KEYWORDS },
8746 { "delete_wxGLContext", (PyCFunction) _wrap_delete_wxGLContext, METH_VARARGS | METH_KEYWORDS },
8747 { "new_wxGLContext", (PyCFunction) _wrap_new_wxGLContext, METH_VARARGS | METH_KEYWORDS },
8748 { "glViewport", (PyCFunction) _wrap_glViewport, METH_VARARGS | METH_KEYWORDS },
8749 { "glVertexPointer", (PyCFunction) _wrap_glVertexPointer, METH_VARARGS | METH_KEYWORDS },
8750 { "glVertex4sv", (PyCFunction) _wrap_glVertex4sv, METH_VARARGS | METH_KEYWORDS },
8751 { "glVertex4s", (PyCFunction) _wrap_glVertex4s, METH_VARARGS | METH_KEYWORDS },
8752 { "glVertex4iv", (PyCFunction) _wrap_glVertex4iv, METH_VARARGS | METH_KEYWORDS },
8753 { "glVertex4i", (PyCFunction) _wrap_glVertex4i, METH_VARARGS | METH_KEYWORDS },
8754 { "glVertex4fv", (PyCFunction) _wrap_glVertex4fv, METH_VARARGS | METH_KEYWORDS },
8755 { "glVertex4f", (PyCFunction) _wrap_glVertex4f, METH_VARARGS | METH_KEYWORDS },
8756 { "glVertex4dv", (PyCFunction) _wrap_glVertex4dv, METH_VARARGS | METH_KEYWORDS },
8757 { "glVertex4d", (PyCFunction) _wrap_glVertex4d, METH_VARARGS | METH_KEYWORDS },
8758 { "glVertex3sv", (PyCFunction) _wrap_glVertex3sv, METH_VARARGS | METH_KEYWORDS },
8759 { "glVertex3s", (PyCFunction) _wrap_glVertex3s, METH_VARARGS | METH_KEYWORDS },
8760 { "glVertex3iv", (PyCFunction) _wrap_glVertex3iv, METH_VARARGS | METH_KEYWORDS },
8761 { "glVertex3i", (PyCFunction) _wrap_glVertex3i, METH_VARARGS | METH_KEYWORDS },
8762 { "glVertex3fv", (PyCFunction) _wrap_glVertex3fv, METH_VARARGS | METH_KEYWORDS },
8763 { "glVertex3f", (PyCFunction) _wrap_glVertex3f, METH_VARARGS | METH_KEYWORDS },
8764 { "glVertex3dv", (PyCFunction) _wrap_glVertex3dv, METH_VARARGS | METH_KEYWORDS },
8765 { "glVertex3d", (PyCFunction) _wrap_glVertex3d, METH_VARARGS | METH_KEYWORDS },
8766 { "glVertex2sv", (PyCFunction) _wrap_glVertex2sv, METH_VARARGS | METH_KEYWORDS },
8767 { "glVertex2s", (PyCFunction) _wrap_glVertex2s, METH_VARARGS | METH_KEYWORDS },
8768 { "glVertex2iv", (PyCFunction) _wrap_glVertex2iv, METH_VARARGS | METH_KEYWORDS },
8769 { "glVertex2i", (PyCFunction) _wrap_glVertex2i, METH_VARARGS | METH_KEYWORDS },
8770 { "glVertex2fv", (PyCFunction) _wrap_glVertex2fv, METH_VARARGS | METH_KEYWORDS },
8771 { "glVertex2f", (PyCFunction) _wrap_glVertex2f, METH_VARARGS | METH_KEYWORDS },
8772 { "glVertex2dv", (PyCFunction) _wrap_glVertex2dv, METH_VARARGS | METH_KEYWORDS },
8773 { "glVertex2d", (PyCFunction) _wrap_glVertex2d, METH_VARARGS | METH_KEYWORDS },
8774 { "glTranslatef", (PyCFunction) _wrap_glTranslatef, METH_VARARGS | METH_KEYWORDS },
8775 { "glTranslated", (PyCFunction) _wrap_glTranslated, METH_VARARGS | METH_KEYWORDS },
8776 { "glTexSubImage2D", (PyCFunction) _wrap_glTexSubImage2D, METH_VARARGS | METH_KEYWORDS },
8777 { "glTexSubImage1D", (PyCFunction) _wrap_glTexSubImage1D, METH_VARARGS | METH_KEYWORDS },
8778 { "glTexParameteriv", (PyCFunction) _wrap_glTexParameteriv, METH_VARARGS | METH_KEYWORDS },
8779 { "glTexParameteri", (PyCFunction) _wrap_glTexParameteri, METH_VARARGS | METH_KEYWORDS },
8780 { "glTexParameterfv", (PyCFunction) _wrap_glTexParameterfv, METH_VARARGS | METH_KEYWORDS },
8781 { "glTexParameterf", (PyCFunction) _wrap_glTexParameterf, METH_VARARGS | METH_KEYWORDS },
8782 { "glTexImage2D", (PyCFunction) _wrap_glTexImage2D, METH_VARARGS | METH_KEYWORDS },
8783 { "glTexImage1D", (PyCFunction) _wrap_glTexImage1D, METH_VARARGS | METH_KEYWORDS },
8784 { "glTexGeniv", (PyCFunction) _wrap_glTexGeniv, METH_VARARGS | METH_KEYWORDS },
8785 { "glTexGeni", (PyCFunction) _wrap_glTexGeni, METH_VARARGS | METH_KEYWORDS },
8786 { "glTexGenfv", (PyCFunction) _wrap_glTexGenfv, METH_VARARGS | METH_KEYWORDS },
8787 { "glTexGenf", (PyCFunction) _wrap_glTexGenf, METH_VARARGS | METH_KEYWORDS },
8788 { "glTexGendv", (PyCFunction) _wrap_glTexGendv, METH_VARARGS | METH_KEYWORDS },
8789 { "glTexGend", (PyCFunction) _wrap_glTexGend, METH_VARARGS | METH_KEYWORDS },
8790 { "glTexEnviv", (PyCFunction) _wrap_glTexEnviv, METH_VARARGS | METH_KEYWORDS },
8791 { "glTexEnvi", (PyCFunction) _wrap_glTexEnvi, METH_VARARGS | METH_KEYWORDS },
8792 { "glTexEnvfv", (PyCFunction) _wrap_glTexEnvfv, METH_VARARGS | METH_KEYWORDS },
8793 { "glTexEnvf", (PyCFunction) _wrap_glTexEnvf, METH_VARARGS | METH_KEYWORDS },
8794 { "glTexCoordPointer", (PyCFunction) _wrap_glTexCoordPointer, METH_VARARGS | METH_KEYWORDS },
8795 { "glTexCoord4sv", (PyCFunction) _wrap_glTexCoord4sv, METH_VARARGS | METH_KEYWORDS },
8796 { "glTexCoord4s", (PyCFunction) _wrap_glTexCoord4s, METH_VARARGS | METH_KEYWORDS },
8797 { "glTexCoord4iv", (PyCFunction) _wrap_glTexCoord4iv, METH_VARARGS | METH_KEYWORDS },
8798 { "glTexCoord4i", (PyCFunction) _wrap_glTexCoord4i, METH_VARARGS | METH_KEYWORDS },
8799 { "glTexCoord4fv", (PyCFunction) _wrap_glTexCoord4fv, METH_VARARGS | METH_KEYWORDS },
8800 { "glTexCoord4f", (PyCFunction) _wrap_glTexCoord4f, METH_VARARGS | METH_KEYWORDS },
8801 { "glTexCoord4dv", (PyCFunction) _wrap_glTexCoord4dv, METH_VARARGS | METH_KEYWORDS },
8802 { "glTexCoord4d", (PyCFunction) _wrap_glTexCoord4d, METH_VARARGS | METH_KEYWORDS },
8803 { "glTexCoord3sv", (PyCFunction) _wrap_glTexCoord3sv, METH_VARARGS | METH_KEYWORDS },
8804 { "glTexCoord3s", (PyCFunction) _wrap_glTexCoord3s, METH_VARARGS | METH_KEYWORDS },
8805 { "glTexCoord3iv", (PyCFunction) _wrap_glTexCoord3iv, METH_VARARGS | METH_KEYWORDS },
8806 { "glTexCoord3i", (PyCFunction) _wrap_glTexCoord3i, METH_VARARGS | METH_KEYWORDS },
8807 { "glTexCoord3fv", (PyCFunction) _wrap_glTexCoord3fv, METH_VARARGS | METH_KEYWORDS },
8808 { "glTexCoord3f", (PyCFunction) _wrap_glTexCoord3f, METH_VARARGS | METH_KEYWORDS },
8809 { "glTexCoord3dv", (PyCFunction) _wrap_glTexCoord3dv, METH_VARARGS | METH_KEYWORDS },
8810 { "glTexCoord3d", (PyCFunction) _wrap_glTexCoord3d, METH_VARARGS | METH_KEYWORDS },
8811 { "glTexCoord2sv", (PyCFunction) _wrap_glTexCoord2sv, METH_VARARGS | METH_KEYWORDS },
8812 { "glTexCoord2s", (PyCFunction) _wrap_glTexCoord2s, METH_VARARGS | METH_KEYWORDS },
8813 { "glTexCoord2iv", (PyCFunction) _wrap_glTexCoord2iv, METH_VARARGS | METH_KEYWORDS },
8814 { "glTexCoord2i", (PyCFunction) _wrap_glTexCoord2i, METH_VARARGS | METH_KEYWORDS },
8815 { "glTexCoord2fv", (PyCFunction) _wrap_glTexCoord2fv, METH_VARARGS | METH_KEYWORDS },
8816 { "glTexCoord2f", (PyCFunction) _wrap_glTexCoord2f, METH_VARARGS | METH_KEYWORDS },
8817 { "glTexCoord2dv", (PyCFunction) _wrap_glTexCoord2dv, METH_VARARGS | METH_KEYWORDS },
8818 { "glTexCoord2d", (PyCFunction) _wrap_glTexCoord2d, METH_VARARGS | METH_KEYWORDS },
8819 { "glTexCoord1sv", (PyCFunction) _wrap_glTexCoord1sv, METH_VARARGS | METH_KEYWORDS },
8820 { "glTexCoord1s", (PyCFunction) _wrap_glTexCoord1s, METH_VARARGS | METH_KEYWORDS },
8821 { "glTexCoord1iv", (PyCFunction) _wrap_glTexCoord1iv, METH_VARARGS | METH_KEYWORDS },
8822 { "glTexCoord1i", (PyCFunction) _wrap_glTexCoord1i, METH_VARARGS | METH_KEYWORDS },
8823 { "glTexCoord1fv", (PyCFunction) _wrap_glTexCoord1fv, METH_VARARGS | METH_KEYWORDS },
8824 { "glTexCoord1f", (PyCFunction) _wrap_glTexCoord1f, METH_VARARGS | METH_KEYWORDS },
8825 { "glTexCoord1dv", (PyCFunction) _wrap_glTexCoord1dv, METH_VARARGS | METH_KEYWORDS },
8826 { "glTexCoord1d", (PyCFunction) _wrap_glTexCoord1d, METH_VARARGS | METH_KEYWORDS },
8827 { "glStencilOp", (PyCFunction) _wrap_glStencilOp, METH_VARARGS | METH_KEYWORDS },
8828 { "glStencilMask", (PyCFunction) _wrap_glStencilMask, METH_VARARGS | METH_KEYWORDS },
8829 { "glStencilFunc", (PyCFunction) _wrap_glStencilFunc, METH_VARARGS | METH_KEYWORDS },
8830 { "glShadeModel", (PyCFunction) _wrap_glShadeModel, METH_VARARGS | METH_KEYWORDS },
8831 { "glSelectBuffer", (PyCFunction) _wrap_glSelectBuffer, METH_VARARGS | METH_KEYWORDS },
8832 { "glScissor", (PyCFunction) _wrap_glScissor, METH_VARARGS | METH_KEYWORDS },
8833 { "glScalef", (PyCFunction) _wrap_glScalef, METH_VARARGS | METH_KEYWORDS },
8834 { "glScaled", (PyCFunction) _wrap_glScaled, METH_VARARGS | METH_KEYWORDS },
8835 { "glRotatef", (PyCFunction) _wrap_glRotatef, METH_VARARGS | METH_KEYWORDS },
8836 { "glRotated", (PyCFunction) _wrap_glRotated, METH_VARARGS | METH_KEYWORDS },
8837 { "glRenderMode", (PyCFunction) _wrap_glRenderMode, METH_VARARGS | METH_KEYWORDS },
8838 { "glRectsv", (PyCFunction) _wrap_glRectsv, METH_VARARGS | METH_KEYWORDS },
8839 { "glRects", (PyCFunction) _wrap_glRects, METH_VARARGS | METH_KEYWORDS },
8840 { "glRectiv", (PyCFunction) _wrap_glRectiv, METH_VARARGS | METH_KEYWORDS },
8841 { "glRecti", (PyCFunction) _wrap_glRecti, METH_VARARGS | METH_KEYWORDS },
8842 { "glRectfv", (PyCFunction) _wrap_glRectfv, METH_VARARGS | METH_KEYWORDS },
8843 { "glRectf", (PyCFunction) _wrap_glRectf, METH_VARARGS | METH_KEYWORDS },
8844 { "glRectdv", (PyCFunction) _wrap_glRectdv, METH_VARARGS | METH_KEYWORDS },
8845 { "glRectd", (PyCFunction) _wrap_glRectd, METH_VARARGS | METH_KEYWORDS },
8846 { "glReadPixels", (PyCFunction) _wrap_glReadPixels, METH_VARARGS | METH_KEYWORDS },
8847 { "glReadBuffer", (PyCFunction) _wrap_glReadBuffer, METH_VARARGS | METH_KEYWORDS },
8848 { "glRasterPos4sv", (PyCFunction) _wrap_glRasterPos4sv, METH_VARARGS | METH_KEYWORDS },
8849 { "glRasterPos4s", (PyCFunction) _wrap_glRasterPos4s, METH_VARARGS | METH_KEYWORDS },
8850 { "glRasterPos4iv", (PyCFunction) _wrap_glRasterPos4iv, METH_VARARGS | METH_KEYWORDS },
8851 { "glRasterPos4i", (PyCFunction) _wrap_glRasterPos4i, METH_VARARGS | METH_KEYWORDS },
8852 { "glRasterPos4fv", (PyCFunction) _wrap_glRasterPos4fv, METH_VARARGS | METH_KEYWORDS },
8853 { "glRasterPos4f", (PyCFunction) _wrap_glRasterPos4f, METH_VARARGS | METH_KEYWORDS },
8854 { "glRasterPos4dv", (PyCFunction) _wrap_glRasterPos4dv, METH_VARARGS | METH_KEYWORDS },
8855 { "glRasterPos4d", (PyCFunction) _wrap_glRasterPos4d, METH_VARARGS | METH_KEYWORDS },
8856 { "glRasterPos3sv", (PyCFunction) _wrap_glRasterPos3sv, METH_VARARGS | METH_KEYWORDS },
8857 { "glRasterPos3s", (PyCFunction) _wrap_glRasterPos3s, METH_VARARGS | METH_KEYWORDS },
8858 { "glRasterPos3iv", (PyCFunction) _wrap_glRasterPos3iv, METH_VARARGS | METH_KEYWORDS },
8859 { "glRasterPos3i", (PyCFunction) _wrap_glRasterPos3i, METH_VARARGS | METH_KEYWORDS },
8860 { "glRasterPos3fv", (PyCFunction) _wrap_glRasterPos3fv, METH_VARARGS | METH_KEYWORDS },
8861 { "glRasterPos3f", (PyCFunction) _wrap_glRasterPos3f, METH_VARARGS | METH_KEYWORDS },
8862 { "glRasterPos3dv", (PyCFunction) _wrap_glRasterPos3dv, METH_VARARGS | METH_KEYWORDS },
8863 { "glRasterPos3d", (PyCFunction) _wrap_glRasterPos3d, METH_VARARGS | METH_KEYWORDS },
8864 { "glRasterPos2sv", (PyCFunction) _wrap_glRasterPos2sv, METH_VARARGS | METH_KEYWORDS },
8865 { "glRasterPos2s", (PyCFunction) _wrap_glRasterPos2s, METH_VARARGS | METH_KEYWORDS },
8866 { "glRasterPos2iv", (PyCFunction) _wrap_glRasterPos2iv, METH_VARARGS | METH_KEYWORDS },
8867 { "glRasterPos2i", (PyCFunction) _wrap_glRasterPos2i, METH_VARARGS | METH_KEYWORDS },
8868 { "glRasterPos2fv", (PyCFunction) _wrap_glRasterPos2fv, METH_VARARGS | METH_KEYWORDS },
8869 { "glRasterPos2f", (PyCFunction) _wrap_glRasterPos2f, METH_VARARGS | METH_KEYWORDS },
8870 { "glRasterPos2dv", (PyCFunction) _wrap_glRasterPos2dv, METH_VARARGS | METH_KEYWORDS },
8871 { "glRasterPos2d", (PyCFunction) _wrap_glRasterPos2d, METH_VARARGS | METH_KEYWORDS },
8872 { "glPushName", (PyCFunction) _wrap_glPushName, METH_VARARGS | METH_KEYWORDS },
8873 { "glPushMatrix", (PyCFunction) _wrap_glPushMatrix, METH_VARARGS | METH_KEYWORDS },
8874 { "glPushClientAttrib", (PyCFunction) _wrap_glPushClientAttrib, METH_VARARGS | METH_KEYWORDS },
8875 { "glPushAttrib", (PyCFunction) _wrap_glPushAttrib, METH_VARARGS | METH_KEYWORDS },
8876 { "glPrioritizeTextures", (PyCFunction) _wrap_glPrioritizeTextures, METH_VARARGS | METH_KEYWORDS },
8877 { "glPopName", (PyCFunction) _wrap_glPopName, METH_VARARGS | METH_KEYWORDS },
8878 { "glPopMatrix", (PyCFunction) _wrap_glPopMatrix, METH_VARARGS | METH_KEYWORDS },
8879 { "glPopClientAttrib", (PyCFunction) _wrap_glPopClientAttrib, METH_VARARGS | METH_KEYWORDS },
8880 { "glPopAttrib", (PyCFunction) _wrap_glPopAttrib, METH_VARARGS | METH_KEYWORDS },
8881 { "glPolygonStipple", (PyCFunction) _wrap_glPolygonStipple, METH_VARARGS | METH_KEYWORDS },
8882 { "glPolygonOffset", (PyCFunction) _wrap_glPolygonOffset, METH_VARARGS | METH_KEYWORDS },
8883 { "glPolygonMode", (PyCFunction) _wrap_glPolygonMode, METH_VARARGS | METH_KEYWORDS },
8884 { "glPointSize", (PyCFunction) _wrap_glPointSize, METH_VARARGS | METH_KEYWORDS },
8885 { "glPixelZoom", (PyCFunction) _wrap_glPixelZoom, METH_VARARGS | METH_KEYWORDS },
8886 { "glPixelTransferi", (PyCFunction) _wrap_glPixelTransferi, METH_VARARGS | METH_KEYWORDS },
8887 { "glPixelTransferf", (PyCFunction) _wrap_glPixelTransferf, METH_VARARGS | METH_KEYWORDS },
8888 { "glPixelStorei", (PyCFunction) _wrap_glPixelStorei, METH_VARARGS | METH_KEYWORDS },
8889 { "glPixelStoref", (PyCFunction) _wrap_glPixelStoref, METH_VARARGS | METH_KEYWORDS },
8890 { "glPixelMapusv", (PyCFunction) _wrap_glPixelMapusv, METH_VARARGS | METH_KEYWORDS },
8891 { "glPixelMapuiv", (PyCFunction) _wrap_glPixelMapuiv, METH_VARARGS | METH_KEYWORDS },
8892 { "glPixelMapfv", (PyCFunction) _wrap_glPixelMapfv, METH_VARARGS | METH_KEYWORDS },
8893 { "glPassThrough", (PyCFunction) _wrap_glPassThrough, METH_VARARGS | METH_KEYWORDS },
8894 { "glOrtho", (PyCFunction) _wrap_glOrtho, METH_VARARGS | METH_KEYWORDS },
8895 { "glNormalPointer", (PyCFunction) _wrap_glNormalPointer, METH_VARARGS | METH_KEYWORDS },
8896 { "glNormal3sv", (PyCFunction) _wrap_glNormal3sv, METH_VARARGS | METH_KEYWORDS },
8897 { "glNormal3s", (PyCFunction) _wrap_glNormal3s, METH_VARARGS | METH_KEYWORDS },
8898 { "glNormal3iv", (PyCFunction) _wrap_glNormal3iv, METH_VARARGS | METH_KEYWORDS },
8899 { "glNormal3i", (PyCFunction) _wrap_glNormal3i, METH_VARARGS | METH_KEYWORDS },
8900 { "glNormal3fv", (PyCFunction) _wrap_glNormal3fv, METH_VARARGS | METH_KEYWORDS },
8901 { "glNormal3f", (PyCFunction) _wrap_glNormal3f, METH_VARARGS | METH_KEYWORDS },
8902 { "glNormal3dv", (PyCFunction) _wrap_glNormal3dv, METH_VARARGS | METH_KEYWORDS },
8903 { "glNormal3d", (PyCFunction) _wrap_glNormal3d, METH_VARARGS | METH_KEYWORDS },
8904 { "glNormal3bv", (PyCFunction) _wrap_glNormal3bv, METH_VARARGS | METH_KEYWORDS },
8905 { "glNormal3b", (PyCFunction) _wrap_glNormal3b, METH_VARARGS | METH_KEYWORDS },
8906 { "glNewList", (PyCFunction) _wrap_glNewList, METH_VARARGS | METH_KEYWORDS },
8907 { "glMultMatrixf", (PyCFunction) _wrap_glMultMatrixf, METH_VARARGS | METH_KEYWORDS },
8908 { "glMultMatrixd", (PyCFunction) _wrap_glMultMatrixd, METH_VARARGS | METH_KEYWORDS },
8909 { "glMatrixMode", (PyCFunction) _wrap_glMatrixMode, METH_VARARGS | METH_KEYWORDS },
8910 { "glMaterialiv", (PyCFunction) _wrap_glMaterialiv, METH_VARARGS | METH_KEYWORDS },
8911 { "glMateriali", (PyCFunction) _wrap_glMateriali, METH_VARARGS | METH_KEYWORDS },
8912 { "glMaterialfv", (PyCFunction) _wrap_glMaterialfv, METH_VARARGS | METH_KEYWORDS },
8913 { "glMaterialf", (PyCFunction) _wrap_glMaterialf, METH_VARARGS | METH_KEYWORDS },
8914 { "glMapGrid2f", (PyCFunction) _wrap_glMapGrid2f, METH_VARARGS | METH_KEYWORDS },
8915 { "glMapGrid2d", (PyCFunction) _wrap_glMapGrid2d, METH_VARARGS | METH_KEYWORDS },
8916 { "glMapGrid1f", (PyCFunction) _wrap_glMapGrid1f, METH_VARARGS | METH_KEYWORDS },
8917 { "glMapGrid1d", (PyCFunction) _wrap_glMapGrid1d, METH_VARARGS | METH_KEYWORDS },
8918 { "glMap2f", (PyCFunction) _wrap_glMap2f, METH_VARARGS | METH_KEYWORDS },
8919 { "glMap2d", (PyCFunction) _wrap_glMap2d, METH_VARARGS | METH_KEYWORDS },
8920 { "glMap1f", (PyCFunction) _wrap_glMap1f, METH_VARARGS | METH_KEYWORDS },
8921 { "glMap1d", (PyCFunction) _wrap_glMap1d, METH_VARARGS | METH_KEYWORDS },
8922 { "glLogicOp", (PyCFunction) _wrap_glLogicOp, METH_VARARGS | METH_KEYWORDS },
8923 { "glLoadName", (PyCFunction) _wrap_glLoadName, METH_VARARGS | METH_KEYWORDS },
8924 { "glLoadMatrixf", (PyCFunction) _wrap_glLoadMatrixf, METH_VARARGS | METH_KEYWORDS },
8925 { "glLoadMatrixd", (PyCFunction) _wrap_glLoadMatrixd, METH_VARARGS | METH_KEYWORDS },
8926 { "glLoadIdentity", (PyCFunction) _wrap_glLoadIdentity, METH_VARARGS | METH_KEYWORDS },
8927 { "glListBase", (PyCFunction) _wrap_glListBase, METH_VARARGS | METH_KEYWORDS },
8928 { "glLineWidth", (PyCFunction) _wrap_glLineWidth, METH_VARARGS | METH_KEYWORDS },
8929 { "glLineStipple", (PyCFunction) _wrap_glLineStipple, METH_VARARGS | METH_KEYWORDS },
8930 { "glLightiv", (PyCFunction) _wrap_glLightiv, METH_VARARGS | METH_KEYWORDS },
8931 { "glLighti", (PyCFunction) _wrap_glLighti, METH_VARARGS | METH_KEYWORDS },
8932 { "glLightfv", (PyCFunction) _wrap_glLightfv, METH_VARARGS | METH_KEYWORDS },
8933 { "glLightf", (PyCFunction) _wrap_glLightf, METH_VARARGS | METH_KEYWORDS },
8934 { "glLightModeliv", (PyCFunction) _wrap_glLightModeliv, METH_VARARGS | METH_KEYWORDS },
8935 { "glLightModeli", (PyCFunction) _wrap_glLightModeli, METH_VARARGS | METH_KEYWORDS },
8936 { "glLightModelfv", (PyCFunction) _wrap_glLightModelfv, METH_VARARGS | METH_KEYWORDS },
8937 { "glLightModelf", (PyCFunction) _wrap_glLightModelf, METH_VARARGS | METH_KEYWORDS },
8938 { "glIsTexture", (PyCFunction) _wrap_glIsTexture, METH_VARARGS | METH_KEYWORDS },
8939 { "glIsList", (PyCFunction) _wrap_glIsList, METH_VARARGS | METH_KEYWORDS },
8940 { "glIsEnabled", (PyCFunction) _wrap_glIsEnabled, METH_VARARGS | METH_KEYWORDS },
8941 { "glInterleavedArrays", (PyCFunction) _wrap_glInterleavedArrays, METH_VARARGS | METH_KEYWORDS },
8942 { "glInitNames", (PyCFunction) _wrap_glInitNames, METH_VARARGS | METH_KEYWORDS },
8943 { "glIndexubv", (PyCFunction) _wrap_glIndexubv, METH_VARARGS | METH_KEYWORDS },
8944 { "glIndexub", (PyCFunction) _wrap_glIndexub, METH_VARARGS | METH_KEYWORDS },
8945 { "glIndexsv", (PyCFunction) _wrap_glIndexsv, METH_VARARGS | METH_KEYWORDS },
8946 { "glIndexs", (PyCFunction) _wrap_glIndexs, METH_VARARGS | METH_KEYWORDS },
8947 { "glIndexiv", (PyCFunction) _wrap_glIndexiv, METH_VARARGS | METH_KEYWORDS },
8948 { "glIndexi", (PyCFunction) _wrap_glIndexi, METH_VARARGS | METH_KEYWORDS },
8949 { "glIndexfv", (PyCFunction) _wrap_glIndexfv, METH_VARARGS | METH_KEYWORDS },
8950 { "glIndexf", (PyCFunction) _wrap_glIndexf, METH_VARARGS | METH_KEYWORDS },
8951 { "glIndexdv", (PyCFunction) _wrap_glIndexdv, METH_VARARGS | METH_KEYWORDS },
8952 { "glIndexd", (PyCFunction) _wrap_glIndexd, METH_VARARGS | METH_KEYWORDS },
8953 { "glIndexPointer", (PyCFunction) _wrap_glIndexPointer, METH_VARARGS | METH_KEYWORDS },
8954 { "glIndexMask", (PyCFunction) _wrap_glIndexMask, METH_VARARGS | METH_KEYWORDS },
8955 { "glHint", (PyCFunction) _wrap_glHint, METH_VARARGS | METH_KEYWORDS },
8956 { "glGetTexParameteriv", (PyCFunction) _wrap_glGetTexParameteriv, METH_VARARGS | METH_KEYWORDS },
8957 { "glGetTexParameterfv", (PyCFunction) _wrap_glGetTexParameterfv, METH_VARARGS | METH_KEYWORDS },
8958 { "glGetTexLevelParameteriv", (PyCFunction) _wrap_glGetTexLevelParameteriv, METH_VARARGS | METH_KEYWORDS },
8959 { "glGetTexLevelParameterfv", (PyCFunction) _wrap_glGetTexLevelParameterfv, METH_VARARGS | METH_KEYWORDS },
8960 { "glGetTexImage", (PyCFunction) _wrap_glGetTexImage, METH_VARARGS | METH_KEYWORDS },
8961 { "glGetTexGeniv", (PyCFunction) _wrap_glGetTexGeniv, METH_VARARGS | METH_KEYWORDS },
8962 { "glGetTexGenfv", (PyCFunction) _wrap_glGetTexGenfv, METH_VARARGS | METH_KEYWORDS },
8963 { "glGetTexGendv", (PyCFunction) _wrap_glGetTexGendv, METH_VARARGS | METH_KEYWORDS },
8964 { "glGetTexEnviv", (PyCFunction) _wrap_glGetTexEnviv, METH_VARARGS | METH_KEYWORDS },
8965 { "glGetTexEnvfv", (PyCFunction) _wrap_glGetTexEnvfv, METH_VARARGS | METH_KEYWORDS },
8966 { "glGetString", (PyCFunction) _wrap_glGetString, METH_VARARGS | METH_KEYWORDS },
8967 { "glGetPolygonStipple", (PyCFunction) _wrap_glGetPolygonStipple, METH_VARARGS | METH_KEYWORDS },
8968 { "glGetPointerv", (PyCFunction) _wrap_glGetPointerv, METH_VARARGS | METH_KEYWORDS },
8969 { "glGetPixelMapusv", (PyCFunction) _wrap_glGetPixelMapusv, METH_VARARGS | METH_KEYWORDS },
8970 { "glGetPixelMapuiv", (PyCFunction) _wrap_glGetPixelMapuiv, METH_VARARGS | METH_KEYWORDS },
8971 { "glGetPixelMapfv", (PyCFunction) _wrap_glGetPixelMapfv, METH_VARARGS | METH_KEYWORDS },
8972 { "glGetMaterialiv", (PyCFunction) _wrap_glGetMaterialiv, METH_VARARGS | METH_KEYWORDS },
8973 { "glGetMaterialfv", (PyCFunction) _wrap_glGetMaterialfv, METH_VARARGS | METH_KEYWORDS },
8974 { "glGetMapiv", (PyCFunction) _wrap_glGetMapiv, METH_VARARGS | METH_KEYWORDS },
8975 { "glGetMapfv", (PyCFunction) _wrap_glGetMapfv, METH_VARARGS | METH_KEYWORDS },
8976 { "glGetMapdv", (PyCFunction) _wrap_glGetMapdv, METH_VARARGS | METH_KEYWORDS },
8977 { "glGetLightiv", (PyCFunction) _wrap_glGetLightiv, METH_VARARGS | METH_KEYWORDS },
8978 { "glGetLightfv", (PyCFunction) _wrap_glGetLightfv, METH_VARARGS | METH_KEYWORDS },
8979 { "glGetIntegerv", (PyCFunction) _wrap_glGetIntegerv, METH_VARARGS | METH_KEYWORDS },
8980 { "glGetFloatv", (PyCFunction) _wrap_glGetFloatv, METH_VARARGS | METH_KEYWORDS },
8981 { "glGetError", (PyCFunction) _wrap_glGetError, METH_VARARGS | METH_KEYWORDS },
8982 { "glGetDoublev", (PyCFunction) _wrap_glGetDoublev, METH_VARARGS | METH_KEYWORDS },
8983 { "glGetClipPlane", (PyCFunction) _wrap_glGetClipPlane, METH_VARARGS | METH_KEYWORDS },
8984 { "glGetBooleanv", (PyCFunction) _wrap_glGetBooleanv, METH_VARARGS | METH_KEYWORDS },
8985 { "glGenTextures", (PyCFunction) _wrap_glGenTextures, METH_VARARGS | METH_KEYWORDS },
8986 { "glGenLists", (PyCFunction) _wrap_glGenLists, METH_VARARGS | METH_KEYWORDS },
8987 { "glFrustum", (PyCFunction) _wrap_glFrustum, METH_VARARGS | METH_KEYWORDS },
8988 { "glFrontFace", (PyCFunction) _wrap_glFrontFace, METH_VARARGS | METH_KEYWORDS },
8989 { "glFogiv", (PyCFunction) _wrap_glFogiv, METH_VARARGS | METH_KEYWORDS },
8990 { "glFogi", (PyCFunction) _wrap_glFogi, METH_VARARGS | METH_KEYWORDS },
8991 { "glFogfv", (PyCFunction) _wrap_glFogfv, METH_VARARGS | METH_KEYWORDS },
8992 { "glFogf", (PyCFunction) _wrap_glFogf, METH_VARARGS | METH_KEYWORDS },
8993 { "glFlush", (PyCFunction) _wrap_glFlush, METH_VARARGS | METH_KEYWORDS },
8994 { "glFinish", (PyCFunction) _wrap_glFinish, METH_VARARGS | METH_KEYWORDS },
8995 { "glFeedbackBuffer", (PyCFunction) _wrap_glFeedbackBuffer, METH_VARARGS | METH_KEYWORDS },
8996 { "glEvalPoint2", (PyCFunction) _wrap_glEvalPoint2, METH_VARARGS | METH_KEYWORDS },
8997 { "glEvalPoint1", (PyCFunction) _wrap_glEvalPoint1, METH_VARARGS | METH_KEYWORDS },
8998 { "glEvalMesh2", (PyCFunction) _wrap_glEvalMesh2, METH_VARARGS | METH_KEYWORDS },
8999 { "glEvalMesh1", (PyCFunction) _wrap_glEvalMesh1, METH_VARARGS | METH_KEYWORDS },
9000 { "glEvalCoord2fv", (PyCFunction) _wrap_glEvalCoord2fv, METH_VARARGS | METH_KEYWORDS },
9001 { "glEvalCoord2f", (PyCFunction) _wrap_glEvalCoord2f, METH_VARARGS | METH_KEYWORDS },
9002 { "glEvalCoord2dv", (PyCFunction) _wrap_glEvalCoord2dv, METH_VARARGS | METH_KEYWORDS },
9003 { "glEvalCoord2d", (PyCFunction) _wrap_glEvalCoord2d, METH_VARARGS | METH_KEYWORDS },
9004 { "glEvalCoord1fv", (PyCFunction) _wrap_glEvalCoord1fv, METH_VARARGS | METH_KEYWORDS },
9005 { "glEvalCoord1f", (PyCFunction) _wrap_glEvalCoord1f, METH_VARARGS | METH_KEYWORDS },
9006 { "glEvalCoord1dv", (PyCFunction) _wrap_glEvalCoord1dv, METH_VARARGS | METH_KEYWORDS },
9007 { "glEvalCoord1d", (PyCFunction) _wrap_glEvalCoord1d, METH_VARARGS | METH_KEYWORDS },
9008 { "glEndList", (PyCFunction) _wrap_glEndList, METH_VARARGS | METH_KEYWORDS },
9009 { "glEnd", (PyCFunction) _wrap_glEnd, METH_VARARGS | METH_KEYWORDS },
9010 { "glEnableClientState", (PyCFunction) _wrap_glEnableClientState, METH_VARARGS | METH_KEYWORDS },
9011 { "glEnable", (PyCFunction) _wrap_glEnable, METH_VARARGS | METH_KEYWORDS },
9012 { "glEdgeFlagv", (PyCFunction) _wrap_glEdgeFlagv, METH_VARARGS | METH_KEYWORDS },
9013 { "glEdgeFlagPointer", (PyCFunction) _wrap_glEdgeFlagPointer, METH_VARARGS | METH_KEYWORDS },
9014 { "glEdgeFlag", (PyCFunction) _wrap_glEdgeFlag, METH_VARARGS | METH_KEYWORDS },
9015 { "glDrawPixels", (PyCFunction) _wrap_glDrawPixels, METH_VARARGS | METH_KEYWORDS },
9016 { "glDrawElements", (PyCFunction) _wrap_glDrawElements, METH_VARARGS | METH_KEYWORDS },
9017 { "glDrawBuffer", (PyCFunction) _wrap_glDrawBuffer, METH_VARARGS | METH_KEYWORDS },
9018 { "glDrawArrays", (PyCFunction) _wrap_glDrawArrays, METH_VARARGS | METH_KEYWORDS },
9019 { "glDisableClientState", (PyCFunction) _wrap_glDisableClientState, METH_VARARGS | METH_KEYWORDS },
9020 { "glDisable", (PyCFunction) _wrap_glDisable, METH_VARARGS | METH_KEYWORDS },
9021 { "glDepthRange", (PyCFunction) _wrap_glDepthRange, METH_VARARGS | METH_KEYWORDS },
9022 { "glDepthMask", (PyCFunction) _wrap_glDepthMask, METH_VARARGS | METH_KEYWORDS },
9023 { "glDepthFunc", (PyCFunction) _wrap_glDepthFunc, METH_VARARGS | METH_KEYWORDS },
9024 { "glDeleteTextures", (PyCFunction) _wrap_glDeleteTextures, METH_VARARGS | METH_KEYWORDS },
9025 { "glDeleteLists", (PyCFunction) _wrap_glDeleteLists, METH_VARARGS | METH_KEYWORDS },
9026 { "glCullFace", (PyCFunction) _wrap_glCullFace, METH_VARARGS | METH_KEYWORDS },
9027 { "glCopyTexSubImage2D", (PyCFunction) _wrap_glCopyTexSubImage2D, METH_VARARGS | METH_KEYWORDS },
9028 { "glCopyTexSubImage1D", (PyCFunction) _wrap_glCopyTexSubImage1D, METH_VARARGS | METH_KEYWORDS },
9029 { "glCopyTexImage2D", (PyCFunction) _wrap_glCopyTexImage2D, METH_VARARGS | METH_KEYWORDS },
9030 { "glCopyTexImage1D", (PyCFunction) _wrap_glCopyTexImage1D, METH_VARARGS | METH_KEYWORDS },
9031 { "glCopyPixels", (PyCFunction) _wrap_glCopyPixels, METH_VARARGS | METH_KEYWORDS },
9032 { "glColorPointer", (PyCFunction) _wrap_glColorPointer, METH_VARARGS | METH_KEYWORDS },
9033 { "glColorMaterial", (PyCFunction) _wrap_glColorMaterial, METH_VARARGS | METH_KEYWORDS },
9034 { "glColorMask", (PyCFunction) _wrap_glColorMask, METH_VARARGS | METH_KEYWORDS },
9035 { "glColor4usv", (PyCFunction) _wrap_glColor4usv, METH_VARARGS | METH_KEYWORDS },
9036 { "glColor4us", (PyCFunction) _wrap_glColor4us, METH_VARARGS | METH_KEYWORDS },
9037 { "glColor4uiv", (PyCFunction) _wrap_glColor4uiv, METH_VARARGS | METH_KEYWORDS },
9038 { "glColor4ui", (PyCFunction) _wrap_glColor4ui, METH_VARARGS | METH_KEYWORDS },
9039 { "glColor4ubv", (PyCFunction) _wrap_glColor4ubv, METH_VARARGS | METH_KEYWORDS },
9040 { "glColor4ub", (PyCFunction) _wrap_glColor4ub, METH_VARARGS | METH_KEYWORDS },
9041 { "glColor4sv", (PyCFunction) _wrap_glColor4sv, METH_VARARGS | METH_KEYWORDS },
9042 { "glColor4s", (PyCFunction) _wrap_glColor4s, METH_VARARGS | METH_KEYWORDS },
9043 { "glColor4iv", (PyCFunction) _wrap_glColor4iv, METH_VARARGS | METH_KEYWORDS },
9044 { "glColor4i", (PyCFunction) _wrap_glColor4i, METH_VARARGS | METH_KEYWORDS },
9045 { "glColor4fv", (PyCFunction) _wrap_glColor4fv, METH_VARARGS | METH_KEYWORDS },
9046 { "glColor4f", (PyCFunction) _wrap_glColor4f, METH_VARARGS | METH_KEYWORDS },
9047 { "glColor4dv", (PyCFunction) _wrap_glColor4dv, METH_VARARGS | METH_KEYWORDS },
9048 { "glColor4d", (PyCFunction) _wrap_glColor4d, METH_VARARGS | METH_KEYWORDS },
9049 { "glColor4bv", (PyCFunction) _wrap_glColor4bv, METH_VARARGS | METH_KEYWORDS },
9050 { "glColor4b", (PyCFunction) _wrap_glColor4b, METH_VARARGS | METH_KEYWORDS },
9051 { "glColor3usv", (PyCFunction) _wrap_glColor3usv, METH_VARARGS | METH_KEYWORDS },
9052 { "glColor3us", (PyCFunction) _wrap_glColor3us, METH_VARARGS | METH_KEYWORDS },
9053 { "glColor3uiv", (PyCFunction) _wrap_glColor3uiv, METH_VARARGS | METH_KEYWORDS },
9054 { "glColor3ui", (PyCFunction) _wrap_glColor3ui, METH_VARARGS | METH_KEYWORDS },
9055 { "glColor3ubv", (PyCFunction) _wrap_glColor3ubv, METH_VARARGS | METH_KEYWORDS },
9056 { "glColor3ub", (PyCFunction) _wrap_glColor3ub, METH_VARARGS | METH_KEYWORDS },
9057 { "glColor3sv", (PyCFunction) _wrap_glColor3sv, METH_VARARGS | METH_KEYWORDS },
9058 { "glColor3s", (PyCFunction) _wrap_glColor3s, METH_VARARGS | METH_KEYWORDS },
9059 { "glColor3iv", (PyCFunction) _wrap_glColor3iv, METH_VARARGS | METH_KEYWORDS },
9060 { "glColor3i", (PyCFunction) _wrap_glColor3i, METH_VARARGS | METH_KEYWORDS },
9061 { "glColor3fv", (PyCFunction) _wrap_glColor3fv, METH_VARARGS | METH_KEYWORDS },
9062 { "glColor3f", (PyCFunction) _wrap_glColor3f, METH_VARARGS | METH_KEYWORDS },
9063 { "glColor3dv", (PyCFunction) _wrap_glColor3dv, METH_VARARGS | METH_KEYWORDS },
9064 { "glColor3d", (PyCFunction) _wrap_glColor3d, METH_VARARGS | METH_KEYWORDS },
9065 { "glColor3bv", (PyCFunction) _wrap_glColor3bv, METH_VARARGS | METH_KEYWORDS },
9066 { "glColor3b", (PyCFunction) _wrap_glColor3b, METH_VARARGS | METH_KEYWORDS },
9067 { "glClipPlane", (PyCFunction) _wrap_glClipPlane, METH_VARARGS | METH_KEYWORDS },
9068 { "glClearStencil", (PyCFunction) _wrap_glClearStencil, METH_VARARGS | METH_KEYWORDS },
9069 { "glClearIndex", (PyCFunction) _wrap_glClearIndex, METH_VARARGS | METH_KEYWORDS },
9070 { "glClearDepth", (PyCFunction) _wrap_glClearDepth, METH_VARARGS | METH_KEYWORDS },
9071 { "glClearColor", (PyCFunction) _wrap_glClearColor, METH_VARARGS | METH_KEYWORDS },
9072 { "glClearAccum", (PyCFunction) _wrap_glClearAccum, METH_VARARGS | METH_KEYWORDS },
9073 { "glClear", (PyCFunction) _wrap_glClear, METH_VARARGS | METH_KEYWORDS },
9074 { "glCallLists", (PyCFunction) _wrap_glCallLists, METH_VARARGS | METH_KEYWORDS },
9075 { "glCallList", (PyCFunction) _wrap_glCallList, METH_VARARGS | METH_KEYWORDS },
9076 { "glBlendFunc", (PyCFunction) _wrap_glBlendFunc, METH_VARARGS | METH_KEYWORDS },
9077 { "glBitmap", (PyCFunction) _wrap_glBitmap, METH_VARARGS | METH_KEYWORDS },
9078 { "glBindTexture", (PyCFunction) _wrap_glBindTexture, METH_VARARGS | METH_KEYWORDS },
9079 { "glBegin", (PyCFunction) _wrap_glBegin, METH_VARARGS | METH_KEYWORDS },
9080 { "glArrayElement", (PyCFunction) _wrap_glArrayElement, METH_VARARGS | METH_KEYWORDS },
9081 { "glAreTexturesResident", (PyCFunction) _wrap_glAreTexturesResident, METH_VARARGS | METH_KEYWORDS },
9082 { "glAlphaFunc", (PyCFunction) _wrap_glAlphaFunc, METH_VARARGS | METH_KEYWORDS },
9083 { "glAccum", (PyCFunction) _wrap_glAccum, METH_VARARGS | METH_KEYWORDS },
9084 { "glGetColorTableEXT", (PyCFunction) _wrap_glGetColorTableEXT, METH_VARARGS | METH_KEYWORDS },
9085 { "glColorTableEXT", (PyCFunction) _wrap_glColorTableEXT, METH_VARARGS | METH_KEYWORDS },
9086 { "glVertexPointerEXT", (PyCFunction) _wrap_glVertexPointerEXT, METH_VARARGS | METH_KEYWORDS },
9087 { "glTexCoordPointerEXT", (PyCFunction) _wrap_glTexCoordPointerEXT, METH_VARARGS | METH_KEYWORDS },
9088 { "glNormalPointerEXT", (PyCFunction) _wrap_glNormalPointerEXT, METH_VARARGS | METH_KEYWORDS },
9089 { "glIndexPointerEXT", (PyCFunction) _wrap_glIndexPointerEXT, METH_VARARGS | METH_KEYWORDS },
9090 { "glGetPointervEXT", (PyCFunction) _wrap_glGetPointervEXT, METH_VARARGS | METH_KEYWORDS },
9091 { "glEdgeFlagPointerEXT", (PyCFunction) _wrap_glEdgeFlagPointerEXT, METH_VARARGS | METH_KEYWORDS },
9092 { "glDrawArraysEXT", (PyCFunction) _wrap_glDrawArraysEXT, METH_VARARGS | METH_KEYWORDS },
9093 { "glColorPointerEXT", (PyCFunction) _wrap_glColorPointerEXT, METH_VARARGS | METH_KEYWORDS },
9094 { "glArrayElementEXT", (PyCFunction) _wrap_glArrayElementEXT, METH_VARARGS | METH_KEYWORDS },
9095 { NULL, NULL }
9096 };
9097 #ifdef __cplusplus
9098 }
9099 #endif
9100 /*
9101 * This table is used by the pointer type-checker
9102 */
9103 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
9104 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9105 { "_wxEvent","_class_wxEvent",0},
9106 { "_class_wxActivateEvent","_wxActivateEvent",0},
9107 { "_GLfloat","_GLclampf",0},
9108 { "_GLfloat","_float",0},
9109 { "_signed_long","_long",0},
9110 { "_wxMenuEvent","_class_wxMenuEvent",0},
9111 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
9112 { "_wxBMPHandler","_class_wxBMPHandler",0},
9113 { "_wxImage","_class_wxImage",0},
9114 { "_double","_GLclampd",0},
9115 { "_double","_GLdouble",0},
9116 { "_wxPrintQuality","_GLuint",0},
9117 { "_wxPrintQuality","_GLsizei",0},
9118 { "_wxPrintQuality","_GLint",0},
9119 { "_wxPrintQuality","_GLbitfield",0},
9120 { "_wxPrintQuality","_GLenum",0},
9121 { "_wxPrintQuality","_int",0},
9122 { "_wxPrintQuality","_signed_int",0},
9123 { "_wxPrintQuality","_unsigned_int",0},
9124 { "_wxPrintQuality","_wxWindowID",0},
9125 { "_wxPrintQuality","_uint",0},
9126 { "_wxPrintQuality","_EBool",0},
9127 { "_wxPrintQuality","_size_t",0},
9128 { "_wxFontData","_class_wxFontData",0},
9129 { "___wxPyCleanup","_class___wxPyCleanup",0},
9130 { "_class_wxRegionIterator","_wxRegionIterator",0},
9131 { "_class_wxMenuBar","_wxMenuBar",0},
9132 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
9133 { "_class_wxEvtHandler","_class_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler},
9134 { "_class_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler},
9135 { "_class_wxEvtHandler","_wxEvtHandler",0},
9136 { "_wxPaintEvent","_class_wxPaintEvent",0},
9137 { "_wxGIFHandler","_class_wxGIFHandler",0},
9138 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9139 { "_wxCursor","_class_wxCursor",0},
9140 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
9141 { "_wxImageHandler","_class_wxImageHandler",0},
9142 { "_GLsizei","_GLuint",0},
9143 { "_GLsizei","_int",0},
9144 { "_GLsizei","_signed_int",0},
9145 { "_GLsizei","_unsigned_int",0},
9146 { "_GLsizei","_wxWindowID",0},
9147 { "_GLsizei","_uint",0},
9148 { "_GLsizei","_EBool",0},
9149 { "_GLsizei","_size_t",0},
9150 { "_GLsizei","_wxPrintQuality",0},
9151 { "_GLsizei","_GLenum",0},
9152 { "_GLsizei","_GLbitfield",0},
9153 { "_GLsizei","_GLint",0},
9154 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
9155 { "_wxMask","_class_wxMask",0},
9156 { "_wxToolTip","_class_wxToolTip",0},
9157 { "_wxGrid","_class_wxGrid",0},
9158 { "_wxPNGHandler","_class_wxPNGHandler",0},
9159 { "_class_wxColourData","_wxColourData",0},
9160 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
9161 { "_wxPrinter","_class_wxPrinter",0},
9162 { "_GLbyte","_signed_char",0},
9163 { "_wxPen","_class_wxPen",0},
9164 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
9165 { "_byte","_GLubyte",0},
9166 { "_byte","_GLboolean",0},
9167 { "_byte","_unsigned_char",0},
9168 { "_wxStaticBox","_class_wxStaticBox",0},
9169 { "_wxChoice","_class_wxChoice",0},
9170 { "_wxSlider","_class_wxSlider",0},
9171 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
9172 { "_wxPyPrintout","_class_wxPyPrintout",0},
9173 { "_long","_wxDash",0},
9174 { "_long","_unsigned_long",0},
9175 { "_long","_signed_long",0},
9176 { "_wxImageList","_class_wxImageList",0},
9177 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
9178 { "_wxBitmapButton","_class_wxBitmapButton",0},
9179 { "_wxSashWindow","_class_wxSashWindow",0},
9180 { "_GLenum","_GLuint",0},
9181 { "_GLenum","_GLsizei",0},
9182 { "_GLenum","_GLint",0},
9183 { "_GLenum","_GLbitfield",0},
9184 { "_GLenum","_unsigned_int",0},
9185 { "_GLenum","_int",0},
9186 { "_GLenum","_wxWindowID",0},
9187 { "_GLenum","_uint",0},
9188 { "_GLenum","_size_t",0},
9189 { "_GLenum","_wxPrintQuality",0},
9190 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
9191 { "_wxGLContext","_class_wxGLContext",0},
9192 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9193 { "_class_wxGauge","_wxGauge",0},
9194 { "_class_wxSashEvent","_wxSashEvent",0},
9195 { "_float","_GLclampf",0},
9196 { "_float","_GLfloat",0},
9197 { "_wxDC","_class_wxDC",0},
9198 { "_wxListEvent","_class_wxListEvent",0},
9199 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
9200 { "_wxProgressDialog","_class_wxProgressDialog",0},
9201 { "_class_wxBMPHandler","_wxBMPHandler",0},
9202 { "_wxPrintPreview","_class_wxPrintPreview",0},
9203 { "_wxSpinEvent","_class_wxSpinEvent",0},
9204 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
9205 { "_size_t","_GLuint",0},
9206 { "_size_t","_GLsizei",0},
9207 { "_size_t","_GLint",0},
9208 { "_size_t","_GLbitfield",0},
9209 { "_size_t","_GLenum",0},
9210 { "_size_t","_wxPrintQuality",0},
9211 { "_size_t","_unsigned_int",0},
9212 { "_size_t","_int",0},
9213 { "_size_t","_wxWindowID",0},
9214 { "_size_t","_uint",0},
9215 { "_class_wxRealPoint","_wxRealPoint",0},
9216 { "_class_wxMenuItem","_wxMenuItem",0},
9217 { "_class_wxPaintEvent","_wxPaintEvent",0},
9218 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
9219 { "_class_wxStatusBar","_wxStatusBar",0},
9220 { "_class_wxGIFHandler","_wxGIFHandler",0},
9221 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
9222 { "_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel},
9223 { "_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel},
9224 { "_wxPanel","_class_wxPanel",0},
9225 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
9226 { "_wxCheckBox","_class_wxCheckBox",0},
9227 { "_wxPyEvent","_class_wxPyEvent",0},
9228 { "_wxTextCtrl","_class_wxTextCtrl",0},
9229 { "_signed_char","_GLbyte",0},
9230 { "_class_wxMask","_wxMask",0},
9231 { "_class_wxToolTip","_wxToolTip",0},
9232 { "_class_wxKeyEvent","_wxKeyEvent",0},
9233 { "_class_wxGrid","_wxGrid",0},
9234 { "_class_wxPNGHandler","_wxPNGHandler",0},
9235 { "_wxColour","_class_wxColour",0},
9236 { "_class_wxDialog","_wxDialog",0},
9237 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
9238 { "_class_wxPrinter","_wxPrinter",0},
9239 { "_wxIdleEvent","_class_wxIdleEvent",0},
9240 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
9241 { "_wxToolBar","_class_wxToolBar",0},
9242 { "_wxStaticLine","_class_wxStaticLine",0},
9243 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
9244 { "_wxBrush","_class_wxBrush",0},
9245 { "_wxMiniFrame","_class_wxMiniFrame",0},
9246 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
9247 { "_class_wxPyPrintout","_wxPyPrintout",0},
9248 { "_class_wxSashWindow","_wxSashWindow",0},
9249 { "_GLuint","_unsigned_int",0},
9250 { "_GLuint","_int",0},
9251 { "_GLuint","_wxWindowID",0},
9252 { "_GLuint","_uint",0},
9253 { "_GLuint","_size_t",0},
9254 { "_GLuint","_wxPrintQuality",0},
9255 { "_GLuint","_GLenum",0},
9256 { "_GLuint","_GLbitfield",0},
9257 { "_GLuint","_GLint",0},
9258 { "_GLuint","_GLsizei",0},
9259 { "_wxShowEvent","_class_wxShowEvent",0},
9260 { "_uint","_GLuint",0},
9261 { "_uint","_GLsizei",0},
9262 { "_uint","_GLint",0},
9263 { "_uint","_GLbitfield",0},
9264 { "_uint","_GLenum",0},
9265 { "_uint","_wxPrintQuality",0},
9266 { "_uint","_size_t",0},
9267 { "_uint","_unsigned_int",0},
9268 { "_uint","_int",0},
9269 { "_uint","_wxWindowID",0},
9270 { "_class_wxEvent","_wxEvent",0},
9271 { "_wxCheckListBox","_class_wxCheckListBox",0},
9272 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
9273 { "_wxGridEvent","_class_wxGridEvent",0},
9274 { "_wxRect","_class_wxRect",0},
9275 { "_wxCommandEvent","_class_wxCommandEvent",0},
9276 { "_wxSizeEvent","_class_wxSizeEvent",0},
9277 { "_class_wxImage","_wxImage",0},
9278 { "_GLclampd","_double",0},
9279 { "_GLclampd","_GLdouble",0},
9280 { "_wxPoint","_class_wxPoint",0},
9281 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
9282 { "_class_wxButton","_wxButton",0},
9283 { "_wxRadioBox","_class_wxRadioBox",0},
9284 { "_class_wxFontData","_wxFontData",0},
9285 { "_class___wxPyCleanup","___wxPyCleanup",0},
9286 { "_GLclampf","_float",0},
9287 { "_GLclampf","_GLfloat",0},
9288 { "_wxBitmap","_class_wxBitmap",0},
9289 { "_wxPrintDialog","_class_wxPrintDialog",0},
9290 { "_wxPyTimer","_class_wxPyTimer",0},
9291 { "_wxWindowDC","_class_wxWindowDC",0},
9292 { "_wxScrollBar","_class_wxScrollBar",0},
9293 { "_wxSpinButton","_class_wxSpinButton",0},
9294 { "_wxToolBarTool","_class_wxToolBarTool",0},
9295 { "_wxColourDialog","_class_wxColourDialog",0},
9296 { "_wxPrintData","_class_wxPrintData",0},
9297 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9298 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
9299 { "_wxMessageDialog","_class_wxMessageDialog",0},
9300 { "_GLbitfield","_GLuint",0},
9301 { "_GLbitfield","_GLsizei",0},
9302 { "_GLbitfield","_GLint",0},
9303 { "_GLbitfield","_unsigned_int",0},
9304 { "_GLbitfield","_int",0},
9305 { "_GLbitfield","_wxWindowID",0},
9306 { "_GLbitfield","_uint",0},
9307 { "_GLbitfield","_size_t",0},
9308 { "_GLbitfield","_wxPrintQuality",0},
9309 { "_GLbitfield","_GLenum",0},
9310 { "_class_wxPyEvent","_wxPyEvent",0},
9311 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
9312 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
9313 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
9314 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
9315 { "_wxListItem","_class_wxListItem",0},
9316 { "_class_wxToolBar","_wxToolBar",0},
9317 { "_class_wxStaticLine","_wxStaticLine",0},
9318 { "_wxScrollEvent","_class_wxScrollEvent",0},
9319 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
9320 { "_EBool","_GLsizei",0},
9321 { "_EBool","_GLint",0},
9322 { "_EBool","_wxPrintQuality",0},
9323 { "_EBool","_signed_int",0},
9324 { "_EBool","_int",0},
9325 { "_EBool","_wxWindowID",0},
9326 { "_class_wxRegion","_wxRegion",0},
9327 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
9328 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
9329 { "_wxStaticText","_class_wxStaticText",0},
9330 { "_wxFont","_class_wxFont",0},
9331 { "_wxCloseEvent","_class_wxCloseEvent",0},
9332 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
9333 { "_wxNotebook","_class_wxNotebook",0},
9334 { "_unsigned_long","_wxDash",0},
9335 { "_unsigned_long","_long",0},
9336 { "_class_wxRect","_wxRect",0},
9337 { "_class_wxDC","_wxDC",0},
9338 { "_class_wxProgressDialog","_wxProgressDialog",0},
9339 { "_wxPyApp","_class_wxPyApp",0},
9340 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
9341 { "_class_wxTreeEvent","_wxTreeEvent",0},
9342 { "_class_wxDirDialog","_wxDirDialog",0},
9343 { "_class_wxPyTimer","_wxPyTimer",0},
9344 { "_wxFocusEvent","_class_wxFocusEvent",0},
9345 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
9346 { "_class_wxSpinButton","_wxSpinButton",0},
9347 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9348 { "_class_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel},
9349 { "_class_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel},
9350 { "_class_wxPanel","_wxPanel",0},
9351 { "_class_wxCheckBox","_wxCheckBox",0},
9352 { "_wxComboBox","_class_wxComboBox",0},
9353 { "_wxRadioButton","_class_wxRadioButton",0},
9354 { "_class_wxMessageDialog","_wxMessageDialog",0},
9355 { "_signed_int","_GLsizei",0},
9356 { "_signed_int","_GLint",0},
9357 { "_signed_int","_wxPrintQuality",0},
9358 { "_signed_int","_EBool",0},
9359 { "_signed_int","_wxWindowID",0},
9360 { "_signed_int","_int",0},
9361 { "_class_wxTextCtrl","_wxTextCtrl",0},
9362 { "_GLboolean","_GLubyte",0},
9363 { "_GLboolean","_unsigned_char",0},
9364 { "_GLboolean","_byte",0},
9365 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9366 { "_wxMenu","_class_wxMenu",0},
9367 { "_class_wxMoveEvent","_wxMoveEvent",0},
9368 { "_wxListBox","_class_wxListBox",0},
9369 { "_wxScreenDC","_class_wxScreenDC",0},
9370 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
9371 { "_WXTYPE","_GLushort",0},
9372 { "_WXTYPE","_GLshort",0},
9373 { "_WXTYPE","_short",0},
9374 { "_WXTYPE","_signed_short",0},
9375 { "_WXTYPE","_unsigned_short",0},
9376 { "_wxFileDialog","_class_wxFileDialog",0},
9377 { "_GLshort","_GLushort",0},
9378 { "_GLshort","_short",0},
9379 { "_GLshort","_signed_short",0},
9380 { "_GLshort","_unsigned_short",0},
9381 { "_GLshort","_WXTYPE",0},
9382 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
9383 { "_class_wxBrush","_wxBrush",0},
9384 { "_unsigned_short","_GLushort",0},
9385 { "_unsigned_short","_GLshort",0},
9386 { "_unsigned_short","_WXTYPE",0},
9387 { "_unsigned_short","_short",0},
9388 { "_class_wxWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxWindow},
9389 { "_class_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow},
9390 { "_class_wxWindow","_wxWindow",0},
9391 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
9392 { "_class_wxStaticText","_wxStaticText",0},
9393 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
9394 { "_GLushort","_unsigned_short",0},
9395 { "_GLushort","_short",0},
9396 { "_GLushort","_WXTYPE",0},
9397 { "_GLushort","_GLshort",0},
9398 { "_class_wxFont","_wxFont",0},
9399 { "_class_wxCloseEvent","_wxCloseEvent",0},
9400 { "_wxSashEvent","_class_wxSashEvent",0},
9401 { "_class_wxMenuEvent","_wxMenuEvent",0},
9402 { "_wxClientDC","_class_wxClientDC",0},
9403 { "_wxMouseEvent","_class_wxMouseEvent",0},
9404 { "_wxListCtrl","_class_wxListCtrl",0},
9405 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
9406 { "_wxGLCanvas","_class_wxGLCanvas",0},
9407 { "_class_wxPoint","_wxPoint",0},
9408 { "_wxRealPoint","_class_wxRealPoint",0},
9409 { "_class_wxRadioBox","_wxRadioBox",0},
9410 { "_wxGridCell","_class_wxGridCell",0},
9411 { "_signed_short","_GLshort",0},
9412 { "_signed_short","_WXTYPE",0},
9413 { "_signed_short","_short",0},
9414 { "_wxMemoryDC","_class_wxMemoryDC",0},
9415 { "_class_wxPrintDialog","_wxPrintDialog",0},
9416 { "_wxPaintDC","_class_wxPaintDC",0},
9417 { "_class_wxWindowDC","_wxWindowDC",0},
9418 { "_class_wxFocusEvent","_wxFocusEvent",0},
9419 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
9420 { "_wxStatusBar","_class_wxStatusBar",0},
9421 { "_class_wxToolBarTool","_wxToolBarTool",0},
9422 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9423 { "_class_wxCursor","_wxCursor",0},
9424 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
9425 { "_class_wxImageHandler","_wxImageHandler",0},
9426 { "_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow},
9427 { "_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow},
9428 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
9429 { "_wxTreeItemId","_class_wxTreeItemId",0},
9430 { "_unsigned_char","_GLubyte",0},
9431 { "_unsigned_char","_GLboolean",0},
9432 { "_unsigned_char","_byte",0},
9433 { "_class_wxMenu","_wxMenu",0},
9434 { "_wxControl","_class_wxControl",0},
9435 { "_class_wxListBox","_wxListBox",0},
9436 { "_unsigned_int","_GLuint",0},
9437 { "_unsigned_int","_GLsizei",0},
9438 { "_unsigned_int","_GLint",0},
9439 { "_unsigned_int","_GLbitfield",0},
9440 { "_unsigned_int","_GLenum",0},
9441 { "_unsigned_int","_wxPrintQuality",0},
9442 { "_unsigned_int","_size_t",0},
9443 { "_unsigned_int","_uint",0},
9444 { "_unsigned_int","_wxWindowID",0},
9445 { "_unsigned_int","_int",0},
9446 { "_wxIcon","_class_wxIcon",0},
9447 { "_wxDialog","_class_wxDialog",0},
9448 { "_class_wxListItem","_wxListItem",0},
9449 { "_GLdouble","_GLclampd",0},
9450 { "_GLdouble","_double",0},
9451 { "_class_wxPen","_wxPen",0},
9452 { "_class_wxFileDialog","_wxFileDialog",0},
9453 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
9454 { "_short","_GLushort",0},
9455 { "_short","_GLshort",0},
9456 { "_short","_WXTYPE",0},
9457 { "_short","_unsigned_short",0},
9458 { "_short","_signed_short",0},
9459 { "_class_wxStaticBox","_wxStaticBox",0},
9460 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
9461 { "_class_wxScrollEvent","_wxScrollEvent",0},
9462 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
9463 { "_class_wxChoice","_wxChoice",0},
9464 { "_class_wxSlider","_wxSlider",0},
9465 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
9466 { "_class_wxImageList","_wxImageList",0},
9467 { "_class_wxBitmapButton","_wxBitmapButton",0},
9468 { "_wxFrame","_class_wxFrame",0},
9469 { "_class_wxGLContext","_wxGLContext",0},
9470 { "_class_wxNotebook","_wxNotebook",0},
9471 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
9472 { "_wxWindowID","_GLuint",0},
9473 { "_wxWindowID","_GLsizei",0},
9474 { "_wxWindowID","_GLint",0},
9475 { "_wxWindowID","_GLbitfield",0},
9476 { "_wxWindowID","_GLenum",0},
9477 { "_wxWindowID","_wxPrintQuality",0},
9478 { "_wxWindowID","_size_t",0},
9479 { "_wxWindowID","_EBool",0},
9480 { "_wxWindowID","_uint",0},
9481 { "_wxWindowID","_int",0},
9482 { "_wxWindowID","_signed_int",0},
9483 { "_wxWindowID","_unsigned_int",0},
9484 { "_int","_GLuint",0},
9485 { "_int","_GLsizei",0},
9486 { "_int","_GLint",0},
9487 { "_int","_GLbitfield",0},
9488 { "_int","_GLenum",0},
9489 { "_int","_wxPrintQuality",0},
9490 { "_int","_size_t",0},
9491 { "_int","_EBool",0},
9492 { "_int","_uint",0},
9493 { "_int","_wxWindowID",0},
9494 { "_int","_unsigned_int",0},
9495 { "_int","_signed_int",0},
9496 { "_class_wxMouseEvent","_wxMouseEvent",0},
9497 { "_class_wxListEvent","_wxListEvent",0},
9498 { "_class_wxPrintPreview","_wxPrintPreview",0},
9499 { "_class_wxSpinEvent","_wxSpinEvent",0},
9500 { "_wxButton","_class_wxButton",0},
9501 { "_class_wxPyApp","_wxPyApp",0},
9502 { "_wxSize","_class_wxSize",0},
9503 { "_wxRegionIterator","_class_wxRegionIterator",0},
9504 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
9505 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
9506 { "_class_wxPaintDC","_wxPaintDC",0},
9507 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
9508 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
9509 { "_class_wxComboBox","_wxComboBox",0},
9510 { "_class_wxRadioButton","_wxRadioButton",0},
9511 { "_class_wxTreeItemId","_wxTreeItemId",0},
9512 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
9513 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9514 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
9515 { "_class_wxControl","_wxControl",0},
9516 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
9517 { "_class_wxIcon","_wxIcon",0},
9518 { "_class_wxColour","_wxColour",0},
9519 { "_class_wxScreenDC","_wxScreenDC",0},
9520 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
9521 { "_wxPalette","_class_wxPalette",0},
9522 { "_class_wxIdleEvent","_wxIdleEvent",0},
9523 { "_wxEraseEvent","_class_wxEraseEvent",0},
9524 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
9525 { "_class_wxMiniFrame","_wxMiniFrame",0},
9526 { "_wxFontDialog","_class_wxFontDialog",0},
9527 { "_wxRegion","_class_wxRegion",0},
9528 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
9529 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
9530 { "_class_wxShowEvent","_wxShowEvent",0},
9531 { "_GLint","_GLuint",0},
9532 { "_GLint","_GLsizei",0},
9533 { "_GLint","_int",0},
9534 { "_GLint","_signed_int",0},
9535 { "_GLint","_unsigned_int",0},
9536 { "_GLint","_wxWindowID",0},
9537 { "_GLint","_uint",0},
9538 { "_GLint","_EBool",0},
9539 { "_GLint","_size_t",0},
9540 { "_GLint","_wxPrintQuality",0},
9541 { "_GLint","_GLenum",0},
9542 { "_GLint","_GLbitfield",0},
9543 { "_wxActivateEvent","_class_wxActivateEvent",0},
9544 { "_wxGauge","_class_wxGauge",0},
9545 { "_class_wxCheckListBox","_wxCheckListBox",0},
9546 { "_class_wxGridEvent","_wxGridEvent",0},
9547 { "_class_wxCommandEvent","_wxCommandEvent",0},
9548 { "_GLubyte","_unsigned_char",0},
9549 { "_GLubyte","_byte",0},
9550 { "_GLubyte","_GLboolean",0},
9551 { "_class_wxClientDC","_wxClientDC",0},
9552 { "_class_wxSizeEvent","_wxSizeEvent",0},
9553 { "_class_wxListCtrl","_wxListCtrl",0},
9554 { "_class_wxGLCanvas","_wxGLCanvas",0},
9555 { "_class_wxGridCell","_wxGridCell",0},
9556 { "_class_wxSize","_wxSize",0},
9557 { "_class_wxBitmap","_wxBitmap",0},
9558 { "_class_wxMemoryDC","_wxMemoryDC",0},
9559 { "_wxMenuBar","_class_wxMenuBar",0},
9560 { "_wxTreeEvent","_class_wxTreeEvent",0},
9561 { "_wxDirDialog","_class_wxDirDialog",0},
9562 { "_wxEvtHandler","_class_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler},
9563 { "_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler},
9564 { "_wxEvtHandler","_class_wxEvtHandler",0},
9565 { "_wxMenuItem","_class_wxMenuItem",0},
9566 { "_class_wxScrollBar","_wxScrollBar",0},
9567 { "_class_wxColourDialog","_wxColourDialog",0},
9568 { "_class_wxPrintData","_wxPrintData",0},
9569 { "_wxDash","_unsigned_long",0},
9570 { "_wxDash","_long",0},
9571 { "_class_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow},
9572 { "_class_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow},
9573 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9574 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
9575 { "_wxKeyEvent","_class_wxKeyEvent",0},
9576 { "_wxMoveEvent","_class_wxMoveEvent",0},
9577 { "_wxColourData","_class_wxColourData",0},
9578 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
9579 { "_class_wxPalette","_wxPalette",0},
9580 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
9581 { "_class_wxEraseEvent","_wxEraseEvent",0},
9582 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
9583 { "_class_wxFontDialog","_wxFontDialog",0},
9584 { "_wxWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxWindow},
9585 { "_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow},
9586 { "_wxWindow","_class_wxWindow",0},
9587 { "_class_wxFrame","_wxFrame",0},
9588 {0,0,0}};
9589
9590 static PyObject *SWIG_globals;
9591 #ifdef __cplusplus
9592 extern "C"
9593 #endif
9594 SWIGEXPORT(void) initglcanvasc() {
9595 PyObject *m, *d;
9596 SWIG_globals = SWIG_newvarlink();
9597 m = Py_InitModule("glcanvasc", glcanvascMethods);
9598 d = PyModule_GetDict(m);
9599 PyDict_SetItemString(d,"GL_2D", PyInt_FromLong((long) GL_2D));
9600 PyDict_SetItemString(d,"GL_2_BYTES", PyInt_FromLong((long) GL_2_BYTES));
9601 PyDict_SetItemString(d,"GL_3D", PyInt_FromLong((long) GL_3D));
9602 PyDict_SetItemString(d,"GL_3D_COLOR", PyInt_FromLong((long) GL_3D_COLOR));
9603 PyDict_SetItemString(d,"GL_3D_COLOR_TEXTURE", PyInt_FromLong((long) GL_3D_COLOR_TEXTURE));
9604 PyDict_SetItemString(d,"GL_3_BYTES", PyInt_FromLong((long) GL_3_BYTES));
9605 PyDict_SetItemString(d,"GL_4D_COLOR_TEXTURE", PyInt_FromLong((long) GL_4D_COLOR_TEXTURE));
9606 PyDict_SetItemString(d,"GL_4_BYTES", PyInt_FromLong((long) GL_4_BYTES));
9607 PyDict_SetItemString(d,"GL_ACCUM", PyInt_FromLong((long) GL_ACCUM));
9608 PyDict_SetItemString(d,"GL_ACCUM_ALPHA_BITS", PyInt_FromLong((long) GL_ACCUM_ALPHA_BITS));
9609 PyDict_SetItemString(d,"GL_ACCUM_BLUE_BITS", PyInt_FromLong((long) GL_ACCUM_BLUE_BITS));
9610 PyDict_SetItemString(d,"GL_ACCUM_BUFFER_BIT", PyInt_FromLong((long) GL_ACCUM_BUFFER_BIT));
9611 PyDict_SetItemString(d,"GL_ACCUM_CLEAR_VALUE", PyInt_FromLong((long) GL_ACCUM_CLEAR_VALUE));
9612 PyDict_SetItemString(d,"GL_ACCUM_GREEN_BITS", PyInt_FromLong((long) GL_ACCUM_GREEN_BITS));
9613 PyDict_SetItemString(d,"GL_ACCUM_RED_BITS", PyInt_FromLong((long) GL_ACCUM_RED_BITS));
9614 PyDict_SetItemString(d,"GL_ADD", PyInt_FromLong((long) GL_ADD));
9615 PyDict_SetItemString(d,"GL_ALL_ATTRIB_BITS", PyInt_FromLong((long) GL_ALL_ATTRIB_BITS));
9616 PyDict_SetItemString(d,"GL_ALPHA", PyInt_FromLong((long) GL_ALPHA));
9617 PyDict_SetItemString(d,"GL_ALPHA12", PyInt_FromLong((long) GL_ALPHA12));
9618 PyDict_SetItemString(d,"GL_ALPHA16", PyInt_FromLong((long) GL_ALPHA16));
9619 PyDict_SetItemString(d,"GL_ALPHA4", PyInt_FromLong((long) GL_ALPHA4));
9620 PyDict_SetItemString(d,"GL_ALPHA8", PyInt_FromLong((long) GL_ALPHA8));
9621 PyDict_SetItemString(d,"GL_ALPHA_BIAS", PyInt_FromLong((long) GL_ALPHA_BIAS));
9622 PyDict_SetItemString(d,"GL_ALPHA_BITS", PyInt_FromLong((long) GL_ALPHA_BITS));
9623 PyDict_SetItemString(d,"GL_ALPHA_SCALE", PyInt_FromLong((long) GL_ALPHA_SCALE));
9624 PyDict_SetItemString(d,"GL_ALPHA_TEST", PyInt_FromLong((long) GL_ALPHA_TEST));
9625 PyDict_SetItemString(d,"GL_ALPHA_TEST_FUNC", PyInt_FromLong((long) GL_ALPHA_TEST_FUNC));
9626 PyDict_SetItemString(d,"GL_ALPHA_TEST_REF", PyInt_FromLong((long) GL_ALPHA_TEST_REF));
9627 PyDict_SetItemString(d,"GL_ALWAYS", PyInt_FromLong((long) GL_ALWAYS));
9628 PyDict_SetItemString(d,"GL_AMBIENT", PyInt_FromLong((long) GL_AMBIENT));
9629 PyDict_SetItemString(d,"GL_AMBIENT_AND_DIFFUSE", PyInt_FromLong((long) GL_AMBIENT_AND_DIFFUSE));
9630 PyDict_SetItemString(d,"GL_AND", PyInt_FromLong((long) GL_AND));
9631 PyDict_SetItemString(d,"GL_AND_INVERTED", PyInt_FromLong((long) GL_AND_INVERTED));
9632 PyDict_SetItemString(d,"GL_AND_REVERSE", PyInt_FromLong((long) GL_AND_REVERSE));
9633 PyDict_SetItemString(d,"GL_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_ATTRIB_STACK_DEPTH));
9634 PyDict_SetItemString(d,"GL_AUTO_NORMAL", PyInt_FromLong((long) GL_AUTO_NORMAL));
9635 PyDict_SetItemString(d,"GL_AUX0", PyInt_FromLong((long) GL_AUX0));
9636 PyDict_SetItemString(d,"GL_AUX1", PyInt_FromLong((long) GL_AUX1));
9637 PyDict_SetItemString(d,"GL_AUX2", PyInt_FromLong((long) GL_AUX2));
9638 PyDict_SetItemString(d,"GL_AUX3", PyInt_FromLong((long) GL_AUX3));
9639 PyDict_SetItemString(d,"GL_AUX_BUFFERS", PyInt_FromLong((long) GL_AUX_BUFFERS));
9640 PyDict_SetItemString(d,"GL_BACK", PyInt_FromLong((long) GL_BACK));
9641 PyDict_SetItemString(d,"GL_BACK_LEFT", PyInt_FromLong((long) GL_BACK_LEFT));
9642 PyDict_SetItemString(d,"GL_BACK_RIGHT", PyInt_FromLong((long) GL_BACK_RIGHT));
9643 PyDict_SetItemString(d,"GL_BITMAP", PyInt_FromLong((long) GL_BITMAP));
9644 PyDict_SetItemString(d,"GL_BITMAP_TOKEN", PyInt_FromLong((long) GL_BITMAP_TOKEN));
9645 PyDict_SetItemString(d,"GL_BLEND", PyInt_FromLong((long) GL_BLEND));
9646 PyDict_SetItemString(d,"GL_BLEND_DST", PyInt_FromLong((long) GL_BLEND_DST));
9647 PyDict_SetItemString(d,"GL_BLEND_SRC", PyInt_FromLong((long) GL_BLEND_SRC));
9648 PyDict_SetItemString(d,"GL_BLUE", PyInt_FromLong((long) GL_BLUE));
9649 PyDict_SetItemString(d,"GL_BLUE_BIAS", PyInt_FromLong((long) GL_BLUE_BIAS));
9650 PyDict_SetItemString(d,"GL_BLUE_BITS", PyInt_FromLong((long) GL_BLUE_BITS));
9651 PyDict_SetItemString(d,"GL_BLUE_SCALE", PyInt_FromLong((long) GL_BLUE_SCALE));
9652 PyDict_SetItemString(d,"GL_BYTE", PyInt_FromLong((long) GL_BYTE));
9653 PyDict_SetItemString(d,"GL_C3F_V3F", PyInt_FromLong((long) GL_C3F_V3F));
9654 PyDict_SetItemString(d,"GL_C4F_N3F_V3F", PyInt_FromLong((long) GL_C4F_N3F_V3F));
9655 PyDict_SetItemString(d,"GL_C4UB_V2F", PyInt_FromLong((long) GL_C4UB_V2F));
9656 PyDict_SetItemString(d,"GL_C4UB_V3F", PyInt_FromLong((long) GL_C4UB_V3F));
9657 PyDict_SetItemString(d,"GL_CCW", PyInt_FromLong((long) GL_CCW));
9658 PyDict_SetItemString(d,"GL_CLAMP", PyInt_FromLong((long) GL_CLAMP));
9659 PyDict_SetItemString(d,"GL_CLEAR", PyInt_FromLong((long) GL_CLEAR));
9660 PyDict_SetItemString(d,"GL_CLIENT_ALL_ATTRIB_BITS", PyInt_FromLong((long) GL_CLIENT_ALL_ATTRIB_BITS));
9661 PyDict_SetItemString(d,"GL_CLIENT_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_CLIENT_ATTRIB_STACK_DEPTH));
9662 PyDict_SetItemString(d,"GL_CLIENT_PIXEL_STORE_BIT", PyInt_FromLong((long) GL_CLIENT_PIXEL_STORE_BIT));
9663 PyDict_SetItemString(d,"GL_CLIENT_VERTEX_ARRAY_BIT", PyInt_FromLong((long) GL_CLIENT_VERTEX_ARRAY_BIT));
9664 PyDict_SetItemString(d,"GL_CLIP_PLANE0", PyInt_FromLong((long) GL_CLIP_PLANE0));
9665 PyDict_SetItemString(d,"GL_CLIP_PLANE1", PyInt_FromLong((long) GL_CLIP_PLANE1));
9666 PyDict_SetItemString(d,"GL_CLIP_PLANE2", PyInt_FromLong((long) GL_CLIP_PLANE2));
9667 PyDict_SetItemString(d,"GL_CLIP_PLANE3", PyInt_FromLong((long) GL_CLIP_PLANE3));
9668 PyDict_SetItemString(d,"GL_CLIP_PLANE4", PyInt_FromLong((long) GL_CLIP_PLANE4));
9669 PyDict_SetItemString(d,"GL_CLIP_PLANE5", PyInt_FromLong((long) GL_CLIP_PLANE5));
9670 PyDict_SetItemString(d,"GL_COEFF", PyInt_FromLong((long) GL_COEFF));
9671 PyDict_SetItemString(d,"GL_COLOR", PyInt_FromLong((long) GL_COLOR));
9672 PyDict_SetItemString(d,"GL_COLOR_ARRAY", PyInt_FromLong((long) GL_COLOR_ARRAY));
9673 PyDict_SetItemString(d,"GL_COLOR_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_COUNT_EXT));
9674 PyDict_SetItemString(d,"GL_COLOR_ARRAY_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_EXT));
9675 PyDict_SetItemString(d,"GL_COLOR_ARRAY_POINTER", PyInt_FromLong((long) GL_COLOR_ARRAY_POINTER));
9676 PyDict_SetItemString(d,"GL_COLOR_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_POINTER_EXT));
9677 PyDict_SetItemString(d,"GL_COLOR_ARRAY_SIZE", PyInt_FromLong((long) GL_COLOR_ARRAY_SIZE));
9678 PyDict_SetItemString(d,"GL_COLOR_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_SIZE_EXT));
9679 PyDict_SetItemString(d,"GL_COLOR_ARRAY_STRIDE", PyInt_FromLong((long) GL_COLOR_ARRAY_STRIDE));
9680 PyDict_SetItemString(d,"GL_COLOR_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_STRIDE_EXT));
9681 PyDict_SetItemString(d,"GL_COLOR_ARRAY_TYPE", PyInt_FromLong((long) GL_COLOR_ARRAY_TYPE));
9682 PyDict_SetItemString(d,"GL_COLOR_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_TYPE_EXT));
9683 PyDict_SetItemString(d,"GL_COLOR_BUFFER_BIT", PyInt_FromLong((long) GL_COLOR_BUFFER_BIT));
9684 PyDict_SetItemString(d,"GL_COLOR_CLEAR_VALUE", PyInt_FromLong((long) GL_COLOR_CLEAR_VALUE));
9685 PyDict_SetItemString(d,"GL_COLOR_INDEX", PyInt_FromLong((long) GL_COLOR_INDEX));
9686 PyDict_SetItemString(d,"GL_COLOR_INDEX12_EXT", PyInt_FromLong((long) GL_COLOR_INDEX12_EXT));
9687 PyDict_SetItemString(d,"GL_COLOR_INDEX16_EXT", PyInt_FromLong((long) GL_COLOR_INDEX16_EXT));
9688 PyDict_SetItemString(d,"GL_COLOR_INDEX1_EXT", PyInt_FromLong((long) GL_COLOR_INDEX1_EXT));
9689 PyDict_SetItemString(d,"GL_COLOR_INDEX2_EXT", PyInt_FromLong((long) GL_COLOR_INDEX2_EXT));
9690 PyDict_SetItemString(d,"GL_COLOR_INDEX4_EXT", PyInt_FromLong((long) GL_COLOR_INDEX4_EXT));
9691 PyDict_SetItemString(d,"GL_COLOR_INDEX8_EXT", PyInt_FromLong((long) GL_COLOR_INDEX8_EXT));
9692 PyDict_SetItemString(d,"GL_COLOR_INDEXES", PyInt_FromLong((long) GL_COLOR_INDEXES));
9693 PyDict_SetItemString(d,"GL_COLOR_LOGIC_OP", PyInt_FromLong((long) GL_COLOR_LOGIC_OP));
9694 PyDict_SetItemString(d,"GL_COLOR_MATERIAL", PyInt_FromLong((long) GL_COLOR_MATERIAL));
9695 PyDict_SetItemString(d,"GL_COLOR_MATERIAL_FACE", PyInt_FromLong((long) GL_COLOR_MATERIAL_FACE));
9696 PyDict_SetItemString(d,"GL_COLOR_MATERIAL_PARAMETER", PyInt_FromLong((long) GL_COLOR_MATERIAL_PARAMETER));
9697 PyDict_SetItemString(d,"GL_COLOR_TABLE_ALPHA_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_ALPHA_SIZE_EXT));
9698 PyDict_SetItemString(d,"GL_COLOR_TABLE_BLUE_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_BLUE_SIZE_EXT));
9699 PyDict_SetItemString(d,"GL_COLOR_TABLE_FORMAT_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_FORMAT_EXT));
9700 PyDict_SetItemString(d,"GL_COLOR_TABLE_GREEN_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_GREEN_SIZE_EXT));
9701 PyDict_SetItemString(d,"GL_COLOR_TABLE_INTENSITY_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_INTENSITY_SIZE_EXT));
9702 PyDict_SetItemString(d,"GL_COLOR_TABLE_LUMINANCE_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_LUMINANCE_SIZE_EXT));
9703 PyDict_SetItemString(d,"GL_COLOR_TABLE_RED_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_RED_SIZE_EXT));
9704 PyDict_SetItemString(d,"GL_COLOR_TABLE_WIDTH_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_WIDTH_EXT));
9705 PyDict_SetItemString(d,"GL_COLOR_WRITEMASK", PyInt_FromLong((long) GL_COLOR_WRITEMASK));
9706 PyDict_SetItemString(d,"GL_COMPILE", PyInt_FromLong((long) GL_COMPILE));
9707 PyDict_SetItemString(d,"GL_COMPILE_AND_EXECUTE", PyInt_FromLong((long) GL_COMPILE_AND_EXECUTE));
9708 PyDict_SetItemString(d,"GL_CONSTANT_ATTENUATION", PyInt_FromLong((long) GL_CONSTANT_ATTENUATION));
9709 PyDict_SetItemString(d,"GL_COPY", PyInt_FromLong((long) GL_COPY));
9710 PyDict_SetItemString(d,"GL_COPY_INVERTED", PyInt_FromLong((long) GL_COPY_INVERTED));
9711 PyDict_SetItemString(d,"GL_COPY_PIXEL_TOKEN", PyInt_FromLong((long) GL_COPY_PIXEL_TOKEN));
9712 PyDict_SetItemString(d,"GL_CULL_FACE", PyInt_FromLong((long) GL_CULL_FACE));
9713 PyDict_SetItemString(d,"GL_CULL_FACE_MODE", PyInt_FromLong((long) GL_CULL_FACE_MODE));
9714 PyDict_SetItemString(d,"GL_CURRENT_BIT", PyInt_FromLong((long) GL_CURRENT_BIT));
9715 PyDict_SetItemString(d,"GL_CURRENT_COLOR", PyInt_FromLong((long) GL_CURRENT_COLOR));
9716 PyDict_SetItemString(d,"GL_CURRENT_INDEX", PyInt_FromLong((long) GL_CURRENT_INDEX));
9717 PyDict_SetItemString(d,"GL_CURRENT_NORMAL", PyInt_FromLong((long) GL_CURRENT_NORMAL));
9718 PyDict_SetItemString(d,"GL_CURRENT_RASTER_COLOR", PyInt_FromLong((long) GL_CURRENT_RASTER_COLOR));
9719 PyDict_SetItemString(d,"GL_CURRENT_RASTER_DISTANCE", PyInt_FromLong((long) GL_CURRENT_RASTER_DISTANCE));
9720 PyDict_SetItemString(d,"GL_CURRENT_RASTER_INDEX", PyInt_FromLong((long) GL_CURRENT_RASTER_INDEX));
9721 PyDict_SetItemString(d,"GL_CURRENT_RASTER_POSITION", PyInt_FromLong((long) GL_CURRENT_RASTER_POSITION));
9722 PyDict_SetItemString(d,"GL_CURRENT_RASTER_POSITION_VALID", PyInt_FromLong((long) GL_CURRENT_RASTER_POSITION_VALID));
9723 PyDict_SetItemString(d,"GL_CURRENT_RASTER_TEXTURE_COORDS", PyInt_FromLong((long) GL_CURRENT_RASTER_TEXTURE_COORDS));
9724 PyDict_SetItemString(d,"GL_CURRENT_TEXTURE_COORDS", PyInt_FromLong((long) GL_CURRENT_TEXTURE_COORDS));
9725 PyDict_SetItemString(d,"GL_CW", PyInt_FromLong((long) GL_CW));
9726 PyDict_SetItemString(d,"GL_DECAL", PyInt_FromLong((long) GL_DECAL));
9727 PyDict_SetItemString(d,"GL_DECR", PyInt_FromLong((long) GL_DECR));
9728 PyDict_SetItemString(d,"GL_DEPTH", PyInt_FromLong((long) GL_DEPTH));
9729 PyDict_SetItemString(d,"GL_DEPTH_BIAS", PyInt_FromLong((long) GL_DEPTH_BIAS));
9730 PyDict_SetItemString(d,"GL_DEPTH_BITS", PyInt_FromLong((long) GL_DEPTH_BITS));
9731 PyDict_SetItemString(d,"GL_DEPTH_BUFFER_BIT", PyInt_FromLong((long) GL_DEPTH_BUFFER_BIT));
9732 PyDict_SetItemString(d,"GL_DEPTH_CLEAR_VALUE", PyInt_FromLong((long) GL_DEPTH_CLEAR_VALUE));
9733 PyDict_SetItemString(d,"GL_DEPTH_COMPONENT", PyInt_FromLong((long) GL_DEPTH_COMPONENT));
9734 PyDict_SetItemString(d,"GL_DEPTH_FUNC", PyInt_FromLong((long) GL_DEPTH_FUNC));
9735 PyDict_SetItemString(d,"GL_DEPTH_RANGE", PyInt_FromLong((long) GL_DEPTH_RANGE));
9736 PyDict_SetItemString(d,"GL_DEPTH_SCALE", PyInt_FromLong((long) GL_DEPTH_SCALE));
9737 PyDict_SetItemString(d,"GL_DEPTH_TEST", PyInt_FromLong((long) GL_DEPTH_TEST));
9738 PyDict_SetItemString(d,"GL_DEPTH_WRITEMASK", PyInt_FromLong((long) GL_DEPTH_WRITEMASK));
9739 PyDict_SetItemString(d,"GL_DIFFUSE", PyInt_FromLong((long) GL_DIFFUSE));
9740 PyDict_SetItemString(d,"GL_DITHER", PyInt_FromLong((long) GL_DITHER));
9741 PyDict_SetItemString(d,"GL_DOMAIN", PyInt_FromLong((long) GL_DOMAIN));
9742 PyDict_SetItemString(d,"GL_DONT_CARE", PyInt_FromLong((long) GL_DONT_CARE));
9743 PyDict_SetItemString(d,"GL_DOUBLE", PyInt_FromLong((long) GL_DOUBLE));
9744 PyDict_SetItemString(d,"GL_DOUBLEBUFFER", PyInt_FromLong((long) GL_DOUBLEBUFFER));
9745 PyDict_SetItemString(d,"GL_DRAW_BUFFER", PyInt_FromLong((long) GL_DRAW_BUFFER));
9746 PyDict_SetItemString(d,"GL_DRAW_PIXEL_TOKEN", PyInt_FromLong((long) GL_DRAW_PIXEL_TOKEN));
9747 PyDict_SetItemString(d,"GL_DST_ALPHA", PyInt_FromLong((long) GL_DST_ALPHA));
9748 PyDict_SetItemString(d,"GL_DST_COLOR", PyInt_FromLong((long) GL_DST_COLOR));
9749 PyDict_SetItemString(d,"GL_EDGE_FLAG", PyInt_FromLong((long) GL_EDGE_FLAG));
9750 PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY));
9751 PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_COUNT_EXT));
9752 PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_EXT));
9753 PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_POINTER", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_POINTER));
9754 PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_POINTER_EXT));
9755 PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_STRIDE", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_STRIDE));
9756 PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_STRIDE_EXT));
9757 PyDict_SetItemString(d,"GL_EMISSION", PyInt_FromLong((long) GL_EMISSION));
9758 PyDict_SetItemString(d,"GL_ENABLE_BIT", PyInt_FromLong((long) GL_ENABLE_BIT));
9759 PyDict_SetItemString(d,"GL_EQUAL", PyInt_FromLong((long) GL_EQUAL));
9760 PyDict_SetItemString(d,"GL_EQUIV", PyInt_FromLong((long) GL_EQUIV));
9761 PyDict_SetItemString(d,"GL_EVAL_BIT", PyInt_FromLong((long) GL_EVAL_BIT));
9762 PyDict_SetItemString(d,"GL_EXP", PyInt_FromLong((long) GL_EXP));
9763 PyDict_SetItemString(d,"GL_EXP2", PyInt_FromLong((long) GL_EXP2));
9764 PyDict_SetItemString(d,"GL_EXTENSIONS", PyInt_FromLong((long) GL_EXTENSIONS));
9765 PyDict_SetItemString(d,"GL_EXT_paletted_texture", PyInt_FromLong((long) GL_EXT_paletted_texture));
9766 PyDict_SetItemString(d,"GL_EXT_vertex_array", PyInt_FromLong((long) GL_EXT_vertex_array));
9767 PyDict_SetItemString(d,"GL_EYE_LINEAR", PyInt_FromLong((long) GL_EYE_LINEAR));
9768 PyDict_SetItemString(d,"GL_EYE_PLANE", PyInt_FromLong((long) GL_EYE_PLANE));
9769 PyDict_SetItemString(d,"GL_FALSE", PyInt_FromLong((long) GL_FALSE));
9770 PyDict_SetItemString(d,"GL_FASTEST", PyInt_FromLong((long) GL_FASTEST));
9771 PyDict_SetItemString(d,"GL_FEEDBACK", PyInt_FromLong((long) GL_FEEDBACK));
9772 PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_POINTER", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_POINTER));
9773 PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_SIZE", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_SIZE));
9774 PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_TYPE", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_TYPE));
9775 PyDict_SetItemString(d,"GL_FILL", PyInt_FromLong((long) GL_FILL));
9776 PyDict_SetItemString(d,"GL_FLAT", PyInt_FromLong((long) GL_FLAT));
9777 PyDict_SetItemString(d,"GL_FLOAT", PyInt_FromLong((long) GL_FLOAT));
9778 PyDict_SetItemString(d,"GL_FOG", PyInt_FromLong((long) GL_FOG));
9779 PyDict_SetItemString(d,"GL_FOG_BIT", PyInt_FromLong((long) GL_FOG_BIT));
9780 PyDict_SetItemString(d,"GL_FOG_COLOR", PyInt_FromLong((long) GL_FOG_COLOR));
9781 PyDict_SetItemString(d,"GL_FOG_DENSITY", PyInt_FromLong((long) GL_FOG_DENSITY));
9782 PyDict_SetItemString(d,"GL_FOG_END", PyInt_FromLong((long) GL_FOG_END));
9783 PyDict_SetItemString(d,"GL_FOG_HINT", PyInt_FromLong((long) GL_FOG_HINT));
9784 PyDict_SetItemString(d,"GL_FOG_INDEX", PyInt_FromLong((long) GL_FOG_INDEX));
9785 PyDict_SetItemString(d,"GL_FOG_MODE", PyInt_FromLong((long) GL_FOG_MODE));
9786 PyDict_SetItemString(d,"GL_FOG_START", PyInt_FromLong((long) GL_FOG_START));
9787 PyDict_SetItemString(d,"GL_FRONT", PyInt_FromLong((long) GL_FRONT));
9788 PyDict_SetItemString(d,"GL_FRONT_AND_BACK", PyInt_FromLong((long) GL_FRONT_AND_BACK));
9789 PyDict_SetItemString(d,"GL_FRONT_FACE", PyInt_FromLong((long) GL_FRONT_FACE));
9790 PyDict_SetItemString(d,"GL_FRONT_LEFT", PyInt_FromLong((long) GL_FRONT_LEFT));
9791 PyDict_SetItemString(d,"GL_FRONT_RIGHT", PyInt_FromLong((long) GL_FRONT_RIGHT));
9792 PyDict_SetItemString(d,"GL_GEQUAL", PyInt_FromLong((long) GL_GEQUAL));
9793 PyDict_SetItemString(d,"GL_GREATER", PyInt_FromLong((long) GL_GREATER));
9794 PyDict_SetItemString(d,"GL_GREEN", PyInt_FromLong((long) GL_GREEN));
9795 PyDict_SetItemString(d,"GL_GREEN_BIAS", PyInt_FromLong((long) GL_GREEN_BIAS));
9796 PyDict_SetItemString(d,"GL_GREEN_BITS", PyInt_FromLong((long) GL_GREEN_BITS));
9797 PyDict_SetItemString(d,"GL_GREEN_SCALE", PyInt_FromLong((long) GL_GREEN_SCALE));
9798 PyDict_SetItemString(d,"GL_HINT_BIT", PyInt_FromLong((long) GL_HINT_BIT));
9799 PyDict_SetItemString(d,"GL_INCR", PyInt_FromLong((long) GL_INCR));
9800 PyDict_SetItemString(d,"GL_INDEX_ARRAY", PyInt_FromLong((long) GL_INDEX_ARRAY));
9801 PyDict_SetItemString(d,"GL_INDEX_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_COUNT_EXT));
9802 PyDict_SetItemString(d,"GL_INDEX_ARRAY_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_EXT));
9803 PyDict_SetItemString(d,"GL_INDEX_ARRAY_POINTER", PyInt_FromLong((long) GL_INDEX_ARRAY_POINTER));
9804 PyDict_SetItemString(d,"GL_INDEX_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_POINTER_EXT));
9805 PyDict_SetItemString(d,"GL_INDEX_ARRAY_STRIDE", PyInt_FromLong((long) GL_INDEX_ARRAY_STRIDE));
9806 PyDict_SetItemString(d,"GL_INDEX_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_STRIDE_EXT));
9807 PyDict_SetItemString(d,"GL_INDEX_ARRAY_TYPE", PyInt_FromLong((long) GL_INDEX_ARRAY_TYPE));
9808 PyDict_SetItemString(d,"GL_INDEX_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_TYPE_EXT));
9809 PyDict_SetItemString(d,"GL_INDEX_BITS", PyInt_FromLong((long) GL_INDEX_BITS));
9810 PyDict_SetItemString(d,"GL_INDEX_CLEAR_VALUE", PyInt_FromLong((long) GL_INDEX_CLEAR_VALUE));
9811 PyDict_SetItemString(d,"GL_INDEX_LOGIC_OP", PyInt_FromLong((long) GL_INDEX_LOGIC_OP));
9812 PyDict_SetItemString(d,"GL_INDEX_MODE", PyInt_FromLong((long) GL_INDEX_MODE));
9813 PyDict_SetItemString(d,"GL_INDEX_OFFSET", PyInt_FromLong((long) GL_INDEX_OFFSET));
9814 PyDict_SetItemString(d,"GL_INDEX_SHIFT", PyInt_FromLong((long) GL_INDEX_SHIFT));
9815 PyDict_SetItemString(d,"GL_INDEX_WRITEMASK", PyInt_FromLong((long) GL_INDEX_WRITEMASK));
9816 PyDict_SetItemString(d,"GL_INT", PyInt_FromLong((long) GL_INT));
9817 PyDict_SetItemString(d,"GL_INTENSITY", PyInt_FromLong((long) GL_INTENSITY));
9818 PyDict_SetItemString(d,"GL_INTENSITY12", PyInt_FromLong((long) GL_INTENSITY12));
9819 PyDict_SetItemString(d,"GL_INTENSITY16", PyInt_FromLong((long) GL_INTENSITY16));
9820 PyDict_SetItemString(d,"GL_INTENSITY4", PyInt_FromLong((long) GL_INTENSITY4));
9821 PyDict_SetItemString(d,"GL_INTENSITY8", PyInt_FromLong((long) GL_INTENSITY8));
9822 PyDict_SetItemString(d,"GL_INVALID_ENUM", PyInt_FromLong((long) GL_INVALID_ENUM));
9823 PyDict_SetItemString(d,"GL_INVALID_OPERATION", PyInt_FromLong((long) GL_INVALID_OPERATION));
9824 PyDict_SetItemString(d,"GL_INVALID_VALUE", PyInt_FromLong((long) GL_INVALID_VALUE));
9825 PyDict_SetItemString(d,"GL_INVERT", PyInt_FromLong((long) GL_INVERT));
9826 PyDict_SetItemString(d,"GL_KEEP", PyInt_FromLong((long) GL_KEEP));
9827 PyDict_SetItemString(d,"GL_LEFT", PyInt_FromLong((long) GL_LEFT));
9828 PyDict_SetItemString(d,"GL_LEQUAL", PyInt_FromLong((long) GL_LEQUAL));
9829 PyDict_SetItemString(d,"GL_LESS", PyInt_FromLong((long) GL_LESS));
9830 PyDict_SetItemString(d,"GL_LIGHT0", PyInt_FromLong((long) GL_LIGHT0));
9831 PyDict_SetItemString(d,"GL_LIGHT1", PyInt_FromLong((long) GL_LIGHT1));
9832 PyDict_SetItemString(d,"GL_LIGHT2", PyInt_FromLong((long) GL_LIGHT2));
9833 PyDict_SetItemString(d,"GL_LIGHT3", PyInt_FromLong((long) GL_LIGHT3));
9834 PyDict_SetItemString(d,"GL_LIGHT4", PyInt_FromLong((long) GL_LIGHT4));
9835 PyDict_SetItemString(d,"GL_LIGHT5", PyInt_FromLong((long) GL_LIGHT5));
9836 PyDict_SetItemString(d,"GL_LIGHT6", PyInt_FromLong((long) GL_LIGHT6));
9837 PyDict_SetItemString(d,"GL_LIGHT7", PyInt_FromLong((long) GL_LIGHT7));
9838 PyDict_SetItemString(d,"GL_LIGHTING", PyInt_FromLong((long) GL_LIGHTING));
9839 PyDict_SetItemString(d,"GL_LIGHTING_BIT", PyInt_FromLong((long) GL_LIGHTING_BIT));
9840 PyDict_SetItemString(d,"GL_LIGHT_MODEL_AMBIENT", PyInt_FromLong((long) GL_LIGHT_MODEL_AMBIENT));
9841 PyDict_SetItemString(d,"GL_LIGHT_MODEL_LOCAL_VIEWER", PyInt_FromLong((long) GL_LIGHT_MODEL_LOCAL_VIEWER));
9842 PyDict_SetItemString(d,"GL_LIGHT_MODEL_TWO_SIDE", PyInt_FromLong((long) GL_LIGHT_MODEL_TWO_SIDE));
9843 PyDict_SetItemString(d,"GL_LINE", PyInt_FromLong((long) GL_LINE));
9844 PyDict_SetItemString(d,"GL_LINEAR", PyInt_FromLong((long) GL_LINEAR));
9845 PyDict_SetItemString(d,"GL_LINEAR_ATTENUATION", PyInt_FromLong((long) GL_LINEAR_ATTENUATION));
9846 PyDict_SetItemString(d,"GL_LINEAR_MIPMAP_LINEAR", PyInt_FromLong((long) GL_LINEAR_MIPMAP_LINEAR));
9847 PyDict_SetItemString(d,"GL_LINEAR_MIPMAP_NEAREST", PyInt_FromLong((long) GL_LINEAR_MIPMAP_NEAREST));
9848 PyDict_SetItemString(d,"GL_LINES", PyInt_FromLong((long) GL_LINES));
9849 PyDict_SetItemString(d,"GL_LINE_BIT", PyInt_FromLong((long) GL_LINE_BIT));
9850 PyDict_SetItemString(d,"GL_LINE_LOOP", PyInt_FromLong((long) GL_LINE_LOOP));
9851 PyDict_SetItemString(d,"GL_LINE_RESET_TOKEN", PyInt_FromLong((long) GL_LINE_RESET_TOKEN));
9852 PyDict_SetItemString(d,"GL_LINE_SMOOTH", PyInt_FromLong((long) GL_LINE_SMOOTH));
9853 PyDict_SetItemString(d,"GL_LINE_SMOOTH_HINT", PyInt_FromLong((long) GL_LINE_SMOOTH_HINT));
9854 PyDict_SetItemString(d,"GL_LINE_STIPPLE", PyInt_FromLong((long) GL_LINE_STIPPLE));
9855 PyDict_SetItemString(d,"GL_LINE_STIPPLE_PATTERN", PyInt_FromLong((long) GL_LINE_STIPPLE_PATTERN));
9856 PyDict_SetItemString(d,"GL_LINE_STIPPLE_REPEAT", PyInt_FromLong((long) GL_LINE_STIPPLE_REPEAT));
9857 PyDict_SetItemString(d,"GL_LINE_STRIP", PyInt_FromLong((long) GL_LINE_STRIP));
9858 PyDict_SetItemString(d,"GL_LINE_TOKEN", PyInt_FromLong((long) GL_LINE_TOKEN));
9859 PyDict_SetItemString(d,"GL_LINE_WIDTH", PyInt_FromLong((long) GL_LINE_WIDTH));
9860 PyDict_SetItemString(d,"GL_LINE_WIDTH_GRANULARITY", PyInt_FromLong((long) GL_LINE_WIDTH_GRANULARITY));
9861 PyDict_SetItemString(d,"GL_LINE_WIDTH_RANGE", PyInt_FromLong((long) GL_LINE_WIDTH_RANGE));
9862 PyDict_SetItemString(d,"GL_LIST_BASE", PyInt_FromLong((long) GL_LIST_BASE));
9863 PyDict_SetItemString(d,"GL_LIST_BIT", PyInt_FromLong((long) GL_LIST_BIT));
9864 PyDict_SetItemString(d,"GL_LIST_INDEX", PyInt_FromLong((long) GL_LIST_INDEX));
9865 PyDict_SetItemString(d,"GL_LIST_MODE", PyInt_FromLong((long) GL_LIST_MODE));
9866 PyDict_SetItemString(d,"GL_LOAD", PyInt_FromLong((long) GL_LOAD));
9867 PyDict_SetItemString(d,"GL_LOGIC_OP", PyInt_FromLong((long) GL_LOGIC_OP));
9868 PyDict_SetItemString(d,"GL_LOGIC_OP_MODE", PyInt_FromLong((long) GL_LOGIC_OP_MODE));
9869 PyDict_SetItemString(d,"GL_LUMINANCE", PyInt_FromLong((long) GL_LUMINANCE));
9870 PyDict_SetItemString(d,"GL_LUMINANCE12", PyInt_FromLong((long) GL_LUMINANCE12));
9871 PyDict_SetItemString(d,"GL_LUMINANCE12_ALPHA12", PyInt_FromLong((long) GL_LUMINANCE12_ALPHA12));
9872 PyDict_SetItemString(d,"GL_LUMINANCE12_ALPHA4", PyInt_FromLong((long) GL_LUMINANCE12_ALPHA4));
9873 PyDict_SetItemString(d,"GL_LUMINANCE16", PyInt_FromLong((long) GL_LUMINANCE16));
9874 PyDict_SetItemString(d,"GL_LUMINANCE16_ALPHA16", PyInt_FromLong((long) GL_LUMINANCE16_ALPHA16));
9875 PyDict_SetItemString(d,"GL_LUMINANCE4", PyInt_FromLong((long) GL_LUMINANCE4));
9876 PyDict_SetItemString(d,"GL_LUMINANCE4_ALPHA4", PyInt_FromLong((long) GL_LUMINANCE4_ALPHA4));
9877 PyDict_SetItemString(d,"GL_LUMINANCE6_ALPHA2", PyInt_FromLong((long) GL_LUMINANCE6_ALPHA2));
9878 PyDict_SetItemString(d,"GL_LUMINANCE8", PyInt_FromLong((long) GL_LUMINANCE8));
9879 PyDict_SetItemString(d,"GL_LUMINANCE8_ALPHA8", PyInt_FromLong((long) GL_LUMINANCE8_ALPHA8));
9880 PyDict_SetItemString(d,"GL_LUMINANCE_ALPHA", PyInt_FromLong((long) GL_LUMINANCE_ALPHA));
9881 PyDict_SetItemString(d,"GL_MAP1_COLOR_4", PyInt_FromLong((long) GL_MAP1_COLOR_4));
9882 PyDict_SetItemString(d,"GL_MAP1_GRID_DOMAIN", PyInt_FromLong((long) GL_MAP1_GRID_DOMAIN));
9883 PyDict_SetItemString(d,"GL_MAP1_GRID_SEGMENTS", PyInt_FromLong((long) GL_MAP1_GRID_SEGMENTS));
9884 PyDict_SetItemString(d,"GL_MAP1_INDEX", PyInt_FromLong((long) GL_MAP1_INDEX));
9885 PyDict_SetItemString(d,"GL_MAP1_NORMAL", PyInt_FromLong((long) GL_MAP1_NORMAL));
9886 PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_1", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_1));
9887 PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_2", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_2));
9888 PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_3", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_3));
9889 PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_4", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_4));
9890 PyDict_SetItemString(d,"GL_MAP1_VERTEX_3", PyInt_FromLong((long) GL_MAP1_VERTEX_3));
9891 PyDict_SetItemString(d,"GL_MAP1_VERTEX_4", PyInt_FromLong((long) GL_MAP1_VERTEX_4));
9892 PyDict_SetItemString(d,"GL_MAP2_COLOR_4", PyInt_FromLong((long) GL_MAP2_COLOR_4));
9893 PyDict_SetItemString(d,"GL_MAP2_GRID_DOMAIN", PyInt_FromLong((long) GL_MAP2_GRID_DOMAIN));
9894 PyDict_SetItemString(d,"GL_MAP2_GRID_SEGMENTS", PyInt_FromLong((long) GL_MAP2_GRID_SEGMENTS));
9895 PyDict_SetItemString(d,"GL_MAP2_INDEX", PyInt_FromLong((long) GL_MAP2_INDEX));
9896 PyDict_SetItemString(d,"GL_MAP2_NORMAL", PyInt_FromLong((long) GL_MAP2_NORMAL));
9897 PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_1", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_1));
9898 PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_2", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_2));
9899 PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_3", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_3));
9900 PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_4", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_4));
9901 PyDict_SetItemString(d,"GL_MAP2_VERTEX_3", PyInt_FromLong((long) GL_MAP2_VERTEX_3));
9902 PyDict_SetItemString(d,"GL_MAP2_VERTEX_4", PyInt_FromLong((long) GL_MAP2_VERTEX_4));
9903 PyDict_SetItemString(d,"GL_MAP_COLOR", PyInt_FromLong((long) GL_MAP_COLOR));
9904 PyDict_SetItemString(d,"GL_MAP_STENCIL", PyInt_FromLong((long) GL_MAP_STENCIL));
9905 PyDict_SetItemString(d,"GL_MATRIX_MODE", PyInt_FromLong((long) GL_MATRIX_MODE));
9906 PyDict_SetItemString(d,"GL_MAX_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_ATTRIB_STACK_DEPTH));
9907 PyDict_SetItemString(d,"GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_CLIENT_ATTRIB_STACK_DEPTH));
9908 PyDict_SetItemString(d,"GL_MAX_CLIP_PLANES", PyInt_FromLong((long) GL_MAX_CLIP_PLANES));
9909 PyDict_SetItemString(d,"GL_MAX_EVAL_ORDER", PyInt_FromLong((long) GL_MAX_EVAL_ORDER));
9910 PyDict_SetItemString(d,"GL_MAX_LIGHTS", PyInt_FromLong((long) GL_MAX_LIGHTS));
9911 PyDict_SetItemString(d,"GL_MAX_LIST_NESTING", PyInt_FromLong((long) GL_MAX_LIST_NESTING));
9912 PyDict_SetItemString(d,"GL_MAX_MODELVIEW_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_MODELVIEW_STACK_DEPTH));
9913 PyDict_SetItemString(d,"GL_MAX_NAME_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_NAME_STACK_DEPTH));
9914 PyDict_SetItemString(d,"GL_MAX_PIXEL_MAP_TABLE", PyInt_FromLong((long) GL_MAX_PIXEL_MAP_TABLE));
9915 PyDict_SetItemString(d,"GL_MAX_PROJECTION_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_PROJECTION_STACK_DEPTH));
9916 PyDict_SetItemString(d,"GL_MAX_TEXTURE_SIZE", PyInt_FromLong((long) GL_MAX_TEXTURE_SIZE));
9917 PyDict_SetItemString(d,"GL_MAX_TEXTURE_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_TEXTURE_STACK_DEPTH));
9918 PyDict_SetItemString(d,"GL_MAX_VIEWPORT_DIMS", PyInt_FromLong((long) GL_MAX_VIEWPORT_DIMS));
9919 PyDict_SetItemString(d,"GL_MODELVIEW", PyInt_FromLong((long) GL_MODELVIEW));
9920 PyDict_SetItemString(d,"GL_MODELVIEW_MATRIX", PyInt_FromLong((long) GL_MODELVIEW_MATRIX));
9921 PyDict_SetItemString(d,"GL_MODELVIEW_STACK_DEPTH", PyInt_FromLong((long) GL_MODELVIEW_STACK_DEPTH));
9922 PyDict_SetItemString(d,"GL_MODULATE", PyInt_FromLong((long) GL_MODULATE));
9923 PyDict_SetItemString(d,"GL_MULT", PyInt_FromLong((long) GL_MULT));
9924 PyDict_SetItemString(d,"GL_N3F_V3F", PyInt_FromLong((long) GL_N3F_V3F));
9925 PyDict_SetItemString(d,"GL_NAME_STACK_DEPTH", PyInt_FromLong((long) GL_NAME_STACK_DEPTH));
9926 PyDict_SetItemString(d,"GL_NAND", PyInt_FromLong((long) GL_NAND));
9927 PyDict_SetItemString(d,"GL_NEAREST", PyInt_FromLong((long) GL_NEAREST));
9928 PyDict_SetItemString(d,"GL_NEAREST_MIPMAP_LINEAR", PyInt_FromLong((long) GL_NEAREST_MIPMAP_LINEAR));
9929 PyDict_SetItemString(d,"GL_NEAREST_MIPMAP_NEAREST", PyInt_FromLong((long) GL_NEAREST_MIPMAP_NEAREST));
9930 PyDict_SetItemString(d,"GL_NEVER", PyInt_FromLong((long) GL_NEVER));
9931 PyDict_SetItemString(d,"GL_NICEST", PyInt_FromLong((long) GL_NICEST));
9932 PyDict_SetItemString(d,"GL_NONE", PyInt_FromLong((long) GL_NONE));
9933 PyDict_SetItemString(d,"GL_NOOP", PyInt_FromLong((long) GL_NOOP));
9934 PyDict_SetItemString(d,"GL_NOR", PyInt_FromLong((long) GL_NOR));
9935 PyDict_SetItemString(d,"GL_NORMALIZE", PyInt_FromLong((long) GL_NORMALIZE));
9936 PyDict_SetItemString(d,"GL_NORMAL_ARRAY", PyInt_FromLong((long) GL_NORMAL_ARRAY));
9937 PyDict_SetItemString(d,"GL_NORMAL_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_COUNT_EXT));
9938 PyDict_SetItemString(d,"GL_NORMAL_ARRAY_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_EXT));
9939 PyDict_SetItemString(d,"GL_NORMAL_ARRAY_POINTER", PyInt_FromLong((long) GL_NORMAL_ARRAY_POINTER));
9940 PyDict_SetItemString(d,"GL_NORMAL_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_POINTER_EXT));
9941 PyDict_SetItemString(d,"GL_NORMAL_ARRAY_STRIDE", PyInt_FromLong((long) GL_NORMAL_ARRAY_STRIDE));
9942 PyDict_SetItemString(d,"GL_NORMAL_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_STRIDE_EXT));
9943 PyDict_SetItemString(d,"GL_NORMAL_ARRAY_TYPE", PyInt_FromLong((long) GL_NORMAL_ARRAY_TYPE));
9944 PyDict_SetItemString(d,"GL_NORMAL_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_TYPE_EXT));
9945 PyDict_SetItemString(d,"GL_NOTEQUAL", PyInt_FromLong((long) GL_NOTEQUAL));
9946 PyDict_SetItemString(d,"GL_NO_ERROR", PyInt_FromLong((long) GL_NO_ERROR));
9947 PyDict_SetItemString(d,"GL_OBJECT_LINEAR", PyInt_FromLong((long) GL_OBJECT_LINEAR));
9948 PyDict_SetItemString(d,"GL_OBJECT_PLANE", PyInt_FromLong((long) GL_OBJECT_PLANE));
9949 PyDict_SetItemString(d,"GL_ONE", PyInt_FromLong((long) GL_ONE));
9950 PyDict_SetItemString(d,"GL_ONE_MINUS_DST_ALPHA", PyInt_FromLong((long) GL_ONE_MINUS_DST_ALPHA));
9951 PyDict_SetItemString(d,"GL_ONE_MINUS_DST_COLOR", PyInt_FromLong((long) GL_ONE_MINUS_DST_COLOR));
9952 PyDict_SetItemString(d,"GL_ONE_MINUS_SRC_ALPHA", PyInt_FromLong((long) GL_ONE_MINUS_SRC_ALPHA));
9953 PyDict_SetItemString(d,"GL_ONE_MINUS_SRC_COLOR", PyInt_FromLong((long) GL_ONE_MINUS_SRC_COLOR));
9954 PyDict_SetItemString(d,"GL_OR", PyInt_FromLong((long) GL_OR));
9955 PyDict_SetItemString(d,"GL_ORDER", PyInt_FromLong((long) GL_ORDER));
9956 PyDict_SetItemString(d,"GL_OR_INVERTED", PyInt_FromLong((long) GL_OR_INVERTED));
9957 PyDict_SetItemString(d,"GL_OR_REVERSE", PyInt_FromLong((long) GL_OR_REVERSE));
9958 PyDict_SetItemString(d,"GL_OUT_OF_MEMORY", PyInt_FromLong((long) GL_OUT_OF_MEMORY));
9959 PyDict_SetItemString(d,"GL_PACK_ALIGNMENT", PyInt_FromLong((long) GL_PACK_ALIGNMENT));
9960 PyDict_SetItemString(d,"GL_PACK_LSB_FIRST", PyInt_FromLong((long) GL_PACK_LSB_FIRST));
9961 PyDict_SetItemString(d,"GL_PACK_ROW_LENGTH", PyInt_FromLong((long) GL_PACK_ROW_LENGTH));
9962 PyDict_SetItemString(d,"GL_PACK_SKIP_PIXELS", PyInt_FromLong((long) GL_PACK_SKIP_PIXELS));
9963 PyDict_SetItemString(d,"GL_PACK_SKIP_ROWS", PyInt_FromLong((long) GL_PACK_SKIP_ROWS));
9964 PyDict_SetItemString(d,"GL_PACK_SWAP_BYTES", PyInt_FromLong((long) GL_PACK_SWAP_BYTES));
9965 PyDict_SetItemString(d,"GL_PASS_THROUGH_TOKEN", PyInt_FromLong((long) GL_PASS_THROUGH_TOKEN));
9966 PyDict_SetItemString(d,"GL_PERSPECTIVE_CORRECTION_HINT", PyInt_FromLong((long) GL_PERSPECTIVE_CORRECTION_HINT));
9967 PyDict_SetItemString(d,"GL_PIXEL_MAP_A_TO_A", PyInt_FromLong((long) GL_PIXEL_MAP_A_TO_A));
9968 PyDict_SetItemString(d,"GL_PIXEL_MAP_A_TO_A_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_A_TO_A_SIZE));
9969 PyDict_SetItemString(d,"GL_PIXEL_MAP_B_TO_B", PyInt_FromLong((long) GL_PIXEL_MAP_B_TO_B));
9970 PyDict_SetItemString(d,"GL_PIXEL_MAP_B_TO_B_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_B_TO_B_SIZE));
9971 PyDict_SetItemString(d,"GL_PIXEL_MAP_G_TO_G", PyInt_FromLong((long) GL_PIXEL_MAP_G_TO_G));
9972 PyDict_SetItemString(d,"GL_PIXEL_MAP_G_TO_G_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_G_TO_G_SIZE));
9973 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_A", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_A));
9974 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_A_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_A_SIZE));
9975 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_B", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_B));
9976 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_B_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_B_SIZE));
9977 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_G", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_G));
9978 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_G_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_G_SIZE));
9979 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_I", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_I));
9980 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_I_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_I_SIZE));
9981 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_R", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_R));
9982 PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_R_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_R_SIZE));
9983 PyDict_SetItemString(d,"GL_PIXEL_MAP_R_TO_R", PyInt_FromLong((long) GL_PIXEL_MAP_R_TO_R));
9984 PyDict_SetItemString(d,"GL_PIXEL_MAP_R_TO_R_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_R_TO_R_SIZE));
9985 PyDict_SetItemString(d,"GL_PIXEL_MAP_S_TO_S", PyInt_FromLong((long) GL_PIXEL_MAP_S_TO_S));
9986 PyDict_SetItemString(d,"GL_PIXEL_MAP_S_TO_S_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_S_TO_S_SIZE));
9987 PyDict_SetItemString(d,"GL_PIXEL_MODE_BIT", PyInt_FromLong((long) GL_PIXEL_MODE_BIT));
9988 PyDict_SetItemString(d,"GL_POINT", PyInt_FromLong((long) GL_POINT));
9989 PyDict_SetItemString(d,"GL_POINTS", PyInt_FromLong((long) GL_POINTS));
9990 PyDict_SetItemString(d,"GL_POINT_BIT", PyInt_FromLong((long) GL_POINT_BIT));
9991 PyDict_SetItemString(d,"GL_POINT_SIZE", PyInt_FromLong((long) GL_POINT_SIZE));
9992 PyDict_SetItemString(d,"GL_POINT_SIZE_GRANULARITY", PyInt_FromLong((long) GL_POINT_SIZE_GRANULARITY));
9993 PyDict_SetItemString(d,"GL_POINT_SIZE_RANGE", PyInt_FromLong((long) GL_POINT_SIZE_RANGE));
9994 PyDict_SetItemString(d,"GL_POINT_SMOOTH", PyInt_FromLong((long) GL_POINT_SMOOTH));
9995 PyDict_SetItemString(d,"GL_POINT_SMOOTH_HINT", PyInt_FromLong((long) GL_POINT_SMOOTH_HINT));
9996 PyDict_SetItemString(d,"GL_POINT_TOKEN", PyInt_FromLong((long) GL_POINT_TOKEN));
9997 PyDict_SetItemString(d,"GL_POLYGON", PyInt_FromLong((long) GL_POLYGON));
9998 PyDict_SetItemString(d,"GL_POLYGON_BIT", PyInt_FromLong((long) GL_POLYGON_BIT));
9999 PyDict_SetItemString(d,"GL_POLYGON_MODE", PyInt_FromLong((long) GL_POLYGON_MODE));
10000 PyDict_SetItemString(d,"GL_POLYGON_OFFSET_FACTOR", PyInt_FromLong((long) GL_POLYGON_OFFSET_FACTOR));
10001 PyDict_SetItemString(d,"GL_POLYGON_OFFSET_FILL", PyInt_FromLong((long) GL_POLYGON_OFFSET_FILL));
10002 PyDict_SetItemString(d,"GL_POLYGON_OFFSET_LINE", PyInt_FromLong((long) GL_POLYGON_OFFSET_LINE));
10003 PyDict_SetItemString(d,"GL_POLYGON_OFFSET_POINT", PyInt_FromLong((long) GL_POLYGON_OFFSET_POINT));
10004 PyDict_SetItemString(d,"GL_POLYGON_OFFSET_UNITS", PyInt_FromLong((long) GL_POLYGON_OFFSET_UNITS));
10005 PyDict_SetItemString(d,"GL_POLYGON_SMOOTH", PyInt_FromLong((long) GL_POLYGON_SMOOTH));
10006 PyDict_SetItemString(d,"GL_POLYGON_SMOOTH_HINT", PyInt_FromLong((long) GL_POLYGON_SMOOTH_HINT));
10007 PyDict_SetItemString(d,"GL_POLYGON_STIPPLE", PyInt_FromLong((long) GL_POLYGON_STIPPLE));
10008 PyDict_SetItemString(d,"GL_POLYGON_STIPPLE_BIT", PyInt_FromLong((long) GL_POLYGON_STIPPLE_BIT));
10009 PyDict_SetItemString(d,"GL_POLYGON_TOKEN", PyInt_FromLong((long) GL_POLYGON_TOKEN));
10010 PyDict_SetItemString(d,"GL_POSITION", PyInt_FromLong((long) GL_POSITION));
10011 PyDict_SetItemString(d,"GL_PROJECTION", PyInt_FromLong((long) GL_PROJECTION));
10012 PyDict_SetItemString(d,"GL_PROJECTION_MATRIX", PyInt_FromLong((long) GL_PROJECTION_MATRIX));
10013 PyDict_SetItemString(d,"GL_PROJECTION_STACK_DEPTH", PyInt_FromLong((long) GL_PROJECTION_STACK_DEPTH));
10014 PyDict_SetItemString(d,"GL_PROXY_TEXTURE_1D", PyInt_FromLong((long) GL_PROXY_TEXTURE_1D));
10015 PyDict_SetItemString(d,"GL_PROXY_TEXTURE_2D", PyInt_FromLong((long) GL_PROXY_TEXTURE_2D));
10016 PyDict_SetItemString(d,"GL_Q", PyInt_FromLong((long) GL_Q));
10017 PyDict_SetItemString(d,"GL_QUADRATIC_ATTENUATION", PyInt_FromLong((long) GL_QUADRATIC_ATTENUATION));
10018 PyDict_SetItemString(d,"GL_QUADS", PyInt_FromLong((long) GL_QUADS));
10019 PyDict_SetItemString(d,"GL_QUAD_STRIP", PyInt_FromLong((long) GL_QUAD_STRIP));
10020 PyDict_SetItemString(d,"GL_R", PyInt_FromLong((long) GL_R));
10021 PyDict_SetItemString(d,"GL_R3_G3_B2", PyInt_FromLong((long) GL_R3_G3_B2));
10022 PyDict_SetItemString(d,"GL_READ_BUFFER", PyInt_FromLong((long) GL_READ_BUFFER));
10023 PyDict_SetItemString(d,"GL_RED", PyInt_FromLong((long) GL_RED));
10024 PyDict_SetItemString(d,"GL_RED_BIAS", PyInt_FromLong((long) GL_RED_BIAS));
10025 PyDict_SetItemString(d,"GL_RED_BITS", PyInt_FromLong((long) GL_RED_BITS));
10026 PyDict_SetItemString(d,"GL_RED_SCALE", PyInt_FromLong((long) GL_RED_SCALE));
10027 PyDict_SetItemString(d,"GL_RENDER", PyInt_FromLong((long) GL_RENDER));
10028 PyDict_SetItemString(d,"GL_RENDERER", PyInt_FromLong((long) GL_RENDERER));
10029 PyDict_SetItemString(d,"GL_RENDER_MODE", PyInt_FromLong((long) GL_RENDER_MODE));
10030 PyDict_SetItemString(d,"GL_REPEAT", PyInt_FromLong((long) GL_REPEAT));
10031 PyDict_SetItemString(d,"GL_REPLACE", PyInt_FromLong((long) GL_REPLACE));
10032 PyDict_SetItemString(d,"GL_RETURN", PyInt_FromLong((long) GL_RETURN));
10033 PyDict_SetItemString(d,"GL_RGB", PyInt_FromLong((long) GL_RGB));
10034 PyDict_SetItemString(d,"GL_RGB10", PyInt_FromLong((long) GL_RGB10));
10035 PyDict_SetItemString(d,"GL_RGB10_A2", PyInt_FromLong((long) GL_RGB10_A2));
10036 PyDict_SetItemString(d,"GL_RGB12", PyInt_FromLong((long) GL_RGB12));
10037 PyDict_SetItemString(d,"GL_RGB16", PyInt_FromLong((long) GL_RGB16));
10038 PyDict_SetItemString(d,"GL_RGB4", PyInt_FromLong((long) GL_RGB4));
10039 PyDict_SetItemString(d,"GL_RGB5", PyInt_FromLong((long) GL_RGB5));
10040 PyDict_SetItemString(d,"GL_RGB5_A1", PyInt_FromLong((long) GL_RGB5_A1));
10041 PyDict_SetItemString(d,"GL_RGB8", PyInt_FromLong((long) GL_RGB8));
10042 PyDict_SetItemString(d,"GL_RGBA", PyInt_FromLong((long) GL_RGBA));
10043 PyDict_SetItemString(d,"GL_RGBA12", PyInt_FromLong((long) GL_RGBA12));
10044 PyDict_SetItemString(d,"GL_RGBA16", PyInt_FromLong((long) GL_RGBA16));
10045 PyDict_SetItemString(d,"GL_RGBA2", PyInt_FromLong((long) GL_RGBA2));
10046 PyDict_SetItemString(d,"GL_RGBA4", PyInt_FromLong((long) GL_RGBA4));
10047 PyDict_SetItemString(d,"GL_RGBA8", PyInt_FromLong((long) GL_RGBA8));
10048 PyDict_SetItemString(d,"GL_RGBA_MODE", PyInt_FromLong((long) GL_RGBA_MODE));
10049 PyDict_SetItemString(d,"GL_RIGHT", PyInt_FromLong((long) GL_RIGHT));
10050 PyDict_SetItemString(d,"GL_S", PyInt_FromLong((long) GL_S));
10051 PyDict_SetItemString(d,"GL_SCISSOR_BIT", PyInt_FromLong((long) GL_SCISSOR_BIT));
10052 PyDict_SetItemString(d,"GL_SCISSOR_BOX", PyInt_FromLong((long) GL_SCISSOR_BOX));
10053 PyDict_SetItemString(d,"GL_SCISSOR_TEST", PyInt_FromLong((long) GL_SCISSOR_TEST));
10054 PyDict_SetItemString(d,"GL_SELECT", PyInt_FromLong((long) GL_SELECT));
10055 PyDict_SetItemString(d,"GL_SELECTION_BUFFER_POINTER", PyInt_FromLong((long) GL_SELECTION_BUFFER_POINTER));
10056 PyDict_SetItemString(d,"GL_SELECTION_BUFFER_SIZE", PyInt_FromLong((long) GL_SELECTION_BUFFER_SIZE));
10057 PyDict_SetItemString(d,"GL_SET", PyInt_FromLong((long) GL_SET));
10058 PyDict_SetItemString(d,"GL_SHADE_MODEL", PyInt_FromLong((long) GL_SHADE_MODEL));
10059 PyDict_SetItemString(d,"GL_SHININESS", PyInt_FromLong((long) GL_SHININESS));
10060 PyDict_SetItemString(d,"GL_SHORT", PyInt_FromLong((long) GL_SHORT));
10061 PyDict_SetItemString(d,"GL_SMOOTH", PyInt_FromLong((long) GL_SMOOTH));
10062 PyDict_SetItemString(d,"GL_SPECULAR", PyInt_FromLong((long) GL_SPECULAR));
10063 PyDict_SetItemString(d,"GL_SPHERE_MAP", PyInt_FromLong((long) GL_SPHERE_MAP));
10064 PyDict_SetItemString(d,"GL_SPOT_CUTOFF", PyInt_FromLong((long) GL_SPOT_CUTOFF));
10065 PyDict_SetItemString(d,"GL_SPOT_DIRECTION", PyInt_FromLong((long) GL_SPOT_DIRECTION));
10066 PyDict_SetItemString(d,"GL_SPOT_EXPONENT", PyInt_FromLong((long) GL_SPOT_EXPONENT));
10067 PyDict_SetItemString(d,"GL_SRC_ALPHA", PyInt_FromLong((long) GL_SRC_ALPHA));
10068 PyDict_SetItemString(d,"GL_SRC_ALPHA_SATURATE", PyInt_FromLong((long) GL_SRC_ALPHA_SATURATE));
10069 PyDict_SetItemString(d,"GL_SRC_COLOR", PyInt_FromLong((long) GL_SRC_COLOR));
10070 PyDict_SetItemString(d,"GL_STACK_OVERFLOW", PyInt_FromLong((long) GL_STACK_OVERFLOW));
10071 PyDict_SetItemString(d,"GL_STACK_UNDERFLOW", PyInt_FromLong((long) GL_STACK_UNDERFLOW));
10072 PyDict_SetItemString(d,"GL_STENCIL", PyInt_FromLong((long) GL_STENCIL));
10073 PyDict_SetItemString(d,"GL_STENCIL_BITS", PyInt_FromLong((long) GL_STENCIL_BITS));
10074 PyDict_SetItemString(d,"GL_STENCIL_BUFFER_BIT", PyInt_FromLong((long) GL_STENCIL_BUFFER_BIT));
10075 PyDict_SetItemString(d,"GL_STENCIL_CLEAR_VALUE", PyInt_FromLong((long) GL_STENCIL_CLEAR_VALUE));
10076 PyDict_SetItemString(d,"GL_STENCIL_FAIL", PyInt_FromLong((long) GL_STENCIL_FAIL));
10077 PyDict_SetItemString(d,"GL_STENCIL_FUNC", PyInt_FromLong((long) GL_STENCIL_FUNC));
10078 PyDict_SetItemString(d,"GL_STENCIL_INDEX", PyInt_FromLong((long) GL_STENCIL_INDEX));
10079 PyDict_SetItemString(d,"GL_STENCIL_PASS_DEPTH_FAIL", PyInt_FromLong((long) GL_STENCIL_PASS_DEPTH_FAIL));
10080 PyDict_SetItemString(d,"GL_STENCIL_PASS_DEPTH_PASS", PyInt_FromLong((long) GL_STENCIL_PASS_DEPTH_PASS));
10081 PyDict_SetItemString(d,"GL_STENCIL_REF", PyInt_FromLong((long) GL_STENCIL_REF));
10082 PyDict_SetItemString(d,"GL_STENCIL_TEST", PyInt_FromLong((long) GL_STENCIL_TEST));
10083 PyDict_SetItemString(d,"GL_STENCIL_VALUE_MASK", PyInt_FromLong((long) GL_STENCIL_VALUE_MASK));
10084 PyDict_SetItemString(d,"GL_STENCIL_WRITEMASK", PyInt_FromLong((long) GL_STENCIL_WRITEMASK));
10085 PyDict_SetItemString(d,"GL_STEREO", PyInt_FromLong((long) GL_STEREO));
10086 PyDict_SetItemString(d,"GL_SUBPIXEL_BITS", PyInt_FromLong((long) GL_SUBPIXEL_BITS));
10087 PyDict_SetItemString(d,"GL_T", PyInt_FromLong((long) GL_T));
10088 PyDict_SetItemString(d,"GL_T2F_C3F_V3F", PyInt_FromLong((long) GL_T2F_C3F_V3F));
10089 PyDict_SetItemString(d,"GL_T2F_C4F_N3F_V3F", PyInt_FromLong((long) GL_T2F_C4F_N3F_V3F));
10090 PyDict_SetItemString(d,"GL_T2F_C4UB_V3F", PyInt_FromLong((long) GL_T2F_C4UB_V3F));
10091 PyDict_SetItemString(d,"GL_T2F_N3F_V3F", PyInt_FromLong((long) GL_T2F_N3F_V3F));
10092 PyDict_SetItemString(d,"GL_T2F_V3F", PyInt_FromLong((long) GL_T2F_V3F));
10093 PyDict_SetItemString(d,"GL_T4F_C4F_N3F_V4F", PyInt_FromLong((long) GL_T4F_C4F_N3F_V4F));
10094 PyDict_SetItemString(d,"GL_T4F_V4F", PyInt_FromLong((long) GL_T4F_V4F));
10095 PyDict_SetItemString(d,"GL_TEXTURE", PyInt_FromLong((long) GL_TEXTURE));
10096 PyDict_SetItemString(d,"GL_TEXTURE_1D", PyInt_FromLong((long) GL_TEXTURE_1D));
10097 PyDict_SetItemString(d,"GL_TEXTURE_2D", PyInt_FromLong((long) GL_TEXTURE_2D));
10098 PyDict_SetItemString(d,"GL_TEXTURE_ALPHA_SIZE", PyInt_FromLong((long) GL_TEXTURE_ALPHA_SIZE));
10099 PyDict_SetItemString(d,"GL_TEXTURE_BINDING_1D", PyInt_FromLong((long) GL_TEXTURE_BINDING_1D));
10100 PyDict_SetItemString(d,"GL_TEXTURE_BINDING_2D", PyInt_FromLong((long) GL_TEXTURE_BINDING_2D));
10101 PyDict_SetItemString(d,"GL_TEXTURE_BIT", PyInt_FromLong((long) GL_TEXTURE_BIT));
10102 PyDict_SetItemString(d,"GL_TEXTURE_BLUE_SIZE", PyInt_FromLong((long) GL_TEXTURE_BLUE_SIZE));
10103 PyDict_SetItemString(d,"GL_TEXTURE_BORDER", PyInt_FromLong((long) GL_TEXTURE_BORDER));
10104 PyDict_SetItemString(d,"GL_TEXTURE_BORDER_COLOR", PyInt_FromLong((long) GL_TEXTURE_BORDER_COLOR));
10105 PyDict_SetItemString(d,"GL_TEXTURE_COMPONENTS", PyInt_FromLong((long) GL_TEXTURE_COMPONENTS));
10106 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY));
10107 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_COUNT_EXT));
10108 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_EXT));
10109 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_POINTER", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_POINTER));
10110 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_POINTER_EXT));
10111 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_SIZE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_SIZE));
10112 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_SIZE_EXT));
10113 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_STRIDE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_STRIDE));
10114 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_STRIDE_EXT));
10115 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_TYPE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_TYPE));
10116 PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_TYPE_EXT));
10117 PyDict_SetItemString(d,"GL_TEXTURE_ENV", PyInt_FromLong((long) GL_TEXTURE_ENV));
10118 PyDict_SetItemString(d,"GL_TEXTURE_ENV_COLOR", PyInt_FromLong((long) GL_TEXTURE_ENV_COLOR));
10119 PyDict_SetItemString(d,"GL_TEXTURE_ENV_MODE", PyInt_FromLong((long) GL_TEXTURE_ENV_MODE));
10120 PyDict_SetItemString(d,"GL_TEXTURE_GEN_MODE", PyInt_FromLong((long) GL_TEXTURE_GEN_MODE));
10121 PyDict_SetItemString(d,"GL_TEXTURE_GEN_Q", PyInt_FromLong((long) GL_TEXTURE_GEN_Q));
10122 PyDict_SetItemString(d,"GL_TEXTURE_GEN_R", PyInt_FromLong((long) GL_TEXTURE_GEN_R));
10123 PyDict_SetItemString(d,"GL_TEXTURE_GEN_S", PyInt_FromLong((long) GL_TEXTURE_GEN_S));
10124 PyDict_SetItemString(d,"GL_TEXTURE_GEN_T", PyInt_FromLong((long) GL_TEXTURE_GEN_T));
10125 PyDict_SetItemString(d,"GL_TEXTURE_GREEN_SIZE", PyInt_FromLong((long) GL_TEXTURE_GREEN_SIZE));
10126 PyDict_SetItemString(d,"GL_TEXTURE_HEIGHT", PyInt_FromLong((long) GL_TEXTURE_HEIGHT));
10127 PyDict_SetItemString(d,"GL_TEXTURE_INTENSITY_SIZE", PyInt_FromLong((long) GL_TEXTURE_INTENSITY_SIZE));
10128 PyDict_SetItemString(d,"GL_TEXTURE_INTERNAL_FORMAT", PyInt_FromLong((long) GL_TEXTURE_INTERNAL_FORMAT));
10129 PyDict_SetItemString(d,"GL_TEXTURE_LUMINANCE_SIZE", PyInt_FromLong((long) GL_TEXTURE_LUMINANCE_SIZE));
10130 PyDict_SetItemString(d,"GL_TEXTURE_MAG_FILTER", PyInt_FromLong((long) GL_TEXTURE_MAG_FILTER));
10131 PyDict_SetItemString(d,"GL_TEXTURE_MATRIX", PyInt_FromLong((long) GL_TEXTURE_MATRIX));
10132 PyDict_SetItemString(d,"GL_TEXTURE_MIN_FILTER", PyInt_FromLong((long) GL_TEXTURE_MIN_FILTER));
10133 PyDict_SetItemString(d,"GL_TEXTURE_PRIORITY", PyInt_FromLong((long) GL_TEXTURE_PRIORITY));
10134 PyDict_SetItemString(d,"GL_TEXTURE_RED_SIZE", PyInt_FromLong((long) GL_TEXTURE_RED_SIZE));
10135 PyDict_SetItemString(d,"GL_TEXTURE_RESIDENT", PyInt_FromLong((long) GL_TEXTURE_RESIDENT));
10136 PyDict_SetItemString(d,"GL_TEXTURE_STACK_DEPTH", PyInt_FromLong((long) GL_TEXTURE_STACK_DEPTH));
10137 PyDict_SetItemString(d,"GL_TEXTURE_WIDTH", PyInt_FromLong((long) GL_TEXTURE_WIDTH));
10138 PyDict_SetItemString(d,"GL_TEXTURE_WRAP_S", PyInt_FromLong((long) GL_TEXTURE_WRAP_S));
10139 PyDict_SetItemString(d,"GL_TEXTURE_WRAP_T", PyInt_FromLong((long) GL_TEXTURE_WRAP_T));
10140 PyDict_SetItemString(d,"GL_TRANSFORM_BIT", PyInt_FromLong((long) GL_TRANSFORM_BIT));
10141 PyDict_SetItemString(d,"GL_TRIANGLES", PyInt_FromLong((long) GL_TRIANGLES));
10142 PyDict_SetItemString(d,"GL_TRIANGLE_FAN", PyInt_FromLong((long) GL_TRIANGLE_FAN));
10143 PyDict_SetItemString(d,"GL_TRIANGLE_STRIP", PyInt_FromLong((long) GL_TRIANGLE_STRIP));
10144 PyDict_SetItemString(d,"GL_TRUE", PyInt_FromLong((long) GL_TRUE));
10145 PyDict_SetItemString(d,"GL_UNPACK_ALIGNMENT", PyInt_FromLong((long) GL_UNPACK_ALIGNMENT));
10146 PyDict_SetItemString(d,"GL_UNPACK_LSB_FIRST", PyInt_FromLong((long) GL_UNPACK_LSB_FIRST));
10147 PyDict_SetItemString(d,"GL_UNPACK_ROW_LENGTH", PyInt_FromLong((long) GL_UNPACK_ROW_LENGTH));
10148 PyDict_SetItemString(d,"GL_UNPACK_SKIP_PIXELS", PyInt_FromLong((long) GL_UNPACK_SKIP_PIXELS));
10149 PyDict_SetItemString(d,"GL_UNPACK_SKIP_ROWS", PyInt_FromLong((long) GL_UNPACK_SKIP_ROWS));
10150 PyDict_SetItemString(d,"GL_UNPACK_SWAP_BYTES", PyInt_FromLong((long) GL_UNPACK_SWAP_BYTES));
10151 PyDict_SetItemString(d,"GL_UNSIGNED_BYTE", PyInt_FromLong((long) GL_UNSIGNED_BYTE));
10152 PyDict_SetItemString(d,"GL_UNSIGNED_INT", PyInt_FromLong((long) GL_UNSIGNED_INT));
10153 PyDict_SetItemString(d,"GL_UNSIGNED_SHORT", PyInt_FromLong((long) GL_UNSIGNED_SHORT));
10154 PyDict_SetItemString(d,"GL_V2F", PyInt_FromLong((long) GL_V2F));
10155 PyDict_SetItemString(d,"GL_V3F", PyInt_FromLong((long) GL_V3F));
10156 PyDict_SetItemString(d,"GL_VENDOR", PyInt_FromLong((long) GL_VENDOR));
10157 PyDict_SetItemString(d,"GL_VERSION", PyInt_FromLong((long) GL_VERSION));
10158 PyDict_SetItemString(d,"GL_VERTEX_ARRAY", PyInt_FromLong((long) GL_VERTEX_ARRAY));
10159 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_COUNT_EXT));
10160 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_EXT));
10161 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_POINTER", PyInt_FromLong((long) GL_VERTEX_ARRAY_POINTER));
10162 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_POINTER_EXT));
10163 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_SIZE", PyInt_FromLong((long) GL_VERTEX_ARRAY_SIZE));
10164 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_SIZE_EXT));
10165 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_STRIDE", PyInt_FromLong((long) GL_VERTEX_ARRAY_STRIDE));
10166 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_STRIDE_EXT));
10167 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_TYPE", PyInt_FromLong((long) GL_VERTEX_ARRAY_TYPE));
10168 PyDict_SetItemString(d,"GL_VERTEX_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_TYPE_EXT));
10169 PyDict_SetItemString(d,"GL_VIEWPORT", PyInt_FromLong((long) GL_VIEWPORT));
10170 PyDict_SetItemString(d,"GL_VIEWPORT_BIT", PyInt_FromLong((long) GL_VIEWPORT_BIT));
10171 PyDict_SetItemString(d,"GL_XOR", PyInt_FromLong((long) GL_XOR));
10172 PyDict_SetItemString(d,"GL_ZERO", PyInt_FromLong((long) GL_ZERO));
10173 PyDict_SetItemString(d,"GL_ZOOM_X", PyInt_FromLong((long) GL_ZOOM_X));
10174 PyDict_SetItemString(d,"GL_ZOOM_Y", PyInt_FromLong((long) GL_ZOOM_Y));
10175
10176
10177 wxClassInfo::CleanUpClasses();
10178 wxClassInfo::InitializeClasses();
10179
10180 {
10181 int i;
10182 for (i = 0; _swig_mapping[i].n1; i++)
10183 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
10184 }
10185 }