]>
Commit | Line | Data |
---|---|---|
325274bb RD |
1 | /* |
2 | * FILE : msw/glcanvas.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
efc5f224 | 6 | * Version 1.1 (Build 802) |
325274bb RD |
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 | |
efc5f224 | 127 | static PyObject *_wrap_glArrayElementEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
128 | PyObject * _resultobj; |
129 | GLint _arg0; | |
efc5f224 | 130 | char *_kwnames[] = { "i", NULL }; |
325274bb RD |
131 | |
132 | self = self; | |
efc5f224 | 133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glArrayElementEXT",_kwnames,&_arg0)) |
325274bb RD |
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 | ||
efc5f224 | 145 | static PyObject *_wrap_glColorPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
146 | PyObject * _resultobj; |
147 | GLint _arg0; | |
148 | GLenum _arg1; | |
149 | GLsizei _arg2; | |
150 | GLsizei _arg3; | |
151 | GLvoid * _arg4; | |
152 | PyObject * _argo4 = 0; | |
efc5f224 | 153 | char *_kwnames[] = { "size","type","stride","count","pointer", NULL }; |
325274bb RD |
154 | |
155 | self = self; | |
efc5f224 | 156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glColorPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
325274bb RD |
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 | ||
efc5f224 | 175 | static PyObject *_wrap_glDrawArraysEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
176 | PyObject * _resultobj; |
177 | GLenum _arg0; | |
178 | GLint _arg1; | |
179 | GLsizei _arg2; | |
efc5f224 | 180 | char *_kwnames[] = { "mode","first","count", NULL }; |
325274bb RD |
181 | |
182 | self = self; | |
efc5f224 | 183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glDrawArraysEXT",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
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 | ||
efc5f224 | 195 | static PyObject *_wrap_glEdgeFlagPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
196 | PyObject * _resultobj; |
197 | GLsizei _arg0; | |
198 | GLsizei _arg1; | |
199 | GLboolean * _arg2; | |
200 | PyObject * _argo2 = 0; | |
efc5f224 | 201 | char *_kwnames[] = { "stride","count","pointer", NULL }; |
325274bb RD |
202 | |
203 | self = self; | |
efc5f224 | 204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glEdgeFlagPointerEXT",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
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 | ||
efc5f224 | 223 | static PyObject *_wrap_glGetPointervEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
224 | PyObject * _resultobj; |
225 | GLenum _arg0; | |
226 | GLvoid ** _arg1; | |
227 | PyObject * _argo1 = 0; | |
efc5f224 | 228 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
229 | |
230 | self = self; | |
efc5f224 | 231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPointervEXT",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
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 | ||
efc5f224 | 250 | static PyObject *_wrap_glIndexPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
251 | PyObject * _resultobj; |
252 | GLenum _arg0; | |
253 | GLsizei _arg1; | |
254 | GLsizei _arg2; | |
255 | GLvoid * _arg3; | |
256 | PyObject * _argo3 = 0; | |
efc5f224 | 257 | char *_kwnames[] = { "type","stride","count","pointer", NULL }; |
325274bb RD |
258 | |
259 | self = self; | |
efc5f224 | 260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glIndexPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
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 | ||
efc5f224 | 279 | static PyObject *_wrap_glNormalPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
280 | PyObject * _resultobj; |
281 | GLenum _arg0; | |
282 | GLsizei _arg1; | |
283 | GLsizei _arg2; | |
284 | GLvoid * _arg3; | |
285 | PyObject * _argo3 = 0; | |
efc5f224 | 286 | char *_kwnames[] = { "type","stride","count","pointer", NULL }; |
325274bb RD |
287 | |
288 | self = self; | |
efc5f224 | 289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glNormalPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
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 | ||
efc5f224 | 308 | static PyObject *_wrap_glTexCoordPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
309 | PyObject * _resultobj; |
310 | GLint _arg0; | |
311 | GLenum _arg1; | |
312 | GLsizei _arg2; | |
313 | GLsizei _arg3; | |
314 | GLvoid * _arg4; | |
315 | PyObject * _argo4 = 0; | |
efc5f224 | 316 | char *_kwnames[] = { "size","type","stride","count","pointer", NULL }; |
325274bb RD |
317 | |
318 | self = self; | |
efc5f224 | 319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glTexCoordPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
325274bb RD |
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 | ||
efc5f224 | 338 | static PyObject *_wrap_glVertexPointerEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
339 | PyObject * _resultobj; |
340 | GLint _arg0; | |
341 | GLenum _arg1; | |
342 | GLsizei _arg2; | |
343 | GLsizei _arg3; | |
344 | GLvoid * _arg4; | |
345 | PyObject * _argo4 = 0; | |
efc5f224 | 346 | char *_kwnames[] = { "size","type","stride","count","pointer", NULL }; |
325274bb RD |
347 | |
348 | self = self; | |
efc5f224 | 349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glVertexPointerEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
325274bb RD |
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 | ||
efc5f224 | 368 | static PyObject *_wrap_glColorSubtableEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
369 | PyObject * _resultobj; |
370 | GLenum _arg0; | |
371 | GLsizei _arg1; | |
372 | GLsizei _arg2; | |
373 | GLenum _arg3; | |
374 | GLenum _arg4; | |
375 | GLvoid * _arg5; | |
376 | PyObject * _argo5 = 0; | |
efc5f224 | 377 | char *_kwnames[] = { "target","start","count","format","type","table", NULL }; |
325274bb RD |
378 | |
379 | self = self; | |
efc5f224 | 380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiO:glColorSubtableEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5)) |
325274bb RD |
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 glColorSubtableEXT. Expected _GLvoid_p."); | |
386 | return NULL; | |
387 | } | |
388 | } | |
389 | { | |
390 | wxPy_BEGIN_ALLOW_THREADS; | |
391 | glColorSubtableEXT(_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 | ||
efc5f224 | 399 | static PyObject *_wrap_glColorTableEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
400 | PyObject * _resultobj; |
401 | GLenum _arg0; | |
402 | GLenum _arg1; | |
403 | GLsizei _arg2; | |
404 | GLenum _arg3; | |
405 | GLenum _arg4; | |
406 | GLvoid * _arg5; | |
407 | PyObject * _argo5 = 0; | |
efc5f224 | 408 | char *_kwnames[] = { "target","internalformat","width","format","type","table", NULL }; |
325274bb RD |
409 | |
410 | self = self; | |
efc5f224 | 411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiO:glColorTableEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5)) |
325274bb RD |
412 | return NULL; |
413 | if (_argo5) { | |
414 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
415 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,(char *) 0 )) { | |
416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glColorTableEXT. Expected _GLvoid_p."); | |
417 | return NULL; | |
418 | } | |
419 | } | |
420 | { | |
421 | wxPy_BEGIN_ALLOW_THREADS; | |
422 | glColorTableEXT(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
423 | ||
424 | wxPy_END_ALLOW_THREADS; | |
425 | } Py_INCREF(Py_None); | |
426 | _resultobj = Py_None; | |
427 | return _resultobj; | |
428 | } | |
429 | ||
efc5f224 | 430 | static PyObject *_wrap_glCopyColorTableEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
431 | PyObject * _resultobj; |
432 | GLenum _arg0; | |
433 | GLenum _arg1; | |
434 | GLint _arg2; | |
435 | GLint _arg3; | |
436 | GLsizei _arg4; | |
efc5f224 | 437 | char *_kwnames[] = { "target","internalformat","x","y","width", NULL }; |
325274bb RD |
438 | |
439 | self = self; | |
efc5f224 | 440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiii:glCopyColorTableEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4)) |
325274bb RD |
441 | return NULL; |
442 | { | |
443 | wxPy_BEGIN_ALLOW_THREADS; | |
444 | glCopyColorTableEXT(_arg0,_arg1,_arg2,_arg3,_arg4); | |
445 | ||
446 | wxPy_END_ALLOW_THREADS; | |
447 | } Py_INCREF(Py_None); | |
448 | _resultobj = Py_None; | |
449 | return _resultobj; | |
450 | } | |
451 | ||
efc5f224 | 452 | static PyObject *_wrap_glGetColorTableEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
453 | PyObject * _resultobj; |
454 | GLenum _arg0; | |
455 | GLenum _arg1; | |
456 | GLenum _arg2; | |
457 | GLvoid * _arg3; | |
458 | PyObject * _argo3 = 0; | |
efc5f224 | 459 | char *_kwnames[] = { "target","format","type","table", NULL }; |
325274bb RD |
460 | |
461 | self = self; | |
efc5f224 | 462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glGetColorTableEXT",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
463 | return NULL; |
464 | if (_argo3) { | |
465 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
466 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetColorTableEXT. Expected _GLvoid_p."); | |
468 | return NULL; | |
469 | } | |
470 | } | |
471 | { | |
472 | wxPy_BEGIN_ALLOW_THREADS; | |
473 | glGetColorTableEXT(_arg0,_arg1,_arg2,_arg3); | |
474 | ||
475 | wxPy_END_ALLOW_THREADS; | |
476 | } Py_INCREF(Py_None); | |
477 | _resultobj = Py_None; | |
478 | return _resultobj; | |
479 | } | |
480 | ||
efc5f224 | 481 | static PyObject *_wrap_glGetColorTableParamaterfvEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
482 | PyObject * _resultobj; |
483 | GLenum _arg0; | |
484 | GLenum _arg1; | |
485 | GLfloat * _arg2; | |
486 | PyObject * _argo2 = 0; | |
efc5f224 | 487 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
488 | |
489 | self = self; | |
efc5f224 | 490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetColorTableParamaterfvEXT",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
491 | return NULL; |
492 | if (_argo2) { | |
493 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
494 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetColorTableParamaterfvEXT. Expected _GLfloat_p."); | |
496 | return NULL; | |
497 | } | |
498 | } | |
499 | { | |
500 | wxPy_BEGIN_ALLOW_THREADS; | |
501 | glGetColorTableParamaterfvEXT(_arg0,_arg1,_arg2); | |
502 | ||
503 | wxPy_END_ALLOW_THREADS; | |
504 | } Py_INCREF(Py_None); | |
505 | _resultobj = Py_None; | |
506 | return _resultobj; | |
507 | } | |
508 | ||
efc5f224 | 509 | static PyObject *_wrap_glGetColorTavleParameterivEXT(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
510 | PyObject * _resultobj; |
511 | GLenum _arg0; | |
512 | GLenum _arg1; | |
513 | GLint * _arg2; | |
514 | PyObject * _argo2 = 0; | |
efc5f224 | 515 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
516 | |
517 | self = self; | |
efc5f224 | 518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetColorTavleParameterivEXT",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
519 | return NULL; |
520 | if (_argo2) { | |
521 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
522 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetColorTavleParameterivEXT. Expected _GLint_p."); | |
524 | return NULL; | |
525 | } | |
526 | } | |
527 | { | |
528 | wxPy_BEGIN_ALLOW_THREADS; | |
529 | glGetColorTavleParameterivEXT(_arg0,_arg1,_arg2); | |
530 | ||
531 | wxPy_END_ALLOW_THREADS; | |
532 | } Py_INCREF(Py_None); | |
533 | _resultobj = Py_None; | |
534 | return _resultobj; | |
535 | } | |
536 | ||
efc5f224 | 537 | static PyObject *_wrap_glLockArraysSGI(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
538 | PyObject * _resultobj; |
539 | GLint _arg0; | |
540 | GLsizei _arg1; | |
efc5f224 | 541 | char *_kwnames[] = { "first","count", NULL }; |
325274bb RD |
542 | |
543 | self = self; | |
efc5f224 | 544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glLockArraysSGI",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
545 | return NULL; |
546 | { | |
547 | wxPy_BEGIN_ALLOW_THREADS; | |
548 | glLockArraysSGI(_arg0,_arg1); | |
549 | ||
550 | wxPy_END_ALLOW_THREADS; | |
551 | } Py_INCREF(Py_None); | |
552 | _resultobj = Py_None; | |
553 | return _resultobj; | |
554 | } | |
555 | ||
efc5f224 | 556 | static PyObject *_wrap_glUnlockArraysSGI(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 557 | PyObject * _resultobj; |
efc5f224 | 558 | char *_kwnames[] = { NULL }; |
325274bb RD |
559 | |
560 | self = self; | |
efc5f224 | 561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glUnlockArraysSGI",_kwnames)) |
325274bb RD |
562 | return NULL; |
563 | { | |
564 | wxPy_BEGIN_ALLOW_THREADS; | |
565 | glUnlockArraysSGI(); | |
566 | ||
567 | wxPy_END_ALLOW_THREADS; | |
568 | } Py_INCREF(Py_None); | |
569 | _resultobj = Py_None; | |
570 | return _resultobj; | |
571 | } | |
572 | ||
efc5f224 | 573 | static PyObject *_wrap_glCullParameterdvSGI(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
574 | PyObject * _resultobj; |
575 | GLenum _arg0; | |
576 | GLdouble * _arg1; | |
577 | PyObject * _argo1 = 0; | |
efc5f224 | 578 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
579 | |
580 | self = self; | |
efc5f224 | 581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glCullParameterdvSGI",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
582 | return NULL; |
583 | if (_argo1) { | |
584 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
585 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glCullParameterdvSGI. Expected _GLdouble_p."); | |
587 | return NULL; | |
588 | } | |
589 | } | |
590 | { | |
591 | wxPy_BEGIN_ALLOW_THREADS; | |
592 | glCullParameterdvSGI(_arg0,_arg1); | |
593 | ||
594 | wxPy_END_ALLOW_THREADS; | |
595 | } Py_INCREF(Py_None); | |
596 | _resultobj = Py_None; | |
597 | return _resultobj; | |
598 | } | |
599 | ||
efc5f224 | 600 | static PyObject *_wrap_glCullParameterfvSGI(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
601 | PyObject * _resultobj; |
602 | GLenum _arg0; | |
603 | GLfloat * _arg1; | |
604 | PyObject * _argo1 = 0; | |
efc5f224 | 605 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
606 | |
607 | self = self; | |
efc5f224 | 608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glCullParameterfvSGI",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
609 | return NULL; |
610 | if (_argo1) { | |
611 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
612 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glCullParameterfvSGI. Expected _GLfloat_p."); | |
614 | return NULL; | |
615 | } | |
616 | } | |
617 | { | |
618 | wxPy_BEGIN_ALLOW_THREADS; | |
619 | glCullParameterfvSGI(_arg0,_arg1); | |
620 | ||
621 | wxPy_END_ALLOW_THREADS; | |
622 | } Py_INCREF(Py_None); | |
623 | _resultobj = Py_None; | |
624 | return _resultobj; | |
625 | } | |
626 | ||
efc5f224 | 627 | static PyObject *_wrap_glIndexFuncSGI(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
628 | PyObject * _resultobj; |
629 | GLenum _arg0; | |
630 | GLclampf _arg1; | |
efc5f224 | 631 | char *_kwnames[] = { "func","ref", NULL }; |
325274bb RD |
632 | |
633 | self = self; | |
efc5f224 | 634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glIndexFuncSGI",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
635 | return NULL; |
636 | { | |
637 | wxPy_BEGIN_ALLOW_THREADS; | |
638 | glIndexFuncSGI(_arg0,_arg1); | |
639 | ||
640 | wxPy_END_ALLOW_THREADS; | |
641 | } Py_INCREF(Py_None); | |
642 | _resultobj = Py_None; | |
643 | return _resultobj; | |
644 | } | |
645 | ||
efc5f224 | 646 | static PyObject *_wrap_glIndexMaterialSGI(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
647 | PyObject * _resultobj; |
648 | GLenum _arg0; | |
649 | GLenum _arg1; | |
efc5f224 | 650 | char *_kwnames[] = { "face","mode", NULL }; |
325274bb RD |
651 | |
652 | self = self; | |
efc5f224 | 653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glIndexMaterialSGI",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
654 | return NULL; |
655 | { | |
656 | wxPy_BEGIN_ALLOW_THREADS; | |
657 | glIndexMaterialSGI(_arg0,_arg1); | |
658 | ||
659 | wxPy_END_ALLOW_THREADS; | |
660 | } Py_INCREF(Py_None); | |
661 | _resultobj = Py_None; | |
662 | return _resultobj; | |
663 | } | |
664 | ||
efc5f224 | 665 | static PyObject *_wrap_glAddSwapHintRectWin(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
666 | PyObject * _resultobj; |
667 | GLint _arg0; | |
668 | GLint _arg1; | |
669 | GLsizei _arg2; | |
670 | GLsizei _arg3; | |
efc5f224 | 671 | char *_kwnames[] = { "x","y","width","height", NULL }; |
325274bb RD |
672 | |
673 | self = self; | |
efc5f224 | 674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glAddSwapHintRectWin",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
675 | return NULL; |
676 | { | |
677 | wxPy_BEGIN_ALLOW_THREADS; | |
678 | glAddSwapHintRectWin(_arg0,_arg1,_arg2,_arg3); | |
679 | ||
680 | wxPy_END_ALLOW_THREADS; | |
681 | } Py_INCREF(Py_None); | |
682 | _resultobj = Py_None; | |
683 | return _resultobj; | |
684 | } | |
685 | ||
efc5f224 | 686 | static PyObject *_wrap_glAccum(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
687 | PyObject * _resultobj; |
688 | GLenum _arg0; | |
689 | GLfloat _arg1; | |
efc5f224 | 690 | char *_kwnames[] = { "op","value", NULL }; |
325274bb RD |
691 | |
692 | self = self; | |
efc5f224 | 693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glAccum",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
694 | return NULL; |
695 | { | |
696 | wxPy_BEGIN_ALLOW_THREADS; | |
697 | glAccum(_arg0,_arg1); | |
698 | ||
699 | wxPy_END_ALLOW_THREADS; | |
700 | } Py_INCREF(Py_None); | |
701 | _resultobj = Py_None; | |
702 | return _resultobj; | |
703 | } | |
704 | ||
efc5f224 | 705 | static PyObject *_wrap_glAlphaFunc(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
706 | PyObject * _resultobj; |
707 | GLenum _arg0; | |
708 | GLclampf _arg1; | |
efc5f224 | 709 | char *_kwnames[] = { "func","ref", NULL }; |
325274bb RD |
710 | |
711 | self = self; | |
efc5f224 | 712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glAlphaFunc",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
713 | return NULL; |
714 | { | |
715 | wxPy_BEGIN_ALLOW_THREADS; | |
716 | glAlphaFunc(_arg0,_arg1); | |
717 | ||
718 | wxPy_END_ALLOW_THREADS; | |
719 | } Py_INCREF(Py_None); | |
720 | _resultobj = Py_None; | |
721 | return _resultobj; | |
722 | } | |
723 | ||
efc5f224 | 724 | static PyObject *_wrap_glAreTexturesResident(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
725 | PyObject * _resultobj; |
726 | GLboolean _result; | |
727 | GLsizei _arg0; | |
728 | GLuint * _arg1; | |
729 | GLboolean * _arg2; | |
730 | PyObject * _argo1 = 0; | |
731 | PyObject * _argo2 = 0; | |
efc5f224 | 732 | char *_kwnames[] = { "n","textures","residences", NULL }; |
325274bb RD |
733 | |
734 | self = self; | |
efc5f224 | 735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:glAreTexturesResident",_kwnames,&_arg0,&_argo1,&_argo2)) |
325274bb RD |
736 | return NULL; |
737 | if (_argo1) { | |
738 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
739 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glAreTexturesResident. Expected _GLuint_p."); | |
741 | return NULL; | |
742 | } | |
743 | } | |
744 | if (_argo2) { | |
745 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
746 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLboolean_p")) { | |
747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glAreTexturesResident. Expected _GLboolean_p."); | |
748 | return NULL; | |
749 | } | |
750 | } | |
751 | { | |
752 | wxPy_BEGIN_ALLOW_THREADS; | |
753 | _result = (GLboolean )glAreTexturesResident(_arg0,_arg1,_arg2); | |
754 | ||
755 | wxPy_END_ALLOW_THREADS; | |
756 | } _resultobj = Py_BuildValue("b",_result); | |
757 | return _resultobj; | |
758 | } | |
759 | ||
efc5f224 | 760 | static PyObject *_wrap_glArrayElement(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
761 | PyObject * _resultobj; |
762 | GLint _arg0; | |
efc5f224 | 763 | char *_kwnames[] = { "i", NULL }; |
325274bb RD |
764 | |
765 | self = self; | |
efc5f224 | 766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glArrayElement",_kwnames,&_arg0)) |
325274bb RD |
767 | return NULL; |
768 | { | |
769 | wxPy_BEGIN_ALLOW_THREADS; | |
770 | glArrayElement(_arg0); | |
771 | ||
772 | wxPy_END_ALLOW_THREADS; | |
773 | } Py_INCREF(Py_None); | |
774 | _resultobj = Py_None; | |
775 | return _resultobj; | |
776 | } | |
777 | ||
efc5f224 | 778 | static PyObject *_wrap_glBegin(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
779 | PyObject * _resultobj; |
780 | GLenum _arg0; | |
efc5f224 | 781 | char *_kwnames[] = { "mode", NULL }; |
325274bb RD |
782 | |
783 | self = self; | |
efc5f224 | 784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glBegin",_kwnames,&_arg0)) |
325274bb RD |
785 | return NULL; |
786 | { | |
787 | wxPy_BEGIN_ALLOW_THREADS; | |
788 | glBegin(_arg0); | |
789 | ||
790 | wxPy_END_ALLOW_THREADS; | |
791 | } Py_INCREF(Py_None); | |
792 | _resultobj = Py_None; | |
793 | return _resultobj; | |
794 | } | |
795 | ||
efc5f224 | 796 | static PyObject *_wrap_glBindTexture(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
797 | PyObject * _resultobj; |
798 | GLenum _arg0; | |
799 | GLuint _arg1; | |
efc5f224 | 800 | char *_kwnames[] = { "target","texture", NULL }; |
325274bb RD |
801 | |
802 | self = self; | |
efc5f224 | 803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glBindTexture",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
804 | return NULL; |
805 | { | |
806 | wxPy_BEGIN_ALLOW_THREADS; | |
807 | glBindTexture(_arg0,_arg1); | |
808 | ||
809 | wxPy_END_ALLOW_THREADS; | |
810 | } Py_INCREF(Py_None); | |
811 | _resultobj = Py_None; | |
812 | return _resultobj; | |
813 | } | |
814 | ||
efc5f224 | 815 | static PyObject *_wrap_glBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
816 | PyObject * _resultobj; |
817 | GLsizei _arg0; | |
818 | GLsizei _arg1; | |
819 | GLfloat _arg2; | |
820 | GLfloat _arg3; | |
821 | GLfloat _arg4; | |
822 | GLfloat _arg5; | |
823 | GLubyte * _arg6; | |
824 | PyObject * _argo6 = 0; | |
efc5f224 | 825 | char *_kwnames[] = { "width","height","xorig","yorig","xmove","ymove","bitmap", NULL }; |
325274bb RD |
826 | |
827 | self = self; | |
efc5f224 | 828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiffffO:glBitmap",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6)) |
325274bb RD |
829 | return NULL; |
830 | if (_argo6) { | |
831 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
832 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_GLubyte_p")) { | |
833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glBitmap. Expected _GLubyte_p."); | |
834 | return NULL; | |
835 | } | |
836 | } | |
837 | { | |
838 | wxPy_BEGIN_ALLOW_THREADS; | |
839 | glBitmap(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
840 | ||
841 | wxPy_END_ALLOW_THREADS; | |
842 | } Py_INCREF(Py_None); | |
843 | _resultobj = Py_None; | |
844 | return _resultobj; | |
845 | } | |
846 | ||
efc5f224 | 847 | static PyObject *_wrap_glBlendFunc(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
848 | PyObject * _resultobj; |
849 | GLenum _arg0; | |
850 | GLenum _arg1; | |
efc5f224 | 851 | char *_kwnames[] = { "sfactor","dfactor", NULL }; |
325274bb RD |
852 | |
853 | self = self; | |
efc5f224 | 854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glBlendFunc",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
855 | return NULL; |
856 | { | |
857 | wxPy_BEGIN_ALLOW_THREADS; | |
858 | glBlendFunc(_arg0,_arg1); | |
859 | ||
860 | wxPy_END_ALLOW_THREADS; | |
861 | } Py_INCREF(Py_None); | |
862 | _resultobj = Py_None; | |
863 | return _resultobj; | |
864 | } | |
865 | ||
efc5f224 | 866 | static PyObject *_wrap_glCallList(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
867 | PyObject * _resultobj; |
868 | GLuint _arg0; | |
efc5f224 | 869 | char *_kwnames[] = { "list", NULL }; |
325274bb RD |
870 | |
871 | self = self; | |
efc5f224 | 872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glCallList",_kwnames,&_arg0)) |
325274bb RD |
873 | return NULL; |
874 | { | |
875 | wxPy_BEGIN_ALLOW_THREADS; | |
876 | glCallList(_arg0); | |
877 | ||
878 | wxPy_END_ALLOW_THREADS; | |
879 | } Py_INCREF(Py_None); | |
880 | _resultobj = Py_None; | |
881 | return _resultobj; | |
882 | } | |
883 | ||
efc5f224 | 884 | static PyObject *_wrap_glCallLists(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
885 | PyObject * _resultobj; |
886 | GLsizei _arg0; | |
887 | GLenum _arg1; | |
888 | GLvoid * _arg2; | |
889 | PyObject * _argo2 = 0; | |
efc5f224 | 890 | char *_kwnames[] = { "n","type","lists", NULL }; |
325274bb RD |
891 | |
892 | self = self; | |
efc5f224 | 893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glCallLists",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
894 | return NULL; |
895 | if (_argo2) { | |
896 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
897 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glCallLists. Expected _GLvoid_p."); | |
899 | return NULL; | |
900 | } | |
901 | } | |
902 | { | |
903 | wxPy_BEGIN_ALLOW_THREADS; | |
904 | glCallLists(_arg0,_arg1,_arg2); | |
905 | ||
906 | wxPy_END_ALLOW_THREADS; | |
907 | } Py_INCREF(Py_None); | |
908 | _resultobj = Py_None; | |
909 | return _resultobj; | |
910 | } | |
911 | ||
efc5f224 | 912 | static PyObject *_wrap_glClear(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
913 | PyObject * _resultobj; |
914 | GLbitfield _arg0; | |
efc5f224 | 915 | char *_kwnames[] = { "mask", NULL }; |
325274bb RD |
916 | |
917 | self = self; | |
efc5f224 | 918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glClear",_kwnames,&_arg0)) |
325274bb RD |
919 | return NULL; |
920 | { | |
921 | wxPy_BEGIN_ALLOW_THREADS; | |
922 | glClear(_arg0); | |
923 | ||
924 | wxPy_END_ALLOW_THREADS; | |
925 | } Py_INCREF(Py_None); | |
926 | _resultobj = Py_None; | |
927 | return _resultobj; | |
928 | } | |
929 | ||
efc5f224 | 930 | static PyObject *_wrap_glClearAccum(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
931 | PyObject * _resultobj; |
932 | GLfloat _arg0; | |
933 | GLfloat _arg1; | |
934 | GLfloat _arg2; | |
935 | GLfloat _arg3; | |
efc5f224 | 936 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
937 | |
938 | self = self; | |
efc5f224 | 939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glClearAccum",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
940 | return NULL; |
941 | { | |
942 | wxPy_BEGIN_ALLOW_THREADS; | |
943 | glClearAccum(_arg0,_arg1,_arg2,_arg3); | |
944 | ||
945 | wxPy_END_ALLOW_THREADS; | |
946 | } Py_INCREF(Py_None); | |
947 | _resultobj = Py_None; | |
948 | return _resultobj; | |
949 | } | |
950 | ||
efc5f224 | 951 | static PyObject *_wrap_glClearColor(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
952 | PyObject * _resultobj; |
953 | GLclampf _arg0; | |
954 | GLclampf _arg1; | |
955 | GLclampf _arg2; | |
956 | GLclampf _arg3; | |
efc5f224 | 957 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
958 | |
959 | self = self; | |
efc5f224 | 960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glClearColor",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
961 | return NULL; |
962 | { | |
963 | wxPy_BEGIN_ALLOW_THREADS; | |
964 | glClearColor(_arg0,_arg1,_arg2,_arg3); | |
965 | ||
966 | wxPy_END_ALLOW_THREADS; | |
967 | } Py_INCREF(Py_None); | |
968 | _resultobj = Py_None; | |
969 | return _resultobj; | |
970 | } | |
971 | ||
efc5f224 | 972 | static PyObject *_wrap_glClearDepth(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
973 | PyObject * _resultobj; |
974 | GLclampd _arg0; | |
efc5f224 | 975 | char *_kwnames[] = { "depth", NULL }; |
325274bb RD |
976 | |
977 | self = self; | |
efc5f224 | 978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:glClearDepth",_kwnames,&_arg0)) |
325274bb RD |
979 | return NULL; |
980 | { | |
981 | wxPy_BEGIN_ALLOW_THREADS; | |
982 | glClearDepth(_arg0); | |
983 | ||
984 | wxPy_END_ALLOW_THREADS; | |
985 | } Py_INCREF(Py_None); | |
986 | _resultobj = Py_None; | |
987 | return _resultobj; | |
988 | } | |
989 | ||
efc5f224 | 990 | static PyObject *_wrap_glClearIndex(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
991 | PyObject * _resultobj; |
992 | GLfloat _arg0; | |
efc5f224 | 993 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
994 | |
995 | self = self; | |
efc5f224 | 996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glClearIndex",_kwnames,&_arg0)) |
325274bb RD |
997 | return NULL; |
998 | { | |
999 | wxPy_BEGIN_ALLOW_THREADS; | |
1000 | glClearIndex(_arg0); | |
1001 | ||
1002 | wxPy_END_ALLOW_THREADS; | |
1003 | } Py_INCREF(Py_None); | |
1004 | _resultobj = Py_None; | |
1005 | return _resultobj; | |
1006 | } | |
1007 | ||
efc5f224 | 1008 | static PyObject *_wrap_glClearStencil(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1009 | PyObject * _resultobj; |
1010 | GLint _arg0; | |
efc5f224 | 1011 | char *_kwnames[] = { "s", NULL }; |
325274bb RD |
1012 | |
1013 | self = self; | |
efc5f224 | 1014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glClearStencil",_kwnames,&_arg0)) |
325274bb RD |
1015 | return NULL; |
1016 | { | |
1017 | wxPy_BEGIN_ALLOW_THREADS; | |
1018 | glClearStencil(_arg0); | |
1019 | ||
1020 | wxPy_END_ALLOW_THREADS; | |
1021 | } Py_INCREF(Py_None); | |
1022 | _resultobj = Py_None; | |
1023 | return _resultobj; | |
1024 | } | |
1025 | ||
efc5f224 | 1026 | static PyObject *_wrap_glClipPlane(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1027 | PyObject * _resultobj; |
1028 | GLenum _arg0; | |
1029 | GLdouble * _arg1; | |
1030 | PyObject * _argo1 = 0; | |
efc5f224 | 1031 | char *_kwnames[] = { "plane","equation", NULL }; |
325274bb RD |
1032 | |
1033 | self = self; | |
efc5f224 | 1034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glClipPlane",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
1035 | return NULL; |
1036 | if (_argo1) { | |
1037 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1038 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
1039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glClipPlane. Expected _GLdouble_p."); | |
1040 | return NULL; | |
1041 | } | |
1042 | } | |
1043 | { | |
1044 | wxPy_BEGIN_ALLOW_THREADS; | |
1045 | glClipPlane(_arg0,_arg1); | |
1046 | ||
1047 | wxPy_END_ALLOW_THREADS; | |
1048 | } Py_INCREF(Py_None); | |
1049 | _resultobj = Py_None; | |
1050 | return _resultobj; | |
1051 | } | |
1052 | ||
efc5f224 | 1053 | static PyObject *_wrap_glColor3b(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1054 | PyObject * _resultobj; |
1055 | GLbyte _arg0; | |
1056 | GLbyte _arg1; | |
1057 | GLbyte _arg2; | |
efc5f224 | 1058 | char *_kwnames[] = { "red","green","blue", NULL }; |
325274bb RD |
1059 | |
1060 | self = self; | |
efc5f224 | 1061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbb:glColor3b",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
1062 | return NULL; |
1063 | { | |
1064 | wxPy_BEGIN_ALLOW_THREADS; | |
1065 | glColor3b(_arg0,_arg1,_arg2); | |
1066 | ||
1067 | wxPy_END_ALLOW_THREADS; | |
1068 | } Py_INCREF(Py_None); | |
1069 | _resultobj = Py_None; | |
1070 | return _resultobj; | |
1071 | } | |
1072 | ||
efc5f224 | 1073 | static PyObject *_wrap_glColor3bv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1074 | PyObject * _resultobj; |
1075 | GLbyte * _arg0; | |
1076 | PyObject * _argo0 = 0; | |
efc5f224 | 1077 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1078 | |
1079 | self = self; | |
efc5f224 | 1080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3bv",_kwnames,&_argo0)) |
325274bb RD |
1081 | return NULL; |
1082 | if (_argo0) { | |
1083 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1084 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) { | |
1085 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3bv. Expected _GLbyte_p."); | |
1086 | return NULL; | |
1087 | } | |
1088 | } | |
1089 | { | |
1090 | wxPy_BEGIN_ALLOW_THREADS; | |
1091 | glColor3bv(_arg0); | |
1092 | ||
1093 | wxPy_END_ALLOW_THREADS; | |
1094 | } Py_INCREF(Py_None); | |
1095 | _resultobj = Py_None; | |
1096 | return _resultobj; | |
1097 | } | |
1098 | ||
efc5f224 | 1099 | static PyObject *_wrap_glColor3d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1100 | PyObject * _resultobj; |
1101 | GLdouble _arg0; | |
1102 | GLdouble _arg1; | |
1103 | GLdouble _arg2; | |
efc5f224 | 1104 | char *_kwnames[] = { "red","green","blue", NULL }; |
325274bb RD |
1105 | |
1106 | self = self; | |
efc5f224 | 1107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glColor3d",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
1108 | return NULL; |
1109 | { | |
1110 | wxPy_BEGIN_ALLOW_THREADS; | |
1111 | glColor3d(_arg0,_arg1,_arg2); | |
1112 | ||
1113 | wxPy_END_ALLOW_THREADS; | |
1114 | } Py_INCREF(Py_None); | |
1115 | _resultobj = Py_None; | |
1116 | return _resultobj; | |
1117 | } | |
1118 | ||
efc5f224 | 1119 | static PyObject *_wrap_glColor3dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1120 | PyObject * _resultobj; |
1121 | GLdouble * _arg0; | |
1122 | PyObject * _argo0 = 0; | |
efc5f224 | 1123 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1124 | |
1125 | self = self; | |
efc5f224 | 1126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3dv",_kwnames,&_argo0)) |
325274bb RD |
1127 | return NULL; |
1128 | if (_argo0) { | |
1129 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1130 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
1131 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3dv. Expected _GLdouble_p."); | |
1132 | return NULL; | |
1133 | } | |
1134 | } | |
1135 | { | |
1136 | wxPy_BEGIN_ALLOW_THREADS; | |
1137 | glColor3dv(_arg0); | |
1138 | ||
1139 | wxPy_END_ALLOW_THREADS; | |
1140 | } Py_INCREF(Py_None); | |
1141 | _resultobj = Py_None; | |
1142 | return _resultobj; | |
1143 | } | |
1144 | ||
efc5f224 | 1145 | static PyObject *_wrap_glColor3f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1146 | PyObject * _resultobj; |
1147 | GLfloat _arg0; | |
1148 | GLfloat _arg1; | |
1149 | GLfloat _arg2; | |
efc5f224 | 1150 | char *_kwnames[] = { "red","green","blue", NULL }; |
325274bb RD |
1151 | |
1152 | self = self; | |
efc5f224 | 1153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glColor3f",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
1154 | return NULL; |
1155 | { | |
1156 | wxPy_BEGIN_ALLOW_THREADS; | |
1157 | glColor3f(_arg0,_arg1,_arg2); | |
1158 | ||
1159 | wxPy_END_ALLOW_THREADS; | |
1160 | } Py_INCREF(Py_None); | |
1161 | _resultobj = Py_None; | |
1162 | return _resultobj; | |
1163 | } | |
1164 | ||
efc5f224 | 1165 | static PyObject *_wrap_glColor3fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1166 | PyObject * _resultobj; |
1167 | GLfloat * _arg0; | |
1168 | PyObject * _argo0 = 0; | |
efc5f224 | 1169 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1170 | |
1171 | self = self; | |
efc5f224 | 1172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3fv",_kwnames,&_argo0)) |
325274bb RD |
1173 | return NULL; |
1174 | if (_argo0) { | |
1175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
1177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3fv. Expected _GLfloat_p."); | |
1178 | return NULL; | |
1179 | } | |
1180 | } | |
1181 | { | |
1182 | wxPy_BEGIN_ALLOW_THREADS; | |
1183 | glColor3fv(_arg0); | |
1184 | ||
1185 | wxPy_END_ALLOW_THREADS; | |
1186 | } Py_INCREF(Py_None); | |
1187 | _resultobj = Py_None; | |
1188 | return _resultobj; | |
1189 | } | |
1190 | ||
efc5f224 | 1191 | static PyObject *_wrap_glColor3i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1192 | PyObject * _resultobj; |
1193 | GLint _arg0; | |
1194 | GLint _arg1; | |
1195 | GLint _arg2; | |
efc5f224 | 1196 | char *_kwnames[] = { "red","green","blue", NULL }; |
325274bb RD |
1197 | |
1198 | self = self; | |
efc5f224 | 1199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glColor3i",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
1200 | return NULL; |
1201 | { | |
1202 | wxPy_BEGIN_ALLOW_THREADS; | |
1203 | glColor3i(_arg0,_arg1,_arg2); | |
1204 | ||
1205 | wxPy_END_ALLOW_THREADS; | |
1206 | } Py_INCREF(Py_None); | |
1207 | _resultobj = Py_None; | |
1208 | return _resultobj; | |
1209 | } | |
1210 | ||
efc5f224 | 1211 | static PyObject *_wrap_glColor3iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1212 | PyObject * _resultobj; |
1213 | GLint * _arg0; | |
1214 | PyObject * _argo0 = 0; | |
efc5f224 | 1215 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1216 | |
1217 | self = self; | |
efc5f224 | 1218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3iv",_kwnames,&_argo0)) |
325274bb RD |
1219 | return NULL; |
1220 | if (_argo0) { | |
1221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
1223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3iv. Expected _GLint_p."); | |
1224 | return NULL; | |
1225 | } | |
1226 | } | |
1227 | { | |
1228 | wxPy_BEGIN_ALLOW_THREADS; | |
1229 | glColor3iv(_arg0); | |
1230 | ||
1231 | wxPy_END_ALLOW_THREADS; | |
1232 | } Py_INCREF(Py_None); | |
1233 | _resultobj = Py_None; | |
1234 | return _resultobj; | |
1235 | } | |
1236 | ||
efc5f224 | 1237 | static PyObject *_wrap_glColor3s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1238 | PyObject * _resultobj; |
1239 | GLshort _arg0; | |
1240 | GLshort _arg1; | |
1241 | GLshort _arg2; | |
efc5f224 | 1242 | char *_kwnames[] = { "red","green","blue", NULL }; |
325274bb RD |
1243 | |
1244 | self = self; | |
efc5f224 | 1245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glColor3s",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
1246 | return NULL; |
1247 | { | |
1248 | wxPy_BEGIN_ALLOW_THREADS; | |
1249 | glColor3s(_arg0,_arg1,_arg2); | |
1250 | ||
1251 | wxPy_END_ALLOW_THREADS; | |
1252 | } Py_INCREF(Py_None); | |
1253 | _resultobj = Py_None; | |
1254 | return _resultobj; | |
1255 | } | |
1256 | ||
efc5f224 | 1257 | static PyObject *_wrap_glColor3sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1258 | PyObject * _resultobj; |
1259 | GLshort * _arg0; | |
1260 | PyObject * _argo0 = 0; | |
efc5f224 | 1261 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1262 | |
1263 | self = self; | |
efc5f224 | 1264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3sv",_kwnames,&_argo0)) |
325274bb RD |
1265 | return NULL; |
1266 | if (_argo0) { | |
1267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
1269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3sv. Expected _GLshort_p."); | |
1270 | return NULL; | |
1271 | } | |
1272 | } | |
1273 | { | |
1274 | wxPy_BEGIN_ALLOW_THREADS; | |
1275 | glColor3sv(_arg0); | |
1276 | ||
1277 | wxPy_END_ALLOW_THREADS; | |
1278 | } Py_INCREF(Py_None); | |
1279 | _resultobj = Py_None; | |
1280 | return _resultobj; | |
1281 | } | |
1282 | ||
efc5f224 | 1283 | static PyObject *_wrap_glColor3ub(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1284 | PyObject * _resultobj; |
1285 | GLubyte _arg0; | |
1286 | GLubyte _arg1; | |
1287 | GLubyte _arg2; | |
efc5f224 | 1288 | char *_kwnames[] = { "red","green","blue", NULL }; |
325274bb RD |
1289 | |
1290 | self = self; | |
efc5f224 | 1291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbb:glColor3ub",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
1292 | return NULL; |
1293 | { | |
1294 | wxPy_BEGIN_ALLOW_THREADS; | |
1295 | glColor3ub(_arg0,_arg1,_arg2); | |
1296 | ||
1297 | wxPy_END_ALLOW_THREADS; | |
1298 | } Py_INCREF(Py_None); | |
1299 | _resultobj = Py_None; | |
1300 | return _resultobj; | |
1301 | } | |
1302 | ||
efc5f224 | 1303 | static PyObject *_wrap_glColor3ubv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1304 | PyObject * _resultobj; |
1305 | GLubyte * _arg0; | |
1306 | PyObject * _argo0 = 0; | |
efc5f224 | 1307 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1308 | |
1309 | self = self; | |
efc5f224 | 1310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3ubv",_kwnames,&_argo0)) |
325274bb RD |
1311 | return NULL; |
1312 | if (_argo0) { | |
1313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
1315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3ubv. Expected _GLubyte_p."); | |
1316 | return NULL; | |
1317 | } | |
1318 | } | |
1319 | { | |
1320 | wxPy_BEGIN_ALLOW_THREADS; | |
1321 | glColor3ubv(_arg0); | |
1322 | ||
1323 | wxPy_END_ALLOW_THREADS; | |
1324 | } Py_INCREF(Py_None); | |
1325 | _resultobj = Py_None; | |
1326 | return _resultobj; | |
1327 | } | |
1328 | ||
efc5f224 | 1329 | static PyObject *_wrap_glColor3ui(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1330 | PyObject * _resultobj; |
1331 | GLuint _arg0; | |
1332 | GLuint _arg1; | |
1333 | GLuint _arg2; | |
efc5f224 | 1334 | char *_kwnames[] = { "red","green","blue", NULL }; |
325274bb RD |
1335 | |
1336 | self = self; | |
efc5f224 | 1337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glColor3ui",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
1338 | return NULL; |
1339 | { | |
1340 | wxPy_BEGIN_ALLOW_THREADS; | |
1341 | glColor3ui(_arg0,_arg1,_arg2); | |
1342 | ||
1343 | wxPy_END_ALLOW_THREADS; | |
1344 | } Py_INCREF(Py_None); | |
1345 | _resultobj = Py_None; | |
1346 | return _resultobj; | |
1347 | } | |
1348 | ||
efc5f224 | 1349 | static PyObject *_wrap_glColor3uiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1350 | PyObject * _resultobj; |
1351 | GLuint * _arg0; | |
1352 | PyObject * _argo0 = 0; | |
efc5f224 | 1353 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1354 | |
1355 | self = self; | |
efc5f224 | 1356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3uiv",_kwnames,&_argo0)) |
325274bb RD |
1357 | return NULL; |
1358 | if (_argo0) { | |
1359 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1360 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLuint_p")) { | |
1361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3uiv. Expected _GLuint_p."); | |
1362 | return NULL; | |
1363 | } | |
1364 | } | |
1365 | { | |
1366 | wxPy_BEGIN_ALLOW_THREADS; | |
1367 | glColor3uiv(_arg0); | |
1368 | ||
1369 | wxPy_END_ALLOW_THREADS; | |
1370 | } Py_INCREF(Py_None); | |
1371 | _resultobj = Py_None; | |
1372 | return _resultobj; | |
1373 | } | |
1374 | ||
efc5f224 | 1375 | static PyObject *_wrap_glColor3us(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1376 | PyObject * _resultobj; |
1377 | GLushort _arg0; | |
1378 | GLushort _arg1; | |
1379 | GLushort _arg2; | |
efc5f224 | 1380 | char *_kwnames[] = { "red","green","blue", NULL }; |
325274bb RD |
1381 | |
1382 | self = self; | |
efc5f224 | 1383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glColor3us",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
1384 | return NULL; |
1385 | { | |
1386 | wxPy_BEGIN_ALLOW_THREADS; | |
1387 | glColor3us(_arg0,_arg1,_arg2); | |
1388 | ||
1389 | wxPy_END_ALLOW_THREADS; | |
1390 | } Py_INCREF(Py_None); | |
1391 | _resultobj = Py_None; | |
1392 | return _resultobj; | |
1393 | } | |
1394 | ||
efc5f224 | 1395 | static PyObject *_wrap_glColor3usv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1396 | PyObject * _resultobj; |
1397 | GLushort * _arg0; | |
1398 | PyObject * _argo0 = 0; | |
efc5f224 | 1399 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1400 | |
1401 | self = self; | |
efc5f224 | 1402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor3usv",_kwnames,&_argo0)) |
325274bb RD |
1403 | return NULL; |
1404 | if (_argo0) { | |
1405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLushort_p")) { | |
1407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor3usv. Expected _GLushort_p."); | |
1408 | return NULL; | |
1409 | } | |
1410 | } | |
1411 | { | |
1412 | wxPy_BEGIN_ALLOW_THREADS; | |
1413 | glColor3usv(_arg0); | |
1414 | ||
1415 | wxPy_END_ALLOW_THREADS; | |
1416 | } Py_INCREF(Py_None); | |
1417 | _resultobj = Py_None; | |
1418 | return _resultobj; | |
1419 | } | |
1420 | ||
efc5f224 | 1421 | static PyObject *_wrap_glColor4b(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1422 | PyObject * _resultobj; |
1423 | GLbyte _arg0; | |
1424 | GLbyte _arg1; | |
1425 | GLbyte _arg2; | |
1426 | GLbyte _arg3; | |
efc5f224 | 1427 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1428 | |
1429 | self = self; | |
efc5f224 | 1430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbbb:glColor4b",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1431 | return NULL; |
1432 | { | |
1433 | wxPy_BEGIN_ALLOW_THREADS; | |
1434 | glColor4b(_arg0,_arg1,_arg2,_arg3); | |
1435 | ||
1436 | wxPy_END_ALLOW_THREADS; | |
1437 | } Py_INCREF(Py_None); | |
1438 | _resultobj = Py_None; | |
1439 | return _resultobj; | |
1440 | } | |
1441 | ||
efc5f224 | 1442 | static PyObject *_wrap_glColor4bv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1443 | PyObject * _resultobj; |
1444 | GLbyte * _arg0; | |
1445 | PyObject * _argo0 = 0; | |
efc5f224 | 1446 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1447 | |
1448 | self = self; | |
efc5f224 | 1449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4bv",_kwnames,&_argo0)) |
325274bb RD |
1450 | return NULL; |
1451 | if (_argo0) { | |
1452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) { | |
1454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4bv. Expected _GLbyte_p."); | |
1455 | return NULL; | |
1456 | } | |
1457 | } | |
1458 | { | |
1459 | wxPy_BEGIN_ALLOW_THREADS; | |
1460 | glColor4bv(_arg0); | |
1461 | ||
1462 | wxPy_END_ALLOW_THREADS; | |
1463 | } Py_INCREF(Py_None); | |
1464 | _resultobj = Py_None; | |
1465 | return _resultobj; | |
1466 | } | |
1467 | ||
efc5f224 | 1468 | static PyObject *_wrap_glColor4d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1469 | PyObject * _resultobj; |
1470 | GLdouble _arg0; | |
1471 | GLdouble _arg1; | |
1472 | GLdouble _arg2; | |
1473 | GLdouble _arg3; | |
efc5f224 | 1474 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1475 | |
1476 | self = self; | |
efc5f224 | 1477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glColor4d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1478 | return NULL; |
1479 | { | |
1480 | wxPy_BEGIN_ALLOW_THREADS; | |
1481 | glColor4d(_arg0,_arg1,_arg2,_arg3); | |
1482 | ||
1483 | wxPy_END_ALLOW_THREADS; | |
1484 | } Py_INCREF(Py_None); | |
1485 | _resultobj = Py_None; | |
1486 | return _resultobj; | |
1487 | } | |
1488 | ||
efc5f224 | 1489 | static PyObject *_wrap_glColor4dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1490 | PyObject * _resultobj; |
1491 | GLdouble * _arg0; | |
1492 | PyObject * _argo0 = 0; | |
efc5f224 | 1493 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1494 | |
1495 | self = self; | |
efc5f224 | 1496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4dv",_kwnames,&_argo0)) |
325274bb RD |
1497 | return NULL; |
1498 | if (_argo0) { | |
1499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
1501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4dv. Expected _GLdouble_p."); | |
1502 | return NULL; | |
1503 | } | |
1504 | } | |
1505 | { | |
1506 | wxPy_BEGIN_ALLOW_THREADS; | |
1507 | glColor4dv(_arg0); | |
1508 | ||
1509 | wxPy_END_ALLOW_THREADS; | |
1510 | } Py_INCREF(Py_None); | |
1511 | _resultobj = Py_None; | |
1512 | return _resultobj; | |
1513 | } | |
1514 | ||
efc5f224 | 1515 | static PyObject *_wrap_glColor4f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1516 | PyObject * _resultobj; |
1517 | GLfloat _arg0; | |
1518 | GLfloat _arg1; | |
1519 | GLfloat _arg2; | |
1520 | GLfloat _arg3; | |
efc5f224 | 1521 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1522 | |
1523 | self = self; | |
efc5f224 | 1524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glColor4f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1525 | return NULL; |
1526 | { | |
1527 | wxPy_BEGIN_ALLOW_THREADS; | |
1528 | glColor4f(_arg0,_arg1,_arg2,_arg3); | |
1529 | ||
1530 | wxPy_END_ALLOW_THREADS; | |
1531 | } Py_INCREF(Py_None); | |
1532 | _resultobj = Py_None; | |
1533 | return _resultobj; | |
1534 | } | |
1535 | ||
efc5f224 | 1536 | static PyObject *_wrap_glColor4fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1537 | PyObject * _resultobj; |
1538 | GLfloat * _arg0; | |
1539 | PyObject * _argo0 = 0; | |
efc5f224 | 1540 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1541 | |
1542 | self = self; | |
efc5f224 | 1543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4fv",_kwnames,&_argo0)) |
325274bb RD |
1544 | return NULL; |
1545 | if (_argo0) { | |
1546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
1548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4fv. Expected _GLfloat_p."); | |
1549 | return NULL; | |
1550 | } | |
1551 | } | |
1552 | { | |
1553 | wxPy_BEGIN_ALLOW_THREADS; | |
1554 | glColor4fv(_arg0); | |
1555 | ||
1556 | wxPy_END_ALLOW_THREADS; | |
1557 | } Py_INCREF(Py_None); | |
1558 | _resultobj = Py_None; | |
1559 | return _resultobj; | |
1560 | } | |
1561 | ||
efc5f224 | 1562 | static PyObject *_wrap_glColor4i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1563 | PyObject * _resultobj; |
1564 | GLint _arg0; | |
1565 | GLint _arg1; | |
1566 | GLint _arg2; | |
1567 | GLint _arg3; | |
efc5f224 | 1568 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1569 | |
1570 | self = self; | |
efc5f224 | 1571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glColor4i",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1572 | return NULL; |
1573 | { | |
1574 | wxPy_BEGIN_ALLOW_THREADS; | |
1575 | glColor4i(_arg0,_arg1,_arg2,_arg3); | |
1576 | ||
1577 | wxPy_END_ALLOW_THREADS; | |
1578 | } Py_INCREF(Py_None); | |
1579 | _resultobj = Py_None; | |
1580 | return _resultobj; | |
1581 | } | |
1582 | ||
efc5f224 | 1583 | static PyObject *_wrap_glColor4iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1584 | PyObject * _resultobj; |
1585 | GLint * _arg0; | |
1586 | PyObject * _argo0 = 0; | |
efc5f224 | 1587 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1588 | |
1589 | self = self; | |
efc5f224 | 1590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4iv",_kwnames,&_argo0)) |
325274bb RD |
1591 | return NULL; |
1592 | if (_argo0) { | |
1593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
1595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4iv. Expected _GLint_p."); | |
1596 | return NULL; | |
1597 | } | |
1598 | } | |
1599 | { | |
1600 | wxPy_BEGIN_ALLOW_THREADS; | |
1601 | glColor4iv(_arg0); | |
1602 | ||
1603 | wxPy_END_ALLOW_THREADS; | |
1604 | } Py_INCREF(Py_None); | |
1605 | _resultobj = Py_None; | |
1606 | return _resultobj; | |
1607 | } | |
1608 | ||
efc5f224 | 1609 | static PyObject *_wrap_glColor4s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1610 | PyObject * _resultobj; |
1611 | GLshort _arg0; | |
1612 | GLshort _arg1; | |
1613 | GLshort _arg2; | |
1614 | GLshort _arg3; | |
efc5f224 | 1615 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1616 | |
1617 | self = self; | |
efc5f224 | 1618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glColor4s",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1619 | return NULL; |
1620 | { | |
1621 | wxPy_BEGIN_ALLOW_THREADS; | |
1622 | glColor4s(_arg0,_arg1,_arg2,_arg3); | |
1623 | ||
1624 | wxPy_END_ALLOW_THREADS; | |
1625 | } Py_INCREF(Py_None); | |
1626 | _resultobj = Py_None; | |
1627 | return _resultobj; | |
1628 | } | |
1629 | ||
efc5f224 | 1630 | static PyObject *_wrap_glColor4sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1631 | PyObject * _resultobj; |
1632 | GLshort * _arg0; | |
1633 | PyObject * _argo0 = 0; | |
efc5f224 | 1634 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1635 | |
1636 | self = self; | |
efc5f224 | 1637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4sv",_kwnames,&_argo0)) |
325274bb RD |
1638 | return NULL; |
1639 | if (_argo0) { | |
1640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
1642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4sv. Expected _GLshort_p."); | |
1643 | return NULL; | |
1644 | } | |
1645 | } | |
1646 | { | |
1647 | wxPy_BEGIN_ALLOW_THREADS; | |
1648 | glColor4sv(_arg0); | |
1649 | ||
1650 | wxPy_END_ALLOW_THREADS; | |
1651 | } Py_INCREF(Py_None); | |
1652 | _resultobj = Py_None; | |
1653 | return _resultobj; | |
1654 | } | |
1655 | ||
efc5f224 | 1656 | static PyObject *_wrap_glColor4ub(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1657 | PyObject * _resultobj; |
1658 | GLubyte _arg0; | |
1659 | GLubyte _arg1; | |
1660 | GLubyte _arg2; | |
1661 | GLubyte _arg3; | |
efc5f224 | 1662 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1663 | |
1664 | self = self; | |
efc5f224 | 1665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbbb:glColor4ub",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1666 | return NULL; |
1667 | { | |
1668 | wxPy_BEGIN_ALLOW_THREADS; | |
1669 | glColor4ub(_arg0,_arg1,_arg2,_arg3); | |
1670 | ||
1671 | wxPy_END_ALLOW_THREADS; | |
1672 | } Py_INCREF(Py_None); | |
1673 | _resultobj = Py_None; | |
1674 | return _resultobj; | |
1675 | } | |
1676 | ||
efc5f224 | 1677 | static PyObject *_wrap_glColor4ubv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1678 | PyObject * _resultobj; |
1679 | GLubyte * _arg0; | |
1680 | PyObject * _argo0 = 0; | |
efc5f224 | 1681 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1682 | |
1683 | self = self; | |
efc5f224 | 1684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4ubv",_kwnames,&_argo0)) |
325274bb RD |
1685 | return NULL; |
1686 | if (_argo0) { | |
1687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
1689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4ubv. Expected _GLubyte_p."); | |
1690 | return NULL; | |
1691 | } | |
1692 | } | |
1693 | { | |
1694 | wxPy_BEGIN_ALLOW_THREADS; | |
1695 | glColor4ubv(_arg0); | |
1696 | ||
1697 | wxPy_END_ALLOW_THREADS; | |
1698 | } Py_INCREF(Py_None); | |
1699 | _resultobj = Py_None; | |
1700 | return _resultobj; | |
1701 | } | |
1702 | ||
efc5f224 | 1703 | static PyObject *_wrap_glColor4ui(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1704 | PyObject * _resultobj; |
1705 | GLuint _arg0; | |
1706 | GLuint _arg1; | |
1707 | GLuint _arg2; | |
1708 | GLuint _arg3; | |
efc5f224 | 1709 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1710 | |
1711 | self = self; | |
efc5f224 | 1712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glColor4ui",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1713 | return NULL; |
1714 | { | |
1715 | wxPy_BEGIN_ALLOW_THREADS; | |
1716 | glColor4ui(_arg0,_arg1,_arg2,_arg3); | |
1717 | ||
1718 | wxPy_END_ALLOW_THREADS; | |
1719 | } Py_INCREF(Py_None); | |
1720 | _resultobj = Py_None; | |
1721 | return _resultobj; | |
1722 | } | |
1723 | ||
efc5f224 | 1724 | static PyObject *_wrap_glColor4uiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1725 | PyObject * _resultobj; |
1726 | GLuint * _arg0; | |
1727 | PyObject * _argo0 = 0; | |
efc5f224 | 1728 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1729 | |
1730 | self = self; | |
efc5f224 | 1731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4uiv",_kwnames,&_argo0)) |
325274bb RD |
1732 | return NULL; |
1733 | if (_argo0) { | |
1734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLuint_p")) { | |
1736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4uiv. Expected _GLuint_p."); | |
1737 | return NULL; | |
1738 | } | |
1739 | } | |
1740 | { | |
1741 | wxPy_BEGIN_ALLOW_THREADS; | |
1742 | glColor4uiv(_arg0); | |
1743 | ||
1744 | wxPy_END_ALLOW_THREADS; | |
1745 | } Py_INCREF(Py_None); | |
1746 | _resultobj = Py_None; | |
1747 | return _resultobj; | |
1748 | } | |
1749 | ||
efc5f224 | 1750 | static PyObject *_wrap_glColor4us(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1751 | PyObject * _resultobj; |
1752 | GLushort _arg0; | |
1753 | GLushort _arg1; | |
1754 | GLushort _arg2; | |
1755 | GLushort _arg3; | |
efc5f224 | 1756 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1757 | |
1758 | self = self; | |
efc5f224 | 1759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glColor4us",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1760 | return NULL; |
1761 | { | |
1762 | wxPy_BEGIN_ALLOW_THREADS; | |
1763 | glColor4us(_arg0,_arg1,_arg2,_arg3); | |
1764 | ||
1765 | wxPy_END_ALLOW_THREADS; | |
1766 | } Py_INCREF(Py_None); | |
1767 | _resultobj = Py_None; | |
1768 | return _resultobj; | |
1769 | } | |
1770 | ||
efc5f224 | 1771 | static PyObject *_wrap_glColor4usv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1772 | PyObject * _resultobj; |
1773 | GLushort * _arg0; | |
1774 | PyObject * _argo0 = 0; | |
efc5f224 | 1775 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
1776 | |
1777 | self = self; | |
efc5f224 | 1778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glColor4usv",_kwnames,&_argo0)) |
325274bb RD |
1779 | return NULL; |
1780 | if (_argo0) { | |
1781 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1782 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLushort_p")) { | |
1783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glColor4usv. Expected _GLushort_p."); | |
1784 | return NULL; | |
1785 | } | |
1786 | } | |
1787 | { | |
1788 | wxPy_BEGIN_ALLOW_THREADS; | |
1789 | glColor4usv(_arg0); | |
1790 | ||
1791 | wxPy_END_ALLOW_THREADS; | |
1792 | } Py_INCREF(Py_None); | |
1793 | _resultobj = Py_None; | |
1794 | return _resultobj; | |
1795 | } | |
1796 | ||
efc5f224 | 1797 | static PyObject *_wrap_glColorMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1798 | PyObject * _resultobj; |
1799 | GLboolean _arg0; | |
1800 | GLboolean _arg1; | |
1801 | GLboolean _arg2; | |
1802 | GLboolean _arg3; | |
efc5f224 | 1803 | char *_kwnames[] = { "red","green","blue","alpha", NULL }; |
325274bb RD |
1804 | |
1805 | self = self; | |
efc5f224 | 1806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbbb:glColorMask",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
1807 | return NULL; |
1808 | { | |
1809 | wxPy_BEGIN_ALLOW_THREADS; | |
1810 | glColorMask(_arg0,_arg1,_arg2,_arg3); | |
1811 | ||
1812 | wxPy_END_ALLOW_THREADS; | |
1813 | } Py_INCREF(Py_None); | |
1814 | _resultobj = Py_None; | |
1815 | return _resultobj; | |
1816 | } | |
1817 | ||
efc5f224 | 1818 | static PyObject *_wrap_glColorMaterial(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1819 | PyObject * _resultobj; |
1820 | GLenum _arg0; | |
1821 | GLenum _arg1; | |
efc5f224 | 1822 | char *_kwnames[] = { "face","mode", NULL }; |
325274bb RD |
1823 | |
1824 | self = self; | |
efc5f224 | 1825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glColorMaterial",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
1826 | return NULL; |
1827 | { | |
1828 | wxPy_BEGIN_ALLOW_THREADS; | |
1829 | glColorMaterial(_arg0,_arg1); | |
1830 | ||
1831 | wxPy_END_ALLOW_THREADS; | |
1832 | } Py_INCREF(Py_None); | |
1833 | _resultobj = Py_None; | |
1834 | return _resultobj; | |
1835 | } | |
1836 | ||
efc5f224 | 1837 | static PyObject *_wrap_glColorPointer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1838 | PyObject * _resultobj; |
1839 | GLint _arg0; | |
1840 | GLenum _arg1; | |
1841 | GLsizei _arg2; | |
1842 | GLvoid * _arg3; | |
1843 | PyObject * _argo3 = 0; | |
efc5f224 | 1844 | char *_kwnames[] = { "size","type","stride","pointer", NULL }; |
325274bb RD |
1845 | |
1846 | self = self; | |
efc5f224 | 1847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glColorPointer",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
1848 | return NULL; |
1849 | if (_argo3) { | |
1850 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1851 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
1852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glColorPointer. Expected _GLvoid_p."); | |
1853 | return NULL; | |
1854 | } | |
1855 | } | |
1856 | { | |
1857 | wxPy_BEGIN_ALLOW_THREADS; | |
1858 | glColorPointer(_arg0,_arg1,_arg2,_arg3); | |
1859 | ||
1860 | wxPy_END_ALLOW_THREADS; | |
1861 | } Py_INCREF(Py_None); | |
1862 | _resultobj = Py_None; | |
1863 | return _resultobj; | |
1864 | } | |
1865 | ||
efc5f224 | 1866 | static PyObject *_wrap_glCopyPixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1867 | PyObject * _resultobj; |
1868 | GLint _arg0; | |
1869 | GLint _arg1; | |
1870 | GLsizei _arg2; | |
1871 | GLsizei _arg3; | |
1872 | GLenum _arg4; | |
efc5f224 | 1873 | char *_kwnames[] = { "x","y","width","height","type", NULL }; |
325274bb RD |
1874 | |
1875 | self = self; | |
efc5f224 | 1876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiii:glCopyPixels",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4)) |
325274bb RD |
1877 | return NULL; |
1878 | { | |
1879 | wxPy_BEGIN_ALLOW_THREADS; | |
1880 | glCopyPixels(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1881 | ||
1882 | wxPy_END_ALLOW_THREADS; | |
1883 | } Py_INCREF(Py_None); | |
1884 | _resultobj = Py_None; | |
1885 | return _resultobj; | |
1886 | } | |
1887 | ||
efc5f224 | 1888 | static PyObject *_wrap_glCopyTexImage1D(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1889 | PyObject * _resultobj; |
1890 | GLenum _arg0; | |
1891 | GLint _arg1; | |
1892 | GLenum _arg2; | |
1893 | GLint _arg3; | |
1894 | GLint _arg4; | |
1895 | GLsizei _arg5; | |
1896 | GLint _arg6; | |
efc5f224 | 1897 | char *_kwnames[] = { "target","level","internalFormat","x","y","width","border", NULL }; |
325274bb RD |
1898 | |
1899 | self = self; | |
efc5f224 | 1900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiii:glCopyTexImage1D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6)) |
325274bb RD |
1901 | return NULL; |
1902 | { | |
1903 | wxPy_BEGIN_ALLOW_THREADS; | |
1904 | glCopyTexImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1905 | ||
1906 | wxPy_END_ALLOW_THREADS; | |
1907 | } Py_INCREF(Py_None); | |
1908 | _resultobj = Py_None; | |
1909 | return _resultobj; | |
1910 | } | |
1911 | ||
efc5f224 | 1912 | static PyObject *_wrap_glCopyTexImage2D(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1913 | PyObject * _resultobj; |
1914 | GLenum _arg0; | |
1915 | GLint _arg1; | |
1916 | GLenum _arg2; | |
1917 | GLint _arg3; | |
1918 | GLint _arg4; | |
1919 | GLsizei _arg5; | |
1920 | GLsizei _arg6; | |
1921 | GLint _arg7; | |
efc5f224 | 1922 | char *_kwnames[] = { "target","level","internalFormat","x","y","width","height","border", NULL }; |
325274bb RD |
1923 | |
1924 | self = self; | |
efc5f224 | 1925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiii:glCopyTexImage2D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7)) |
325274bb RD |
1926 | return NULL; |
1927 | { | |
1928 | wxPy_BEGIN_ALLOW_THREADS; | |
1929 | glCopyTexImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
1930 | ||
1931 | wxPy_END_ALLOW_THREADS; | |
1932 | } Py_INCREF(Py_None); | |
1933 | _resultobj = Py_None; | |
1934 | return _resultobj; | |
1935 | } | |
1936 | ||
efc5f224 | 1937 | static PyObject *_wrap_glCopyTexSubImage1D(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1938 | PyObject * _resultobj; |
1939 | GLenum _arg0; | |
1940 | GLint _arg1; | |
1941 | GLint _arg2; | |
1942 | GLint _arg3; | |
1943 | GLint _arg4; | |
1944 | GLsizei _arg5; | |
efc5f224 | 1945 | char *_kwnames[] = { "target","level","xoffset","x","y","width", NULL }; |
325274bb RD |
1946 | |
1947 | self = self; | |
efc5f224 | 1948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiii:glCopyTexSubImage1D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) |
325274bb RD |
1949 | return NULL; |
1950 | { | |
1951 | wxPy_BEGIN_ALLOW_THREADS; | |
1952 | glCopyTexSubImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1953 | ||
1954 | wxPy_END_ALLOW_THREADS; | |
1955 | } Py_INCREF(Py_None); | |
1956 | _resultobj = Py_None; | |
1957 | return _resultobj; | |
1958 | } | |
1959 | ||
efc5f224 | 1960 | static PyObject *_wrap_glCopyTexSubImage2D(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1961 | PyObject * _resultobj; |
1962 | GLenum _arg0; | |
1963 | GLint _arg1; | |
1964 | GLint _arg2; | |
1965 | GLint _arg3; | |
1966 | GLint _arg4; | |
1967 | GLint _arg5; | |
1968 | GLsizei _arg6; | |
1969 | GLsizei _arg7; | |
efc5f224 | 1970 | char *_kwnames[] = { "target","level","xoffset","yoffset","x","y","width","height", NULL }; |
325274bb RD |
1971 | |
1972 | self = self; | |
efc5f224 | 1973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiii:glCopyTexSubImage2D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7)) |
325274bb RD |
1974 | return NULL; |
1975 | { | |
1976 | wxPy_BEGIN_ALLOW_THREADS; | |
1977 | glCopyTexSubImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
1978 | ||
1979 | wxPy_END_ALLOW_THREADS; | |
1980 | } Py_INCREF(Py_None); | |
1981 | _resultobj = Py_None; | |
1982 | return _resultobj; | |
1983 | } | |
1984 | ||
efc5f224 | 1985 | static PyObject *_wrap_glCullFace(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
1986 | PyObject * _resultobj; |
1987 | GLenum _arg0; | |
efc5f224 | 1988 | char *_kwnames[] = { "mode", NULL }; |
325274bb RD |
1989 | |
1990 | self = self; | |
efc5f224 | 1991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glCullFace",_kwnames,&_arg0)) |
325274bb RD |
1992 | return NULL; |
1993 | { | |
1994 | wxPy_BEGIN_ALLOW_THREADS; | |
1995 | glCullFace(_arg0); | |
1996 | ||
1997 | wxPy_END_ALLOW_THREADS; | |
1998 | } Py_INCREF(Py_None); | |
1999 | _resultobj = Py_None; | |
2000 | return _resultobj; | |
2001 | } | |
2002 | ||
efc5f224 | 2003 | static PyObject *_wrap_glDeleteLists(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2004 | PyObject * _resultobj; |
2005 | GLuint _arg0; | |
2006 | GLsizei _arg1; | |
efc5f224 | 2007 | char *_kwnames[] = { "list","range", NULL }; |
325274bb RD |
2008 | |
2009 | self = self; | |
efc5f224 | 2010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glDeleteLists",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
2011 | return NULL; |
2012 | { | |
2013 | wxPy_BEGIN_ALLOW_THREADS; | |
2014 | glDeleteLists(_arg0,_arg1); | |
2015 | ||
2016 | wxPy_END_ALLOW_THREADS; | |
2017 | } Py_INCREF(Py_None); | |
2018 | _resultobj = Py_None; | |
2019 | return _resultobj; | |
2020 | } | |
2021 | ||
efc5f224 | 2022 | static PyObject *_wrap_glDeleteTextures(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2023 | PyObject * _resultobj; |
2024 | GLsizei _arg0; | |
2025 | GLuint * _arg1; | |
2026 | PyObject * _argo1 = 0; | |
efc5f224 | 2027 | char *_kwnames[] = { "n","textures", NULL }; |
325274bb RD |
2028 | |
2029 | self = self; | |
efc5f224 | 2030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glDeleteTextures",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2031 | return NULL; |
2032 | if (_argo1) { | |
2033 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2034 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
2035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glDeleteTextures. Expected _GLuint_p."); | |
2036 | return NULL; | |
2037 | } | |
2038 | } | |
2039 | { | |
2040 | wxPy_BEGIN_ALLOW_THREADS; | |
2041 | glDeleteTextures(_arg0,_arg1); | |
2042 | ||
2043 | wxPy_END_ALLOW_THREADS; | |
2044 | } Py_INCREF(Py_None); | |
2045 | _resultobj = Py_None; | |
2046 | return _resultobj; | |
2047 | } | |
2048 | ||
efc5f224 | 2049 | static PyObject *_wrap_glDepthFunc(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2050 | PyObject * _resultobj; |
2051 | GLenum _arg0; | |
efc5f224 | 2052 | char *_kwnames[] = { "func", NULL }; |
325274bb RD |
2053 | |
2054 | self = self; | |
efc5f224 | 2055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glDepthFunc",_kwnames,&_arg0)) |
325274bb RD |
2056 | return NULL; |
2057 | { | |
2058 | wxPy_BEGIN_ALLOW_THREADS; | |
2059 | glDepthFunc(_arg0); | |
2060 | ||
2061 | wxPy_END_ALLOW_THREADS; | |
2062 | } Py_INCREF(Py_None); | |
2063 | _resultobj = Py_None; | |
2064 | return _resultobj; | |
2065 | } | |
2066 | ||
efc5f224 | 2067 | static PyObject *_wrap_glDepthMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2068 | PyObject * _resultobj; |
2069 | GLboolean _arg0; | |
efc5f224 | 2070 | char *_kwnames[] = { "flag", NULL }; |
325274bb RD |
2071 | |
2072 | self = self; | |
efc5f224 | 2073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"b:glDepthMask",_kwnames,&_arg0)) |
325274bb RD |
2074 | return NULL; |
2075 | { | |
2076 | wxPy_BEGIN_ALLOW_THREADS; | |
2077 | glDepthMask(_arg0); | |
2078 | ||
2079 | wxPy_END_ALLOW_THREADS; | |
2080 | } Py_INCREF(Py_None); | |
2081 | _resultobj = Py_None; | |
2082 | return _resultobj; | |
2083 | } | |
2084 | ||
efc5f224 | 2085 | static PyObject *_wrap_glDepthRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2086 | PyObject * _resultobj; |
2087 | GLclampd _arg0; | |
2088 | GLclampd _arg1; | |
efc5f224 | 2089 | char *_kwnames[] = { "zNear","zFar", NULL }; |
325274bb RD |
2090 | |
2091 | self = self; | |
efc5f224 | 2092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glDepthRange",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
2093 | return NULL; |
2094 | { | |
2095 | wxPy_BEGIN_ALLOW_THREADS; | |
2096 | glDepthRange(_arg0,_arg1); | |
2097 | ||
2098 | wxPy_END_ALLOW_THREADS; | |
2099 | } Py_INCREF(Py_None); | |
2100 | _resultobj = Py_None; | |
2101 | return _resultobj; | |
2102 | } | |
2103 | ||
efc5f224 | 2104 | static PyObject *_wrap_glDisable(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2105 | PyObject * _resultobj; |
2106 | GLenum _arg0; | |
efc5f224 | 2107 | char *_kwnames[] = { "cap", NULL }; |
325274bb RD |
2108 | |
2109 | self = self; | |
efc5f224 | 2110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glDisable",_kwnames,&_arg0)) |
325274bb RD |
2111 | return NULL; |
2112 | { | |
2113 | wxPy_BEGIN_ALLOW_THREADS; | |
2114 | glDisable(_arg0); | |
2115 | ||
2116 | wxPy_END_ALLOW_THREADS; | |
2117 | } Py_INCREF(Py_None); | |
2118 | _resultobj = Py_None; | |
2119 | return _resultobj; | |
2120 | } | |
2121 | ||
efc5f224 | 2122 | static PyObject *_wrap_glDisableClientState(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2123 | PyObject * _resultobj; |
2124 | GLenum _arg0; | |
efc5f224 | 2125 | char *_kwnames[] = { "array", NULL }; |
325274bb RD |
2126 | |
2127 | self = self; | |
efc5f224 | 2128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glDisableClientState",_kwnames,&_arg0)) |
325274bb RD |
2129 | return NULL; |
2130 | { | |
2131 | wxPy_BEGIN_ALLOW_THREADS; | |
2132 | glDisableClientState(_arg0); | |
2133 | ||
2134 | wxPy_END_ALLOW_THREADS; | |
2135 | } Py_INCREF(Py_None); | |
2136 | _resultobj = Py_None; | |
2137 | return _resultobj; | |
2138 | } | |
2139 | ||
efc5f224 | 2140 | static PyObject *_wrap_glDrawArrays(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2141 | PyObject * _resultobj; |
2142 | GLenum _arg0; | |
2143 | GLint _arg1; | |
2144 | GLsizei _arg2; | |
efc5f224 | 2145 | char *_kwnames[] = { "mode","first","count", NULL }; |
325274bb RD |
2146 | |
2147 | self = self; | |
efc5f224 | 2148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glDrawArrays",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
2149 | return NULL; |
2150 | { | |
2151 | wxPy_BEGIN_ALLOW_THREADS; | |
2152 | glDrawArrays(_arg0,_arg1,_arg2); | |
2153 | ||
2154 | wxPy_END_ALLOW_THREADS; | |
2155 | } Py_INCREF(Py_None); | |
2156 | _resultobj = Py_None; | |
2157 | return _resultobj; | |
2158 | } | |
2159 | ||
efc5f224 | 2160 | static PyObject *_wrap_glDrawBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2161 | PyObject * _resultobj; |
2162 | GLenum _arg0; | |
efc5f224 | 2163 | char *_kwnames[] = { "mode", NULL }; |
325274bb RD |
2164 | |
2165 | self = self; | |
efc5f224 | 2166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glDrawBuffer",_kwnames,&_arg0)) |
325274bb RD |
2167 | return NULL; |
2168 | { | |
2169 | wxPy_BEGIN_ALLOW_THREADS; | |
2170 | glDrawBuffer(_arg0); | |
2171 | ||
2172 | wxPy_END_ALLOW_THREADS; | |
2173 | } Py_INCREF(Py_None); | |
2174 | _resultobj = Py_None; | |
2175 | return _resultobj; | |
2176 | } | |
2177 | ||
efc5f224 | 2178 | static PyObject *_wrap_glDrawElements(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2179 | PyObject * _resultobj; |
2180 | GLenum _arg0; | |
2181 | GLsizei _arg1; | |
2182 | GLenum _arg2; | |
2183 | GLvoid * _arg3; | |
2184 | PyObject * _argo3 = 0; | |
efc5f224 | 2185 | char *_kwnames[] = { "mode","count","type","indices", NULL }; |
325274bb RD |
2186 | |
2187 | self = self; | |
efc5f224 | 2188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glDrawElements",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
2189 | return NULL; |
2190 | if (_argo3) { | |
2191 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2192 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
2193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glDrawElements. Expected _GLvoid_p."); | |
2194 | return NULL; | |
2195 | } | |
2196 | } | |
2197 | { | |
2198 | wxPy_BEGIN_ALLOW_THREADS; | |
2199 | glDrawElements(_arg0,_arg1,_arg2,_arg3); | |
2200 | ||
2201 | wxPy_END_ALLOW_THREADS; | |
2202 | } Py_INCREF(Py_None); | |
2203 | _resultobj = Py_None; | |
2204 | return _resultobj; | |
2205 | } | |
2206 | ||
efc5f224 | 2207 | static PyObject *_wrap_glDrawPixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2208 | PyObject * _resultobj; |
2209 | GLsizei _arg0; | |
2210 | GLsizei _arg1; | |
2211 | GLenum _arg2; | |
2212 | GLenum _arg3; | |
2213 | GLvoid * _arg4; | |
2214 | PyObject * _argo4 = 0; | |
efc5f224 | 2215 | char *_kwnames[] = { "width","height","format","type","pixels", NULL }; |
325274bb RD |
2216 | |
2217 | self = self; | |
efc5f224 | 2218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glDrawPixels",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
325274bb RD |
2219 | return NULL; |
2220 | if (_argo4) { | |
2221 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
2222 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) { | |
2223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glDrawPixels. Expected _GLvoid_p."); | |
2224 | return NULL; | |
2225 | } | |
2226 | } | |
2227 | { | |
2228 | wxPy_BEGIN_ALLOW_THREADS; | |
2229 | glDrawPixels(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2230 | ||
2231 | wxPy_END_ALLOW_THREADS; | |
2232 | } Py_INCREF(Py_None); | |
2233 | _resultobj = Py_None; | |
2234 | return _resultobj; | |
2235 | } | |
2236 | ||
efc5f224 | 2237 | static PyObject *_wrap_glEdgeFlag(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2238 | PyObject * _resultobj; |
2239 | GLboolean _arg0; | |
efc5f224 | 2240 | char *_kwnames[] = { "flag", NULL }; |
325274bb RD |
2241 | |
2242 | self = self; | |
efc5f224 | 2243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"b:glEdgeFlag",_kwnames,&_arg0)) |
325274bb RD |
2244 | return NULL; |
2245 | { | |
2246 | wxPy_BEGIN_ALLOW_THREADS; | |
2247 | glEdgeFlag(_arg0); | |
2248 | ||
2249 | wxPy_END_ALLOW_THREADS; | |
2250 | } Py_INCREF(Py_None); | |
2251 | _resultobj = Py_None; | |
2252 | return _resultobj; | |
2253 | } | |
2254 | ||
efc5f224 | 2255 | static PyObject *_wrap_glEdgeFlagPointer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2256 | PyObject * _resultobj; |
2257 | GLsizei _arg0; | |
2258 | GLboolean * _arg1; | |
2259 | PyObject * _argo1 = 0; | |
efc5f224 | 2260 | char *_kwnames[] = { "stride","pointer", NULL }; |
325274bb RD |
2261 | |
2262 | self = self; | |
efc5f224 | 2263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glEdgeFlagPointer",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2264 | return NULL; |
2265 | if (_argo1) { | |
2266 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2267 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLboolean_p")) { | |
2268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glEdgeFlagPointer. Expected _GLboolean_p."); | |
2269 | return NULL; | |
2270 | } | |
2271 | } | |
2272 | { | |
2273 | wxPy_BEGIN_ALLOW_THREADS; | |
2274 | glEdgeFlagPointer(_arg0,_arg1); | |
2275 | ||
2276 | wxPy_END_ALLOW_THREADS; | |
2277 | } Py_INCREF(Py_None); | |
2278 | _resultobj = Py_None; | |
2279 | return _resultobj; | |
2280 | } | |
2281 | ||
efc5f224 | 2282 | static PyObject *_wrap_glEdgeFlagv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2283 | PyObject * _resultobj; |
2284 | GLboolean * _arg0; | |
2285 | PyObject * _argo0 = 0; | |
efc5f224 | 2286 | char *_kwnames[] = { "flag", NULL }; |
325274bb RD |
2287 | |
2288 | self = self; | |
efc5f224 | 2289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEdgeFlagv",_kwnames,&_argo0)) |
325274bb RD |
2290 | return NULL; |
2291 | if (_argo0) { | |
2292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLboolean_p")) { | |
2294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEdgeFlagv. Expected _GLboolean_p."); | |
2295 | return NULL; | |
2296 | } | |
2297 | } | |
2298 | { | |
2299 | wxPy_BEGIN_ALLOW_THREADS; | |
2300 | glEdgeFlagv(_arg0); | |
2301 | ||
2302 | wxPy_END_ALLOW_THREADS; | |
2303 | } Py_INCREF(Py_None); | |
2304 | _resultobj = Py_None; | |
2305 | return _resultobj; | |
2306 | } | |
2307 | ||
efc5f224 | 2308 | static PyObject *_wrap_glEnable(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2309 | PyObject * _resultobj; |
2310 | GLenum _arg0; | |
efc5f224 | 2311 | char *_kwnames[] = { "cap", NULL }; |
325274bb RD |
2312 | |
2313 | self = self; | |
efc5f224 | 2314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glEnable",_kwnames,&_arg0)) |
325274bb RD |
2315 | return NULL; |
2316 | { | |
2317 | wxPy_BEGIN_ALLOW_THREADS; | |
2318 | glEnable(_arg0); | |
2319 | ||
2320 | wxPy_END_ALLOW_THREADS; | |
2321 | } Py_INCREF(Py_None); | |
2322 | _resultobj = Py_None; | |
2323 | return _resultobj; | |
2324 | } | |
2325 | ||
efc5f224 | 2326 | static PyObject *_wrap_glEnableClientState(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2327 | PyObject * _resultobj; |
2328 | GLenum _arg0; | |
efc5f224 | 2329 | char *_kwnames[] = { "array", NULL }; |
325274bb RD |
2330 | |
2331 | self = self; | |
efc5f224 | 2332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glEnableClientState",_kwnames,&_arg0)) |
325274bb RD |
2333 | return NULL; |
2334 | { | |
2335 | wxPy_BEGIN_ALLOW_THREADS; | |
2336 | glEnableClientState(_arg0); | |
2337 | ||
2338 | wxPy_END_ALLOW_THREADS; | |
2339 | } Py_INCREF(Py_None); | |
2340 | _resultobj = Py_None; | |
2341 | return _resultobj; | |
2342 | } | |
2343 | ||
efc5f224 | 2344 | static PyObject *_wrap_glEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 2345 | PyObject * _resultobj; |
efc5f224 | 2346 | char *_kwnames[] = { NULL }; |
325274bb RD |
2347 | |
2348 | self = self; | |
efc5f224 | 2349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glEnd",_kwnames)) |
325274bb RD |
2350 | return NULL; |
2351 | { | |
2352 | wxPy_BEGIN_ALLOW_THREADS; | |
2353 | glEnd(); | |
2354 | ||
2355 | wxPy_END_ALLOW_THREADS; | |
2356 | } Py_INCREF(Py_None); | |
2357 | _resultobj = Py_None; | |
2358 | return _resultobj; | |
2359 | } | |
2360 | ||
efc5f224 | 2361 | static PyObject *_wrap_glEndList(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 2362 | PyObject * _resultobj; |
efc5f224 | 2363 | char *_kwnames[] = { NULL }; |
325274bb RD |
2364 | |
2365 | self = self; | |
efc5f224 | 2366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glEndList",_kwnames)) |
325274bb RD |
2367 | return NULL; |
2368 | { | |
2369 | wxPy_BEGIN_ALLOW_THREADS; | |
2370 | glEndList(); | |
2371 | ||
2372 | wxPy_END_ALLOW_THREADS; | |
2373 | } Py_INCREF(Py_None); | |
2374 | _resultobj = Py_None; | |
2375 | return _resultobj; | |
2376 | } | |
2377 | ||
efc5f224 | 2378 | static PyObject *_wrap_glEvalCoord1d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2379 | PyObject * _resultobj; |
2380 | GLdouble _arg0; | |
efc5f224 | 2381 | char *_kwnames[] = { "u", NULL }; |
325274bb RD |
2382 | |
2383 | self = self; | |
efc5f224 | 2384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:glEvalCoord1d",_kwnames,&_arg0)) |
325274bb RD |
2385 | return NULL; |
2386 | { | |
2387 | wxPy_BEGIN_ALLOW_THREADS; | |
2388 | glEvalCoord1d(_arg0); | |
2389 | ||
2390 | wxPy_END_ALLOW_THREADS; | |
2391 | } Py_INCREF(Py_None); | |
2392 | _resultobj = Py_None; | |
2393 | return _resultobj; | |
2394 | } | |
2395 | ||
efc5f224 | 2396 | static PyObject *_wrap_glEvalCoord1dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2397 | PyObject * _resultobj; |
2398 | GLdouble * _arg0; | |
2399 | PyObject * _argo0 = 0; | |
efc5f224 | 2400 | char *_kwnames[] = { "u", NULL }; |
325274bb RD |
2401 | |
2402 | self = self; | |
efc5f224 | 2403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEvalCoord1dv",_kwnames,&_argo0)) |
325274bb RD |
2404 | return NULL; |
2405 | if (_argo0) { | |
2406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
2408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord1dv. Expected _GLdouble_p."); | |
2409 | return NULL; | |
2410 | } | |
2411 | } | |
2412 | { | |
2413 | wxPy_BEGIN_ALLOW_THREADS; | |
2414 | glEvalCoord1dv(_arg0); | |
2415 | ||
2416 | wxPy_END_ALLOW_THREADS; | |
2417 | } Py_INCREF(Py_None); | |
2418 | _resultobj = Py_None; | |
2419 | return _resultobj; | |
2420 | } | |
2421 | ||
efc5f224 | 2422 | static PyObject *_wrap_glEvalCoord1f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2423 | PyObject * _resultobj; |
2424 | GLfloat _arg0; | |
efc5f224 | 2425 | char *_kwnames[] = { "u", NULL }; |
325274bb RD |
2426 | |
2427 | self = self; | |
efc5f224 | 2428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glEvalCoord1f",_kwnames,&_arg0)) |
325274bb RD |
2429 | return NULL; |
2430 | { | |
2431 | wxPy_BEGIN_ALLOW_THREADS; | |
2432 | glEvalCoord1f(_arg0); | |
2433 | ||
2434 | wxPy_END_ALLOW_THREADS; | |
2435 | } Py_INCREF(Py_None); | |
2436 | _resultobj = Py_None; | |
2437 | return _resultobj; | |
2438 | } | |
2439 | ||
efc5f224 | 2440 | static PyObject *_wrap_glEvalCoord1fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2441 | PyObject * _resultobj; |
2442 | GLfloat * _arg0; | |
2443 | PyObject * _argo0 = 0; | |
efc5f224 | 2444 | char *_kwnames[] = { "u", NULL }; |
325274bb RD |
2445 | |
2446 | self = self; | |
efc5f224 | 2447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEvalCoord1fv",_kwnames,&_argo0)) |
325274bb RD |
2448 | return NULL; |
2449 | if (_argo0) { | |
2450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
2452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord1fv. Expected _GLfloat_p."); | |
2453 | return NULL; | |
2454 | } | |
2455 | } | |
2456 | { | |
2457 | wxPy_BEGIN_ALLOW_THREADS; | |
2458 | glEvalCoord1fv(_arg0); | |
2459 | ||
2460 | wxPy_END_ALLOW_THREADS; | |
2461 | } Py_INCREF(Py_None); | |
2462 | _resultobj = Py_None; | |
2463 | return _resultobj; | |
2464 | } | |
2465 | ||
efc5f224 | 2466 | static PyObject *_wrap_glEvalCoord2d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2467 | PyObject * _resultobj; |
2468 | GLdouble _arg0; | |
2469 | GLdouble _arg1; | |
efc5f224 | 2470 | char *_kwnames[] = { "u","v", NULL }; |
325274bb RD |
2471 | |
2472 | self = self; | |
efc5f224 | 2473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glEvalCoord2d",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
2474 | return NULL; |
2475 | { | |
2476 | wxPy_BEGIN_ALLOW_THREADS; | |
2477 | glEvalCoord2d(_arg0,_arg1); | |
2478 | ||
2479 | wxPy_END_ALLOW_THREADS; | |
2480 | } Py_INCREF(Py_None); | |
2481 | _resultobj = Py_None; | |
2482 | return _resultobj; | |
2483 | } | |
2484 | ||
efc5f224 | 2485 | static PyObject *_wrap_glEvalCoord2dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2486 | PyObject * _resultobj; |
2487 | GLdouble * _arg0; | |
2488 | PyObject * _argo0 = 0; | |
efc5f224 | 2489 | char *_kwnames[] = { "u", NULL }; |
325274bb RD |
2490 | |
2491 | self = self; | |
efc5f224 | 2492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEvalCoord2dv",_kwnames,&_argo0)) |
325274bb RD |
2493 | return NULL; |
2494 | if (_argo0) { | |
2495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
2497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord2dv. Expected _GLdouble_p."); | |
2498 | return NULL; | |
2499 | } | |
2500 | } | |
2501 | { | |
2502 | wxPy_BEGIN_ALLOW_THREADS; | |
2503 | glEvalCoord2dv(_arg0); | |
2504 | ||
2505 | wxPy_END_ALLOW_THREADS; | |
2506 | } Py_INCREF(Py_None); | |
2507 | _resultobj = Py_None; | |
2508 | return _resultobj; | |
2509 | } | |
2510 | ||
efc5f224 | 2511 | static PyObject *_wrap_glEvalCoord2f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2512 | PyObject * _resultobj; |
2513 | GLfloat _arg0; | |
2514 | GLfloat _arg1; | |
efc5f224 | 2515 | char *_kwnames[] = { "u","v", NULL }; |
325274bb RD |
2516 | |
2517 | self = self; | |
efc5f224 | 2518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glEvalCoord2f",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
2519 | return NULL; |
2520 | { | |
2521 | wxPy_BEGIN_ALLOW_THREADS; | |
2522 | glEvalCoord2f(_arg0,_arg1); | |
2523 | ||
2524 | wxPy_END_ALLOW_THREADS; | |
2525 | } Py_INCREF(Py_None); | |
2526 | _resultobj = Py_None; | |
2527 | return _resultobj; | |
2528 | } | |
2529 | ||
efc5f224 | 2530 | static PyObject *_wrap_glEvalCoord2fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2531 | PyObject * _resultobj; |
2532 | GLfloat * _arg0; | |
2533 | PyObject * _argo0 = 0; | |
efc5f224 | 2534 | char *_kwnames[] = { "u", NULL }; |
325274bb RD |
2535 | |
2536 | self = self; | |
efc5f224 | 2537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glEvalCoord2fv",_kwnames,&_argo0)) |
325274bb RD |
2538 | return NULL; |
2539 | if (_argo0) { | |
2540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
2542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glEvalCoord2fv. Expected _GLfloat_p."); | |
2543 | return NULL; | |
2544 | } | |
2545 | } | |
2546 | { | |
2547 | wxPy_BEGIN_ALLOW_THREADS; | |
2548 | glEvalCoord2fv(_arg0); | |
2549 | ||
2550 | wxPy_END_ALLOW_THREADS; | |
2551 | } Py_INCREF(Py_None); | |
2552 | _resultobj = Py_None; | |
2553 | return _resultobj; | |
2554 | } | |
2555 | ||
efc5f224 | 2556 | static PyObject *_wrap_glEvalMesh1(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2557 | PyObject * _resultobj; |
2558 | GLenum _arg0; | |
2559 | GLint _arg1; | |
2560 | GLint _arg2; | |
efc5f224 | 2561 | char *_kwnames[] = { "mode","i1","i2", NULL }; |
325274bb RD |
2562 | |
2563 | self = self; | |
efc5f224 | 2564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glEvalMesh1",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
2565 | return NULL; |
2566 | { | |
2567 | wxPy_BEGIN_ALLOW_THREADS; | |
2568 | glEvalMesh1(_arg0,_arg1,_arg2); | |
2569 | ||
2570 | wxPy_END_ALLOW_THREADS; | |
2571 | } Py_INCREF(Py_None); | |
2572 | _resultobj = Py_None; | |
2573 | return _resultobj; | |
2574 | } | |
2575 | ||
efc5f224 | 2576 | static PyObject *_wrap_glEvalMesh2(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2577 | PyObject * _resultobj; |
2578 | GLenum _arg0; | |
2579 | GLint _arg1; | |
2580 | GLint _arg2; | |
2581 | GLint _arg3; | |
2582 | GLint _arg4; | |
efc5f224 | 2583 | char *_kwnames[] = { "mode","i1","i2","j1","j2", NULL }; |
325274bb RD |
2584 | |
2585 | self = self; | |
efc5f224 | 2586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiii:glEvalMesh2",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4)) |
325274bb RD |
2587 | return NULL; |
2588 | { | |
2589 | wxPy_BEGIN_ALLOW_THREADS; | |
2590 | glEvalMesh2(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2591 | ||
2592 | wxPy_END_ALLOW_THREADS; | |
2593 | } Py_INCREF(Py_None); | |
2594 | _resultobj = Py_None; | |
2595 | return _resultobj; | |
2596 | } | |
2597 | ||
efc5f224 | 2598 | static PyObject *_wrap_glEvalPoint1(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2599 | PyObject * _resultobj; |
2600 | GLint _arg0; | |
efc5f224 | 2601 | char *_kwnames[] = { "i", NULL }; |
325274bb RD |
2602 | |
2603 | self = self; | |
efc5f224 | 2604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glEvalPoint1",_kwnames,&_arg0)) |
325274bb RD |
2605 | return NULL; |
2606 | { | |
2607 | wxPy_BEGIN_ALLOW_THREADS; | |
2608 | glEvalPoint1(_arg0); | |
2609 | ||
2610 | wxPy_END_ALLOW_THREADS; | |
2611 | } Py_INCREF(Py_None); | |
2612 | _resultobj = Py_None; | |
2613 | return _resultobj; | |
2614 | } | |
2615 | ||
efc5f224 | 2616 | static PyObject *_wrap_glEvalPoint2(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2617 | PyObject * _resultobj; |
2618 | GLint _arg0; | |
2619 | GLint _arg1; | |
efc5f224 | 2620 | char *_kwnames[] = { "i","j", NULL }; |
325274bb RD |
2621 | |
2622 | self = self; | |
efc5f224 | 2623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glEvalPoint2",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
2624 | return NULL; |
2625 | { | |
2626 | wxPy_BEGIN_ALLOW_THREADS; | |
2627 | glEvalPoint2(_arg0,_arg1); | |
2628 | ||
2629 | wxPy_END_ALLOW_THREADS; | |
2630 | } Py_INCREF(Py_None); | |
2631 | _resultobj = Py_None; | |
2632 | return _resultobj; | |
2633 | } | |
2634 | ||
efc5f224 | 2635 | static PyObject *_wrap_glFeedbackBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2636 | PyObject * _resultobj; |
2637 | GLsizei _arg0; | |
2638 | GLenum _arg1; | |
2639 | GLfloat * _arg2; | |
2640 | PyObject * _argo2 = 0; | |
efc5f224 | 2641 | char *_kwnames[] = { "size","type","buffer", NULL }; |
325274bb RD |
2642 | |
2643 | self = self; | |
efc5f224 | 2644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glFeedbackBuffer",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
2645 | return NULL; |
2646 | if (_argo2) { | |
2647 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2648 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
2649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glFeedbackBuffer. Expected _GLfloat_p."); | |
2650 | return NULL; | |
2651 | } | |
2652 | } | |
2653 | { | |
2654 | wxPy_BEGIN_ALLOW_THREADS; | |
2655 | glFeedbackBuffer(_arg0,_arg1,_arg2); | |
2656 | ||
2657 | wxPy_END_ALLOW_THREADS; | |
2658 | } Py_INCREF(Py_None); | |
2659 | _resultobj = Py_None; | |
2660 | return _resultobj; | |
2661 | } | |
2662 | ||
efc5f224 | 2663 | static PyObject *_wrap_glFinish(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 2664 | PyObject * _resultobj; |
efc5f224 | 2665 | char *_kwnames[] = { NULL }; |
325274bb RD |
2666 | |
2667 | self = self; | |
efc5f224 | 2668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glFinish",_kwnames)) |
325274bb RD |
2669 | return NULL; |
2670 | { | |
2671 | wxPy_BEGIN_ALLOW_THREADS; | |
2672 | glFinish(); | |
2673 | ||
2674 | wxPy_END_ALLOW_THREADS; | |
2675 | } Py_INCREF(Py_None); | |
2676 | _resultobj = Py_None; | |
2677 | return _resultobj; | |
2678 | } | |
2679 | ||
efc5f224 | 2680 | static PyObject *_wrap_glFlush(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 2681 | PyObject * _resultobj; |
efc5f224 | 2682 | char *_kwnames[] = { NULL }; |
325274bb RD |
2683 | |
2684 | self = self; | |
efc5f224 | 2685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glFlush",_kwnames)) |
325274bb RD |
2686 | return NULL; |
2687 | { | |
2688 | wxPy_BEGIN_ALLOW_THREADS; | |
2689 | glFlush(); | |
2690 | ||
2691 | wxPy_END_ALLOW_THREADS; | |
2692 | } Py_INCREF(Py_None); | |
2693 | _resultobj = Py_None; | |
2694 | return _resultobj; | |
2695 | } | |
2696 | ||
efc5f224 | 2697 | static PyObject *_wrap_glFogf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2698 | PyObject * _resultobj; |
2699 | GLenum _arg0; | |
2700 | GLfloat _arg1; | |
efc5f224 | 2701 | char *_kwnames[] = { "pname","param", NULL }; |
325274bb RD |
2702 | |
2703 | self = self; | |
efc5f224 | 2704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glFogf",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
2705 | return NULL; |
2706 | { | |
2707 | wxPy_BEGIN_ALLOW_THREADS; | |
2708 | glFogf(_arg0,_arg1); | |
2709 | ||
2710 | wxPy_END_ALLOW_THREADS; | |
2711 | } Py_INCREF(Py_None); | |
2712 | _resultobj = Py_None; | |
2713 | return _resultobj; | |
2714 | } | |
2715 | ||
efc5f224 | 2716 | static PyObject *_wrap_glFogfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2717 | PyObject * _resultobj; |
2718 | GLenum _arg0; | |
2719 | GLfloat * _arg1; | |
2720 | PyObject * _argo1 = 0; | |
efc5f224 | 2721 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
2722 | |
2723 | self = self; | |
efc5f224 | 2724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glFogfv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2725 | return NULL; |
2726 | if (_argo1) { | |
2727 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2728 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
2729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glFogfv. Expected _GLfloat_p."); | |
2730 | return NULL; | |
2731 | } | |
2732 | } | |
2733 | { | |
2734 | wxPy_BEGIN_ALLOW_THREADS; | |
2735 | glFogfv(_arg0,_arg1); | |
2736 | ||
2737 | wxPy_END_ALLOW_THREADS; | |
2738 | } Py_INCREF(Py_None); | |
2739 | _resultobj = Py_None; | |
2740 | return _resultobj; | |
2741 | } | |
2742 | ||
efc5f224 | 2743 | static PyObject *_wrap_glFogi(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2744 | PyObject * _resultobj; |
2745 | GLenum _arg0; | |
2746 | GLint _arg1; | |
efc5f224 | 2747 | char *_kwnames[] = { "pname","param", NULL }; |
325274bb RD |
2748 | |
2749 | self = self; | |
efc5f224 | 2750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glFogi",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
2751 | return NULL; |
2752 | { | |
2753 | wxPy_BEGIN_ALLOW_THREADS; | |
2754 | glFogi(_arg0,_arg1); | |
2755 | ||
2756 | wxPy_END_ALLOW_THREADS; | |
2757 | } Py_INCREF(Py_None); | |
2758 | _resultobj = Py_None; | |
2759 | return _resultobj; | |
2760 | } | |
2761 | ||
efc5f224 | 2762 | static PyObject *_wrap_glFogiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2763 | PyObject * _resultobj; |
2764 | GLenum _arg0; | |
2765 | GLint * _arg1; | |
2766 | PyObject * _argo1 = 0; | |
efc5f224 | 2767 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
2768 | |
2769 | self = self; | |
efc5f224 | 2770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glFogiv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2771 | return NULL; |
2772 | if (_argo1) { | |
2773 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2774 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) { | |
2775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glFogiv. Expected _GLint_p."); | |
2776 | return NULL; | |
2777 | } | |
2778 | } | |
2779 | { | |
2780 | wxPy_BEGIN_ALLOW_THREADS; | |
2781 | glFogiv(_arg0,_arg1); | |
2782 | ||
2783 | wxPy_END_ALLOW_THREADS; | |
2784 | } Py_INCREF(Py_None); | |
2785 | _resultobj = Py_None; | |
2786 | return _resultobj; | |
2787 | } | |
2788 | ||
efc5f224 | 2789 | static PyObject *_wrap_glFrontFace(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2790 | PyObject * _resultobj; |
2791 | GLenum _arg0; | |
efc5f224 | 2792 | char *_kwnames[] = { "mode", NULL }; |
325274bb RD |
2793 | |
2794 | self = self; | |
efc5f224 | 2795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glFrontFace",_kwnames,&_arg0)) |
325274bb RD |
2796 | return NULL; |
2797 | { | |
2798 | wxPy_BEGIN_ALLOW_THREADS; | |
2799 | glFrontFace(_arg0); | |
2800 | ||
2801 | wxPy_END_ALLOW_THREADS; | |
2802 | } Py_INCREF(Py_None); | |
2803 | _resultobj = Py_None; | |
2804 | return _resultobj; | |
2805 | } | |
2806 | ||
efc5f224 | 2807 | static PyObject *_wrap_glFrustum(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2808 | PyObject * _resultobj; |
2809 | GLdouble _arg0; | |
2810 | GLdouble _arg1; | |
2811 | GLdouble _arg2; | |
2812 | GLdouble _arg3; | |
2813 | GLdouble _arg4; | |
2814 | GLdouble _arg5; | |
efc5f224 | 2815 | char *_kwnames[] = { "left","right","bottom","top","zNear","zFar", NULL }; |
325274bb RD |
2816 | |
2817 | self = self; | |
efc5f224 | 2818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddddd:glFrustum",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) |
325274bb RD |
2819 | return NULL; |
2820 | { | |
2821 | wxPy_BEGIN_ALLOW_THREADS; | |
2822 | glFrustum(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2823 | ||
2824 | wxPy_END_ALLOW_THREADS; | |
2825 | } Py_INCREF(Py_None); | |
2826 | _resultobj = Py_None; | |
2827 | return _resultobj; | |
2828 | } | |
2829 | ||
efc5f224 | 2830 | static PyObject *_wrap_glGenLists(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2831 | PyObject * _resultobj; |
2832 | GLuint _result; | |
2833 | GLsizei _arg0; | |
efc5f224 | 2834 | char *_kwnames[] = { "range", NULL }; |
325274bb RD |
2835 | |
2836 | self = self; | |
efc5f224 | 2837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glGenLists",_kwnames,&_arg0)) |
325274bb RD |
2838 | return NULL; |
2839 | { | |
2840 | wxPy_BEGIN_ALLOW_THREADS; | |
2841 | _result = (GLuint )glGenLists(_arg0); | |
2842 | ||
2843 | wxPy_END_ALLOW_THREADS; | |
2844 | } _resultobj = Py_BuildValue("i",_result); | |
2845 | return _resultobj; | |
2846 | } | |
2847 | ||
efc5f224 | 2848 | static PyObject *_wrap_glGenTextures(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2849 | PyObject * _resultobj; |
2850 | GLsizei _arg0; | |
2851 | GLuint * _arg1; | |
2852 | PyObject * _argo1 = 0; | |
efc5f224 | 2853 | char *_kwnames[] = { "n","textures", NULL }; |
325274bb RD |
2854 | |
2855 | self = self; | |
efc5f224 | 2856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGenTextures",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2857 | return NULL; |
2858 | if (_argo1) { | |
2859 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2860 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
2861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGenTextures. Expected _GLuint_p."); | |
2862 | return NULL; | |
2863 | } | |
2864 | } | |
2865 | { | |
2866 | wxPy_BEGIN_ALLOW_THREADS; | |
2867 | glGenTextures(_arg0,_arg1); | |
2868 | ||
2869 | wxPy_END_ALLOW_THREADS; | |
2870 | } Py_INCREF(Py_None); | |
2871 | _resultobj = Py_None; | |
2872 | return _resultobj; | |
2873 | } | |
2874 | ||
efc5f224 | 2875 | static PyObject *_wrap_glGetBooleanv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2876 | PyObject * _resultobj; |
2877 | GLenum _arg0; | |
2878 | GLboolean * _arg1; | |
2879 | PyObject * _argo1 = 0; | |
efc5f224 | 2880 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
2881 | |
2882 | self = self; | |
efc5f224 | 2883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetBooleanv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2884 | return NULL; |
2885 | if (_argo1) { | |
2886 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2887 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLboolean_p")) { | |
2888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetBooleanv. Expected _GLboolean_p."); | |
2889 | return NULL; | |
2890 | } | |
2891 | } | |
2892 | { | |
2893 | wxPy_BEGIN_ALLOW_THREADS; | |
2894 | glGetBooleanv(_arg0,_arg1); | |
2895 | ||
2896 | wxPy_END_ALLOW_THREADS; | |
2897 | } Py_INCREF(Py_None); | |
2898 | _resultobj = Py_None; | |
2899 | return _resultobj; | |
2900 | } | |
2901 | ||
efc5f224 | 2902 | static PyObject *_wrap_glGetClipPlane(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2903 | PyObject * _resultobj; |
2904 | GLenum _arg0; | |
2905 | GLdouble * _arg1; | |
2906 | PyObject * _argo1 = 0; | |
efc5f224 | 2907 | char *_kwnames[] = { "plane","equation", NULL }; |
325274bb RD |
2908 | |
2909 | self = self; | |
efc5f224 | 2910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetClipPlane",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2911 | return NULL; |
2912 | if (_argo1) { | |
2913 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2914 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
2915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetClipPlane. Expected _GLdouble_p."); | |
2916 | return NULL; | |
2917 | } | |
2918 | } | |
2919 | { | |
2920 | wxPy_BEGIN_ALLOW_THREADS; | |
2921 | glGetClipPlane(_arg0,_arg1); | |
2922 | ||
2923 | wxPy_END_ALLOW_THREADS; | |
2924 | } Py_INCREF(Py_None); | |
2925 | _resultobj = Py_None; | |
2926 | return _resultobj; | |
2927 | } | |
2928 | ||
efc5f224 | 2929 | static PyObject *_wrap_glGetDoublev(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2930 | PyObject * _resultobj; |
2931 | GLenum _arg0; | |
2932 | GLdouble * _arg1; | |
2933 | PyObject * _argo1 = 0; | |
efc5f224 | 2934 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
2935 | |
2936 | self = self; | |
efc5f224 | 2937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetDoublev",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2938 | return NULL; |
2939 | if (_argo1) { | |
2940 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2941 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
2942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetDoublev. Expected _GLdouble_p."); | |
2943 | return NULL; | |
2944 | } | |
2945 | } | |
2946 | { | |
2947 | wxPy_BEGIN_ALLOW_THREADS; | |
2948 | glGetDoublev(_arg0,_arg1); | |
2949 | ||
2950 | wxPy_END_ALLOW_THREADS; | |
2951 | } Py_INCREF(Py_None); | |
2952 | _resultobj = Py_None; | |
2953 | return _resultobj; | |
2954 | } | |
2955 | ||
efc5f224 | 2956 | static PyObject *_wrap_glGetError(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2957 | PyObject * _resultobj; |
2958 | GLenum _result; | |
efc5f224 | 2959 | char *_kwnames[] = { NULL }; |
325274bb RD |
2960 | |
2961 | self = self; | |
efc5f224 | 2962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glGetError",_kwnames)) |
325274bb RD |
2963 | return NULL; |
2964 | { | |
2965 | wxPy_BEGIN_ALLOW_THREADS; | |
2966 | _result = (GLenum )glGetError(); | |
2967 | ||
2968 | wxPy_END_ALLOW_THREADS; | |
2969 | } _resultobj = Py_BuildValue("i",_result); | |
2970 | return _resultobj; | |
2971 | } | |
2972 | ||
efc5f224 | 2973 | static PyObject *_wrap_glGetFloatv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
2974 | PyObject * _resultobj; |
2975 | GLenum _arg0; | |
2976 | GLfloat * _arg1; | |
2977 | PyObject * _argo1 = 0; | |
efc5f224 | 2978 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
2979 | |
2980 | self = self; | |
efc5f224 | 2981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetFloatv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
2982 | return NULL; |
2983 | if (_argo1) { | |
2984 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2985 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
2986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetFloatv. Expected _GLfloat_p."); | |
2987 | return NULL; | |
2988 | } | |
2989 | } | |
2990 | { | |
2991 | wxPy_BEGIN_ALLOW_THREADS; | |
2992 | glGetFloatv(_arg0,_arg1); | |
2993 | ||
2994 | wxPy_END_ALLOW_THREADS; | |
2995 | } Py_INCREF(Py_None); | |
2996 | _resultobj = Py_None; | |
2997 | return _resultobj; | |
2998 | } | |
2999 | ||
efc5f224 | 3000 | static PyObject *_wrap_glGetIntegerv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3001 | PyObject * _resultobj; |
3002 | GLenum _arg0; | |
3003 | GLint * _arg1; | |
3004 | PyObject * _argo1 = 0; | |
efc5f224 | 3005 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
3006 | |
3007 | self = self; | |
efc5f224 | 3008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetIntegerv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
3009 | return NULL; |
3010 | if (_argo1) { | |
3011 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3012 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) { | |
3013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetIntegerv. Expected _GLint_p."); | |
3014 | return NULL; | |
3015 | } | |
3016 | } | |
3017 | { | |
3018 | wxPy_BEGIN_ALLOW_THREADS; | |
3019 | glGetIntegerv(_arg0,_arg1); | |
3020 | ||
3021 | wxPy_END_ALLOW_THREADS; | |
3022 | } Py_INCREF(Py_None); | |
3023 | _resultobj = Py_None; | |
3024 | return _resultobj; | |
3025 | } | |
3026 | ||
efc5f224 | 3027 | static PyObject *_wrap_glGetLightfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3028 | PyObject * _resultobj; |
3029 | GLenum _arg0; | |
3030 | GLenum _arg1; | |
3031 | GLfloat * _arg2; | |
3032 | PyObject * _argo2 = 0; | |
efc5f224 | 3033 | char *_kwnames[] = { "light","pname","params", NULL }; |
325274bb RD |
3034 | |
3035 | self = self; | |
efc5f224 | 3036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetLightfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3037 | return NULL; |
3038 | if (_argo2) { | |
3039 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3040 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
3041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetLightfv. Expected _GLfloat_p."); | |
3042 | return NULL; | |
3043 | } | |
3044 | } | |
3045 | { | |
3046 | wxPy_BEGIN_ALLOW_THREADS; | |
3047 | glGetLightfv(_arg0,_arg1,_arg2); | |
3048 | ||
3049 | wxPy_END_ALLOW_THREADS; | |
3050 | } Py_INCREF(Py_None); | |
3051 | _resultobj = Py_None; | |
3052 | return _resultobj; | |
3053 | } | |
3054 | ||
efc5f224 | 3055 | static PyObject *_wrap_glGetLightiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3056 | PyObject * _resultobj; |
3057 | GLenum _arg0; | |
3058 | GLenum _arg1; | |
3059 | GLint * _arg2; | |
3060 | PyObject * _argo2 = 0; | |
efc5f224 | 3061 | char *_kwnames[] = { "light","pname","params", NULL }; |
325274bb RD |
3062 | |
3063 | self = self; | |
efc5f224 | 3064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetLightiv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3065 | return NULL; |
3066 | if (_argo2) { | |
3067 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3068 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
3069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetLightiv. Expected _GLint_p."); | |
3070 | return NULL; | |
3071 | } | |
3072 | } | |
3073 | { | |
3074 | wxPy_BEGIN_ALLOW_THREADS; | |
3075 | glGetLightiv(_arg0,_arg1,_arg2); | |
3076 | ||
3077 | wxPy_END_ALLOW_THREADS; | |
3078 | } Py_INCREF(Py_None); | |
3079 | _resultobj = Py_None; | |
3080 | return _resultobj; | |
3081 | } | |
3082 | ||
efc5f224 | 3083 | static PyObject *_wrap_glGetMapdv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3084 | PyObject * _resultobj; |
3085 | GLenum _arg0; | |
3086 | GLenum _arg1; | |
3087 | GLdouble * _arg2; | |
3088 | PyObject * _argo2 = 0; | |
efc5f224 | 3089 | char *_kwnames[] = { "target","query","v", NULL }; |
325274bb RD |
3090 | |
3091 | self = self; | |
efc5f224 | 3092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMapdv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3093 | return NULL; |
3094 | if (_argo2) { | |
3095 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3096 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) { | |
3097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapdv. Expected _GLdouble_p."); | |
3098 | return NULL; | |
3099 | } | |
3100 | } | |
3101 | { | |
3102 | wxPy_BEGIN_ALLOW_THREADS; | |
3103 | glGetMapdv(_arg0,_arg1,_arg2); | |
3104 | ||
3105 | wxPy_END_ALLOW_THREADS; | |
3106 | } Py_INCREF(Py_None); | |
3107 | _resultobj = Py_None; | |
3108 | return _resultobj; | |
3109 | } | |
3110 | ||
efc5f224 | 3111 | static PyObject *_wrap_glGetMapfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3112 | PyObject * _resultobj; |
3113 | GLenum _arg0; | |
3114 | GLenum _arg1; | |
3115 | GLfloat * _arg2; | |
3116 | PyObject * _argo2 = 0; | |
efc5f224 | 3117 | char *_kwnames[] = { "target","query","v", NULL }; |
325274bb RD |
3118 | |
3119 | self = self; | |
efc5f224 | 3120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMapfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3121 | return NULL; |
3122 | if (_argo2) { | |
3123 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3124 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
3125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapfv. Expected _GLfloat_p."); | |
3126 | return NULL; | |
3127 | } | |
3128 | } | |
3129 | { | |
3130 | wxPy_BEGIN_ALLOW_THREADS; | |
3131 | glGetMapfv(_arg0,_arg1,_arg2); | |
3132 | ||
3133 | wxPy_END_ALLOW_THREADS; | |
3134 | } Py_INCREF(Py_None); | |
3135 | _resultobj = Py_None; | |
3136 | return _resultobj; | |
3137 | } | |
3138 | ||
efc5f224 | 3139 | static PyObject *_wrap_glGetMapiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3140 | PyObject * _resultobj; |
3141 | GLenum _arg0; | |
3142 | GLenum _arg1; | |
3143 | GLint * _arg2; | |
3144 | PyObject * _argo2 = 0; | |
efc5f224 | 3145 | char *_kwnames[] = { "target","query","v", NULL }; |
325274bb RD |
3146 | |
3147 | self = self; | |
efc5f224 | 3148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMapiv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3149 | return NULL; |
3150 | if (_argo2) { | |
3151 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3152 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
3153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMapiv. Expected _GLint_p."); | |
3154 | return NULL; | |
3155 | } | |
3156 | } | |
3157 | { | |
3158 | wxPy_BEGIN_ALLOW_THREADS; | |
3159 | glGetMapiv(_arg0,_arg1,_arg2); | |
3160 | ||
3161 | wxPy_END_ALLOW_THREADS; | |
3162 | } Py_INCREF(Py_None); | |
3163 | _resultobj = Py_None; | |
3164 | return _resultobj; | |
3165 | } | |
3166 | ||
efc5f224 | 3167 | static PyObject *_wrap_glGetMaterialfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3168 | PyObject * _resultobj; |
3169 | GLenum _arg0; | |
3170 | GLenum _arg1; | |
3171 | GLfloat * _arg2; | |
3172 | PyObject * _argo2 = 0; | |
efc5f224 | 3173 | char *_kwnames[] = { "face","pname","params", NULL }; |
325274bb RD |
3174 | |
3175 | self = self; | |
efc5f224 | 3176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMaterialfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3177 | return NULL; |
3178 | if (_argo2) { | |
3179 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3180 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
3181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMaterialfv. Expected _GLfloat_p."); | |
3182 | return NULL; | |
3183 | } | |
3184 | } | |
3185 | { | |
3186 | wxPy_BEGIN_ALLOW_THREADS; | |
3187 | glGetMaterialfv(_arg0,_arg1,_arg2); | |
3188 | ||
3189 | wxPy_END_ALLOW_THREADS; | |
3190 | } Py_INCREF(Py_None); | |
3191 | _resultobj = Py_None; | |
3192 | return _resultobj; | |
3193 | } | |
3194 | ||
efc5f224 | 3195 | static PyObject *_wrap_glGetMaterialiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3196 | PyObject * _resultobj; |
3197 | GLenum _arg0; | |
3198 | GLenum _arg1; | |
3199 | GLint * _arg2; | |
3200 | PyObject * _argo2 = 0; | |
efc5f224 | 3201 | char *_kwnames[] = { "face","pname","params", NULL }; |
325274bb RD |
3202 | |
3203 | self = self; | |
efc5f224 | 3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetMaterialiv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3205 | return NULL; |
3206 | if (_argo2) { | |
3207 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3208 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
3209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetMaterialiv. Expected _GLint_p."); | |
3210 | return NULL; | |
3211 | } | |
3212 | } | |
3213 | { | |
3214 | wxPy_BEGIN_ALLOW_THREADS; | |
3215 | glGetMaterialiv(_arg0,_arg1,_arg2); | |
3216 | ||
3217 | wxPy_END_ALLOW_THREADS; | |
3218 | } Py_INCREF(Py_None); | |
3219 | _resultobj = Py_None; | |
3220 | return _resultobj; | |
3221 | } | |
3222 | ||
efc5f224 | 3223 | static PyObject *_wrap_glGetPixelMapfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3224 | PyObject * _resultobj; |
3225 | GLenum _arg0; | |
3226 | GLfloat * _arg1; | |
3227 | PyObject * _argo1 = 0; | |
efc5f224 | 3228 | char *_kwnames[] = { "map","values", NULL }; |
325274bb RD |
3229 | |
3230 | self = self; | |
efc5f224 | 3231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPixelMapfv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
3232 | return NULL; |
3233 | if (_argo1) { | |
3234 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3235 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
3236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapfv. Expected _GLfloat_p."); | |
3237 | return NULL; | |
3238 | } | |
3239 | } | |
3240 | { | |
3241 | wxPy_BEGIN_ALLOW_THREADS; | |
3242 | glGetPixelMapfv(_arg0,_arg1); | |
3243 | ||
3244 | wxPy_END_ALLOW_THREADS; | |
3245 | } Py_INCREF(Py_None); | |
3246 | _resultobj = Py_None; | |
3247 | return _resultobj; | |
3248 | } | |
3249 | ||
efc5f224 | 3250 | static PyObject *_wrap_glGetPixelMapuiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3251 | PyObject * _resultobj; |
3252 | GLenum _arg0; | |
3253 | GLuint * _arg1; | |
3254 | PyObject * _argo1 = 0; | |
efc5f224 | 3255 | char *_kwnames[] = { "map","values", NULL }; |
325274bb RD |
3256 | |
3257 | self = self; | |
efc5f224 | 3258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPixelMapuiv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
3259 | return NULL; |
3260 | if (_argo1) { | |
3261 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3262 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
3263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapuiv. Expected _GLuint_p."); | |
3264 | return NULL; | |
3265 | } | |
3266 | } | |
3267 | { | |
3268 | wxPy_BEGIN_ALLOW_THREADS; | |
3269 | glGetPixelMapuiv(_arg0,_arg1); | |
3270 | ||
3271 | wxPy_END_ALLOW_THREADS; | |
3272 | } Py_INCREF(Py_None); | |
3273 | _resultobj = Py_None; | |
3274 | return _resultobj; | |
3275 | } | |
3276 | ||
efc5f224 | 3277 | static PyObject *_wrap_glGetPixelMapusv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3278 | PyObject * _resultobj; |
3279 | GLenum _arg0; | |
3280 | GLushort * _arg1; | |
3281 | PyObject * _argo1 = 0; | |
efc5f224 | 3282 | char *_kwnames[] = { "map","values", NULL }; |
325274bb RD |
3283 | |
3284 | self = self; | |
efc5f224 | 3285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPixelMapusv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
3286 | return NULL; |
3287 | if (_argo1) { | |
3288 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3289 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLushort_p")) { | |
3290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPixelMapusv. Expected _GLushort_p."); | |
3291 | return NULL; | |
3292 | } | |
3293 | } | |
3294 | { | |
3295 | wxPy_BEGIN_ALLOW_THREADS; | |
3296 | glGetPixelMapusv(_arg0,_arg1); | |
3297 | ||
3298 | wxPy_END_ALLOW_THREADS; | |
3299 | } Py_INCREF(Py_None); | |
3300 | _resultobj = Py_None; | |
3301 | return _resultobj; | |
3302 | } | |
3303 | ||
efc5f224 | 3304 | static PyObject *_wrap_glGetPointerv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3305 | PyObject * _resultobj; |
3306 | GLenum _arg0; | |
3307 | GLvoid ** _arg1; | |
3308 | PyObject * _argo1 = 0; | |
efc5f224 | 3309 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
3310 | |
3311 | self = self; | |
efc5f224 | 3312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glGetPointerv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
3313 | return NULL; |
3314 | if (_argo1) { | |
3315 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3316 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
3317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glGetPointerv. Expected _GLvoid_pp."); | |
3318 | return NULL; | |
3319 | } | |
3320 | } | |
3321 | { | |
3322 | wxPy_BEGIN_ALLOW_THREADS; | |
3323 | glGetPointerv(_arg0,_arg1); | |
3324 | ||
3325 | wxPy_END_ALLOW_THREADS; | |
3326 | } Py_INCREF(Py_None); | |
3327 | _resultobj = Py_None; | |
3328 | return _resultobj; | |
3329 | } | |
3330 | ||
efc5f224 | 3331 | static PyObject *_wrap_glGetPolygonStipple(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3332 | PyObject * _resultobj; |
3333 | GLubyte * _arg0; | |
3334 | PyObject * _argo0 = 0; | |
efc5f224 | 3335 | char *_kwnames[] = { "mask", NULL }; |
325274bb RD |
3336 | |
3337 | self = self; | |
efc5f224 | 3338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glGetPolygonStipple",_kwnames,&_argo0)) |
325274bb RD |
3339 | return NULL; |
3340 | if (_argo0) { | |
3341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
3343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glGetPolygonStipple. Expected _GLubyte_p."); | |
3344 | return NULL; | |
3345 | } | |
3346 | } | |
3347 | { | |
3348 | wxPy_BEGIN_ALLOW_THREADS; | |
3349 | glGetPolygonStipple(_arg0); | |
3350 | ||
3351 | wxPy_END_ALLOW_THREADS; | |
3352 | } Py_INCREF(Py_None); | |
3353 | _resultobj = Py_None; | |
3354 | return _resultobj; | |
3355 | } | |
3356 | ||
efc5f224 | 3357 | static PyObject *_wrap_glGetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3358 | PyObject * _resultobj; |
3359 | GLubyte * _result; | |
3360 | GLenum _arg0; | |
efc5f224 | 3361 | char *_kwnames[] = { "name", NULL }; |
325274bb RD |
3362 | char _ptemp[128]; |
3363 | ||
3364 | self = self; | |
efc5f224 | 3365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glGetString",_kwnames,&_arg0)) |
325274bb RD |
3366 | return NULL; |
3367 | { | |
3368 | wxPy_BEGIN_ALLOW_THREADS; | |
3369 | _result = (GLubyte *)glGetString(_arg0); | |
3370 | ||
3371 | wxPy_END_ALLOW_THREADS; | |
3372 | } if (_result) { | |
3373 | SWIG_MakePtr(_ptemp, (char *) _result,"_GLubyte_p"); | |
3374 | _resultobj = Py_BuildValue("s",_ptemp); | |
3375 | } else { | |
3376 | Py_INCREF(Py_None); | |
3377 | _resultobj = Py_None; | |
3378 | } | |
3379 | return _resultobj; | |
3380 | } | |
3381 | ||
efc5f224 | 3382 | static PyObject *_wrap_glGetTexEnvfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3383 | PyObject * _resultobj; |
3384 | GLenum _arg0; | |
3385 | GLenum _arg1; | |
3386 | GLfloat * _arg2; | |
3387 | PyObject * _argo2 = 0; | |
efc5f224 | 3388 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
3389 | |
3390 | self = self; | |
efc5f224 | 3391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexEnvfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3392 | return NULL; |
3393 | if (_argo2) { | |
3394 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3395 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
3396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexEnvfv. Expected _GLfloat_p."); | |
3397 | return NULL; | |
3398 | } | |
3399 | } | |
3400 | { | |
3401 | wxPy_BEGIN_ALLOW_THREADS; | |
3402 | glGetTexEnvfv(_arg0,_arg1,_arg2); | |
3403 | ||
3404 | wxPy_END_ALLOW_THREADS; | |
3405 | } Py_INCREF(Py_None); | |
3406 | _resultobj = Py_None; | |
3407 | return _resultobj; | |
3408 | } | |
3409 | ||
efc5f224 | 3410 | static PyObject *_wrap_glGetTexEnviv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3411 | PyObject * _resultobj; |
3412 | GLenum _arg0; | |
3413 | GLenum _arg1; | |
3414 | GLint * _arg2; | |
3415 | PyObject * _argo2 = 0; | |
efc5f224 | 3416 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
3417 | |
3418 | self = self; | |
efc5f224 | 3419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexEnviv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3420 | return NULL; |
3421 | if (_argo2) { | |
3422 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3423 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
3424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexEnviv. Expected _GLint_p."); | |
3425 | return NULL; | |
3426 | } | |
3427 | } | |
3428 | { | |
3429 | wxPy_BEGIN_ALLOW_THREADS; | |
3430 | glGetTexEnviv(_arg0,_arg1,_arg2); | |
3431 | ||
3432 | wxPy_END_ALLOW_THREADS; | |
3433 | } Py_INCREF(Py_None); | |
3434 | _resultobj = Py_None; | |
3435 | return _resultobj; | |
3436 | } | |
3437 | ||
efc5f224 | 3438 | static PyObject *_wrap_glGetTexGendv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3439 | PyObject * _resultobj; |
3440 | GLenum _arg0; | |
3441 | GLenum _arg1; | |
3442 | GLdouble * _arg2; | |
3443 | PyObject * _argo2 = 0; | |
efc5f224 | 3444 | char *_kwnames[] = { "coord","pname","params", NULL }; |
325274bb RD |
3445 | |
3446 | self = self; | |
efc5f224 | 3447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexGendv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3448 | return NULL; |
3449 | if (_argo2) { | |
3450 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3451 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) { | |
3452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGendv. Expected _GLdouble_p."); | |
3453 | return NULL; | |
3454 | } | |
3455 | } | |
3456 | { | |
3457 | wxPy_BEGIN_ALLOW_THREADS; | |
3458 | glGetTexGendv(_arg0,_arg1,_arg2); | |
3459 | ||
3460 | wxPy_END_ALLOW_THREADS; | |
3461 | } Py_INCREF(Py_None); | |
3462 | _resultobj = Py_None; | |
3463 | return _resultobj; | |
3464 | } | |
3465 | ||
efc5f224 | 3466 | static PyObject *_wrap_glGetTexGenfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3467 | PyObject * _resultobj; |
3468 | GLenum _arg0; | |
3469 | GLenum _arg1; | |
3470 | GLfloat * _arg2; | |
3471 | PyObject * _argo2 = 0; | |
efc5f224 | 3472 | char *_kwnames[] = { "coord","pname","params", NULL }; |
325274bb RD |
3473 | |
3474 | self = self; | |
efc5f224 | 3475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexGenfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3476 | return NULL; |
3477 | if (_argo2) { | |
3478 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3479 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
3480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGenfv. Expected _GLfloat_p."); | |
3481 | return NULL; | |
3482 | } | |
3483 | } | |
3484 | { | |
3485 | wxPy_BEGIN_ALLOW_THREADS; | |
3486 | glGetTexGenfv(_arg0,_arg1,_arg2); | |
3487 | ||
3488 | wxPy_END_ALLOW_THREADS; | |
3489 | } Py_INCREF(Py_None); | |
3490 | _resultobj = Py_None; | |
3491 | return _resultobj; | |
3492 | } | |
3493 | ||
efc5f224 | 3494 | static PyObject *_wrap_glGetTexGeniv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3495 | PyObject * _resultobj; |
3496 | GLenum _arg0; | |
3497 | GLenum _arg1; | |
3498 | GLint * _arg2; | |
3499 | PyObject * _argo2 = 0; | |
efc5f224 | 3500 | char *_kwnames[] = { "coord","pname","params", NULL }; |
325274bb RD |
3501 | |
3502 | self = self; | |
efc5f224 | 3503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexGeniv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3504 | return NULL; |
3505 | if (_argo2) { | |
3506 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3507 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
3508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexGeniv. Expected _GLint_p."); | |
3509 | return NULL; | |
3510 | } | |
3511 | } | |
3512 | { | |
3513 | wxPy_BEGIN_ALLOW_THREADS; | |
3514 | glGetTexGeniv(_arg0,_arg1,_arg2); | |
3515 | ||
3516 | wxPy_END_ALLOW_THREADS; | |
3517 | } Py_INCREF(Py_None); | |
3518 | _resultobj = Py_None; | |
3519 | return _resultobj; | |
3520 | } | |
3521 | ||
efc5f224 | 3522 | static PyObject *_wrap_glGetTexImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3523 | PyObject * _resultobj; |
3524 | GLenum _arg0; | |
3525 | GLint _arg1; | |
3526 | GLenum _arg2; | |
3527 | GLenum _arg3; | |
3528 | GLvoid * _arg4; | |
3529 | PyObject * _argo4 = 0; | |
efc5f224 | 3530 | char *_kwnames[] = { "target","level","format","type","pixels", NULL }; |
325274bb RD |
3531 | |
3532 | self = self; | |
efc5f224 | 3533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiO:glGetTexImage",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_argo4)) |
325274bb RD |
3534 | return NULL; |
3535 | if (_argo4) { | |
3536 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
3537 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,(char *) 0 )) { | |
3538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of glGetTexImage. Expected _GLvoid_p."); | |
3539 | return NULL; | |
3540 | } | |
3541 | } | |
3542 | { | |
3543 | wxPy_BEGIN_ALLOW_THREADS; | |
3544 | glGetTexImage(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3545 | ||
3546 | wxPy_END_ALLOW_THREADS; | |
3547 | } Py_INCREF(Py_None); | |
3548 | _resultobj = Py_None; | |
3549 | return _resultobj; | |
3550 | } | |
3551 | ||
efc5f224 | 3552 | static PyObject *_wrap_glGetTexLevelParameterfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3553 | PyObject * _resultobj; |
3554 | GLenum _arg0; | |
3555 | GLint _arg1; | |
3556 | GLenum _arg2; | |
3557 | GLfloat * _arg3; | |
3558 | PyObject * _argo3 = 0; | |
efc5f224 | 3559 | char *_kwnames[] = { "target","level","pname","params", NULL }; |
325274bb RD |
3560 | |
3561 | self = self; | |
efc5f224 | 3562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glGetTexLevelParameterfv",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
3563 | return NULL; |
3564 | if (_argo3) { | |
3565 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
3566 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_GLfloat_p")) { | |
3567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetTexLevelParameterfv. Expected _GLfloat_p."); | |
3568 | return NULL; | |
3569 | } | |
3570 | } | |
3571 | { | |
3572 | wxPy_BEGIN_ALLOW_THREADS; | |
3573 | glGetTexLevelParameterfv(_arg0,_arg1,_arg2,_arg3); | |
3574 | ||
3575 | wxPy_END_ALLOW_THREADS; | |
3576 | } Py_INCREF(Py_None); | |
3577 | _resultobj = Py_None; | |
3578 | return _resultobj; | |
3579 | } | |
3580 | ||
efc5f224 | 3581 | static PyObject *_wrap_glGetTexLevelParameteriv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3582 | PyObject * _resultobj; |
3583 | GLenum _arg0; | |
3584 | GLint _arg1; | |
3585 | GLenum _arg2; | |
3586 | GLint * _arg3; | |
3587 | PyObject * _argo3 = 0; | |
efc5f224 | 3588 | char *_kwnames[] = { "target","level","pname","params", NULL }; |
325274bb RD |
3589 | |
3590 | self = self; | |
efc5f224 | 3591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glGetTexLevelParameteriv",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
3592 | return NULL; |
3593 | if (_argo3) { | |
3594 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
3595 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_GLint_p")) { | |
3596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glGetTexLevelParameteriv. Expected _GLint_p."); | |
3597 | return NULL; | |
3598 | } | |
3599 | } | |
3600 | { | |
3601 | wxPy_BEGIN_ALLOW_THREADS; | |
3602 | glGetTexLevelParameteriv(_arg0,_arg1,_arg2,_arg3); | |
3603 | ||
3604 | wxPy_END_ALLOW_THREADS; | |
3605 | } Py_INCREF(Py_None); | |
3606 | _resultobj = Py_None; | |
3607 | return _resultobj; | |
3608 | } | |
3609 | ||
efc5f224 | 3610 | static PyObject *_wrap_glGetTexParameterfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3611 | PyObject * _resultobj; |
3612 | GLenum _arg0; | |
3613 | GLenum _arg1; | |
3614 | GLfloat * _arg2; | |
3615 | PyObject * _argo2 = 0; | |
efc5f224 | 3616 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
3617 | |
3618 | self = self; | |
efc5f224 | 3619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexParameterfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3620 | return NULL; |
3621 | if (_argo2) { | |
3622 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3623 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
3624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexParameterfv. Expected _GLfloat_p."); | |
3625 | return NULL; | |
3626 | } | |
3627 | } | |
3628 | { | |
3629 | wxPy_BEGIN_ALLOW_THREADS; | |
3630 | glGetTexParameterfv(_arg0,_arg1,_arg2); | |
3631 | ||
3632 | wxPy_END_ALLOW_THREADS; | |
3633 | } Py_INCREF(Py_None); | |
3634 | _resultobj = Py_None; | |
3635 | return _resultobj; | |
3636 | } | |
3637 | ||
efc5f224 | 3638 | static PyObject *_wrap_glGetTexParameteriv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3639 | PyObject * _resultobj; |
3640 | GLenum _arg0; | |
3641 | GLenum _arg1; | |
3642 | GLint * _arg2; | |
3643 | PyObject * _argo2 = 0; | |
efc5f224 | 3644 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
3645 | |
3646 | self = self; | |
efc5f224 | 3647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glGetTexParameteriv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3648 | return NULL; |
3649 | if (_argo2) { | |
3650 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3651 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
3652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glGetTexParameteriv. Expected _GLint_p."); | |
3653 | return NULL; | |
3654 | } | |
3655 | } | |
3656 | { | |
3657 | wxPy_BEGIN_ALLOW_THREADS; | |
3658 | glGetTexParameteriv(_arg0,_arg1,_arg2); | |
3659 | ||
3660 | wxPy_END_ALLOW_THREADS; | |
3661 | } Py_INCREF(Py_None); | |
3662 | _resultobj = Py_None; | |
3663 | return _resultobj; | |
3664 | } | |
3665 | ||
efc5f224 | 3666 | static PyObject *_wrap_glHint(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3667 | PyObject * _resultobj; |
3668 | GLenum _arg0; | |
3669 | GLenum _arg1; | |
efc5f224 | 3670 | char *_kwnames[] = { "target","mode", NULL }; |
325274bb RD |
3671 | |
3672 | self = self; | |
efc5f224 | 3673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glHint",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
3674 | return NULL; |
3675 | { | |
3676 | wxPy_BEGIN_ALLOW_THREADS; | |
3677 | glHint(_arg0,_arg1); | |
3678 | ||
3679 | wxPy_END_ALLOW_THREADS; | |
3680 | } Py_INCREF(Py_None); | |
3681 | _resultobj = Py_None; | |
3682 | return _resultobj; | |
3683 | } | |
3684 | ||
efc5f224 | 3685 | static PyObject *_wrap_glIndexMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3686 | PyObject * _resultobj; |
3687 | GLuint _arg0; | |
efc5f224 | 3688 | char *_kwnames[] = { "mask", NULL }; |
325274bb RD |
3689 | |
3690 | self = self; | |
efc5f224 | 3691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIndexMask",_kwnames,&_arg0)) |
325274bb RD |
3692 | return NULL; |
3693 | { | |
3694 | wxPy_BEGIN_ALLOW_THREADS; | |
3695 | glIndexMask(_arg0); | |
3696 | ||
3697 | wxPy_END_ALLOW_THREADS; | |
3698 | } Py_INCREF(Py_None); | |
3699 | _resultobj = Py_None; | |
3700 | return _resultobj; | |
3701 | } | |
3702 | ||
efc5f224 | 3703 | static PyObject *_wrap_glIndexPointer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3704 | PyObject * _resultobj; |
3705 | GLenum _arg0; | |
3706 | GLsizei _arg1; | |
3707 | GLvoid * _arg2; | |
3708 | PyObject * _argo2 = 0; | |
efc5f224 | 3709 | char *_kwnames[] = { "type","stride","pointer", NULL }; |
325274bb RD |
3710 | |
3711 | self = self; | |
efc5f224 | 3712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glIndexPointer",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3713 | return NULL; |
3714 | if (_argo2) { | |
3715 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3716 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
3717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glIndexPointer. Expected _GLvoid_p."); | |
3718 | return NULL; | |
3719 | } | |
3720 | } | |
3721 | { | |
3722 | wxPy_BEGIN_ALLOW_THREADS; | |
3723 | glIndexPointer(_arg0,_arg1,_arg2); | |
3724 | ||
3725 | wxPy_END_ALLOW_THREADS; | |
3726 | } Py_INCREF(Py_None); | |
3727 | _resultobj = Py_None; | |
3728 | return _resultobj; | |
3729 | } | |
3730 | ||
efc5f224 | 3731 | static PyObject *_wrap_glIndexd(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3732 | PyObject * _resultobj; |
3733 | GLdouble _arg0; | |
efc5f224 | 3734 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3735 | |
3736 | self = self; | |
efc5f224 | 3737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:glIndexd",_kwnames,&_arg0)) |
325274bb RD |
3738 | return NULL; |
3739 | { | |
3740 | wxPy_BEGIN_ALLOW_THREADS; | |
3741 | glIndexd(_arg0); | |
3742 | ||
3743 | wxPy_END_ALLOW_THREADS; | |
3744 | } Py_INCREF(Py_None); | |
3745 | _resultobj = Py_None; | |
3746 | return _resultobj; | |
3747 | } | |
3748 | ||
efc5f224 | 3749 | static PyObject *_wrap_glIndexdv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3750 | PyObject * _resultobj; |
3751 | GLdouble * _arg0; | |
3752 | PyObject * _argo0 = 0; | |
efc5f224 | 3753 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3754 | |
3755 | self = self; | |
efc5f224 | 3756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexdv",_kwnames,&_argo0)) |
325274bb RD |
3757 | return NULL; |
3758 | if (_argo0) { | |
3759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
3761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexdv. Expected _GLdouble_p."); | |
3762 | return NULL; | |
3763 | } | |
3764 | } | |
3765 | { | |
3766 | wxPy_BEGIN_ALLOW_THREADS; | |
3767 | glIndexdv(_arg0); | |
3768 | ||
3769 | wxPy_END_ALLOW_THREADS; | |
3770 | } Py_INCREF(Py_None); | |
3771 | _resultobj = Py_None; | |
3772 | return _resultobj; | |
3773 | } | |
3774 | ||
efc5f224 | 3775 | static PyObject *_wrap_glIndexf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3776 | PyObject * _resultobj; |
3777 | GLfloat _arg0; | |
efc5f224 | 3778 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3779 | |
3780 | self = self; | |
efc5f224 | 3781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glIndexf",_kwnames,&_arg0)) |
325274bb RD |
3782 | return NULL; |
3783 | { | |
3784 | wxPy_BEGIN_ALLOW_THREADS; | |
3785 | glIndexf(_arg0); | |
3786 | ||
3787 | wxPy_END_ALLOW_THREADS; | |
3788 | } Py_INCREF(Py_None); | |
3789 | _resultobj = Py_None; | |
3790 | return _resultobj; | |
3791 | } | |
3792 | ||
efc5f224 | 3793 | static PyObject *_wrap_glIndexfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3794 | PyObject * _resultobj; |
3795 | GLfloat * _arg0; | |
3796 | PyObject * _argo0 = 0; | |
efc5f224 | 3797 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3798 | |
3799 | self = self; | |
efc5f224 | 3800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexfv",_kwnames,&_argo0)) |
325274bb RD |
3801 | return NULL; |
3802 | if (_argo0) { | |
3803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
3805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexfv. Expected _GLfloat_p."); | |
3806 | return NULL; | |
3807 | } | |
3808 | } | |
3809 | { | |
3810 | wxPy_BEGIN_ALLOW_THREADS; | |
3811 | glIndexfv(_arg0); | |
3812 | ||
3813 | wxPy_END_ALLOW_THREADS; | |
3814 | } Py_INCREF(Py_None); | |
3815 | _resultobj = Py_None; | |
3816 | return _resultobj; | |
3817 | } | |
3818 | ||
efc5f224 | 3819 | static PyObject *_wrap_glIndexi(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3820 | PyObject * _resultobj; |
3821 | GLint _arg0; | |
efc5f224 | 3822 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3823 | |
3824 | self = self; | |
efc5f224 | 3825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIndexi",_kwnames,&_arg0)) |
325274bb RD |
3826 | return NULL; |
3827 | { | |
3828 | wxPy_BEGIN_ALLOW_THREADS; | |
3829 | glIndexi(_arg0); | |
3830 | ||
3831 | wxPy_END_ALLOW_THREADS; | |
3832 | } Py_INCREF(Py_None); | |
3833 | _resultobj = Py_None; | |
3834 | return _resultobj; | |
3835 | } | |
3836 | ||
efc5f224 | 3837 | static PyObject *_wrap_glIndexiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3838 | PyObject * _resultobj; |
3839 | GLint * _arg0; | |
3840 | PyObject * _argo0 = 0; | |
efc5f224 | 3841 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3842 | |
3843 | self = self; | |
efc5f224 | 3844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexiv",_kwnames,&_argo0)) |
325274bb RD |
3845 | return NULL; |
3846 | if (_argo0) { | |
3847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
3849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexiv. Expected _GLint_p."); | |
3850 | return NULL; | |
3851 | } | |
3852 | } | |
3853 | { | |
3854 | wxPy_BEGIN_ALLOW_THREADS; | |
3855 | glIndexiv(_arg0); | |
3856 | ||
3857 | wxPy_END_ALLOW_THREADS; | |
3858 | } Py_INCREF(Py_None); | |
3859 | _resultobj = Py_None; | |
3860 | return _resultobj; | |
3861 | } | |
3862 | ||
efc5f224 | 3863 | static PyObject *_wrap_glIndexs(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3864 | PyObject * _resultobj; |
3865 | GLshort _arg0; | |
efc5f224 | 3866 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3867 | |
3868 | self = self; | |
efc5f224 | 3869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"h:glIndexs",_kwnames,&_arg0)) |
325274bb RD |
3870 | return NULL; |
3871 | { | |
3872 | wxPy_BEGIN_ALLOW_THREADS; | |
3873 | glIndexs(_arg0); | |
3874 | ||
3875 | wxPy_END_ALLOW_THREADS; | |
3876 | } Py_INCREF(Py_None); | |
3877 | _resultobj = Py_None; | |
3878 | return _resultobj; | |
3879 | } | |
3880 | ||
efc5f224 | 3881 | static PyObject *_wrap_glIndexsv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3882 | PyObject * _resultobj; |
3883 | GLshort * _arg0; | |
3884 | PyObject * _argo0 = 0; | |
efc5f224 | 3885 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3886 | |
3887 | self = self; | |
efc5f224 | 3888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexsv",_kwnames,&_argo0)) |
325274bb RD |
3889 | return NULL; |
3890 | if (_argo0) { | |
3891 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3892 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
3893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexsv. Expected _GLshort_p."); | |
3894 | return NULL; | |
3895 | } | |
3896 | } | |
3897 | { | |
3898 | wxPy_BEGIN_ALLOW_THREADS; | |
3899 | glIndexsv(_arg0); | |
3900 | ||
3901 | wxPy_END_ALLOW_THREADS; | |
3902 | } Py_INCREF(Py_None); | |
3903 | _resultobj = Py_None; | |
3904 | return _resultobj; | |
3905 | } | |
3906 | ||
efc5f224 | 3907 | static PyObject *_wrap_glIndexub(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3908 | PyObject * _resultobj; |
3909 | GLubyte _arg0; | |
efc5f224 | 3910 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3911 | |
3912 | self = self; | |
efc5f224 | 3913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"b:glIndexub",_kwnames,&_arg0)) |
325274bb RD |
3914 | return NULL; |
3915 | { | |
3916 | wxPy_BEGIN_ALLOW_THREADS; | |
3917 | glIndexub(_arg0); | |
3918 | ||
3919 | wxPy_END_ALLOW_THREADS; | |
3920 | } Py_INCREF(Py_None); | |
3921 | _resultobj = Py_None; | |
3922 | return _resultobj; | |
3923 | } | |
3924 | ||
efc5f224 | 3925 | static PyObject *_wrap_glIndexubv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3926 | PyObject * _resultobj; |
3927 | GLubyte * _arg0; | |
3928 | PyObject * _argo0 = 0; | |
efc5f224 | 3929 | char *_kwnames[] = { "c", NULL }; |
325274bb RD |
3930 | |
3931 | self = self; | |
efc5f224 | 3932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glIndexubv",_kwnames,&_argo0)) |
325274bb RD |
3933 | return NULL; |
3934 | if (_argo0) { | |
3935 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3936 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
3937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glIndexubv. Expected _GLubyte_p."); | |
3938 | return NULL; | |
3939 | } | |
3940 | } | |
3941 | { | |
3942 | wxPy_BEGIN_ALLOW_THREADS; | |
3943 | glIndexubv(_arg0); | |
3944 | ||
3945 | wxPy_END_ALLOW_THREADS; | |
3946 | } Py_INCREF(Py_None); | |
3947 | _resultobj = Py_None; | |
3948 | return _resultobj; | |
3949 | } | |
3950 | ||
efc5f224 | 3951 | static PyObject *_wrap_glInitNames(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 3952 | PyObject * _resultobj; |
efc5f224 | 3953 | char *_kwnames[] = { NULL }; |
325274bb RD |
3954 | |
3955 | self = self; | |
efc5f224 | 3956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glInitNames",_kwnames)) |
325274bb RD |
3957 | return NULL; |
3958 | { | |
3959 | wxPy_BEGIN_ALLOW_THREADS; | |
3960 | glInitNames(); | |
3961 | ||
3962 | wxPy_END_ALLOW_THREADS; | |
3963 | } Py_INCREF(Py_None); | |
3964 | _resultobj = Py_None; | |
3965 | return _resultobj; | |
3966 | } | |
3967 | ||
efc5f224 | 3968 | static PyObject *_wrap_glInterleavedArrays(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3969 | PyObject * _resultobj; |
3970 | GLenum _arg0; | |
3971 | GLsizei _arg1; | |
3972 | GLvoid * _arg2; | |
3973 | PyObject * _argo2 = 0; | |
efc5f224 | 3974 | char *_kwnames[] = { "format","stride","pointer", NULL }; |
325274bb RD |
3975 | |
3976 | self = self; | |
efc5f224 | 3977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glInterleavedArrays",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
3978 | return NULL; |
3979 | if (_argo2) { | |
3980 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3981 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
3982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glInterleavedArrays. Expected _GLvoid_p."); | |
3983 | return NULL; | |
3984 | } | |
3985 | } | |
3986 | { | |
3987 | wxPy_BEGIN_ALLOW_THREADS; | |
3988 | glInterleavedArrays(_arg0,_arg1,_arg2); | |
3989 | ||
3990 | wxPy_END_ALLOW_THREADS; | |
3991 | } Py_INCREF(Py_None); | |
3992 | _resultobj = Py_None; | |
3993 | return _resultobj; | |
3994 | } | |
3995 | ||
efc5f224 | 3996 | static PyObject *_wrap_glIsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
3997 | PyObject * _resultobj; |
3998 | GLboolean _result; | |
3999 | GLenum _arg0; | |
efc5f224 | 4000 | char *_kwnames[] = { "cap", NULL }; |
325274bb RD |
4001 | |
4002 | self = self; | |
efc5f224 | 4003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIsEnabled",_kwnames,&_arg0)) |
325274bb RD |
4004 | return NULL; |
4005 | { | |
4006 | wxPy_BEGIN_ALLOW_THREADS; | |
4007 | _result = (GLboolean )glIsEnabled(_arg0); | |
4008 | ||
4009 | wxPy_END_ALLOW_THREADS; | |
4010 | } _resultobj = Py_BuildValue("b",_result); | |
4011 | return _resultobj; | |
4012 | } | |
4013 | ||
efc5f224 | 4014 | static PyObject *_wrap_glIsList(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4015 | PyObject * _resultobj; |
4016 | GLboolean _result; | |
4017 | GLuint _arg0; | |
efc5f224 | 4018 | char *_kwnames[] = { "list", NULL }; |
325274bb RD |
4019 | |
4020 | self = self; | |
efc5f224 | 4021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIsList",_kwnames,&_arg0)) |
325274bb RD |
4022 | return NULL; |
4023 | { | |
4024 | wxPy_BEGIN_ALLOW_THREADS; | |
4025 | _result = (GLboolean )glIsList(_arg0); | |
4026 | ||
4027 | wxPy_END_ALLOW_THREADS; | |
4028 | } _resultobj = Py_BuildValue("b",_result); | |
4029 | return _resultobj; | |
4030 | } | |
4031 | ||
efc5f224 | 4032 | static PyObject *_wrap_glIsTexture(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4033 | PyObject * _resultobj; |
4034 | GLboolean _result; | |
4035 | GLuint _arg0; | |
efc5f224 | 4036 | char *_kwnames[] = { "texture", NULL }; |
325274bb RD |
4037 | |
4038 | self = self; | |
efc5f224 | 4039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glIsTexture",_kwnames,&_arg0)) |
325274bb RD |
4040 | return NULL; |
4041 | { | |
4042 | wxPy_BEGIN_ALLOW_THREADS; | |
4043 | _result = (GLboolean )glIsTexture(_arg0); | |
4044 | ||
4045 | wxPy_END_ALLOW_THREADS; | |
4046 | } _resultobj = Py_BuildValue("b",_result); | |
4047 | return _resultobj; | |
4048 | } | |
4049 | ||
efc5f224 | 4050 | static PyObject *_wrap_glLightModelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4051 | PyObject * _resultobj; |
4052 | GLenum _arg0; | |
4053 | GLfloat _arg1; | |
efc5f224 | 4054 | char *_kwnames[] = { "pname","param", NULL }; |
325274bb RD |
4055 | |
4056 | self = self; | |
efc5f224 | 4057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glLightModelf",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
4058 | return NULL; |
4059 | { | |
4060 | wxPy_BEGIN_ALLOW_THREADS; | |
4061 | glLightModelf(_arg0,_arg1); | |
4062 | ||
4063 | wxPy_END_ALLOW_THREADS; | |
4064 | } Py_INCREF(Py_None); | |
4065 | _resultobj = Py_None; | |
4066 | return _resultobj; | |
4067 | } | |
4068 | ||
efc5f224 | 4069 | static PyObject *_wrap_glLightModelfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4070 | PyObject * _resultobj; |
4071 | GLenum _arg0; | |
4072 | GLfloat * _arg1; | |
4073 | PyObject * _argo1 = 0; | |
efc5f224 | 4074 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
4075 | |
4076 | self = self; | |
efc5f224 | 4077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glLightModelfv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
4078 | return NULL; |
4079 | if (_argo1) { | |
4080 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4081 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
4082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glLightModelfv. Expected _GLfloat_p."); | |
4083 | return NULL; | |
4084 | } | |
4085 | } | |
4086 | { | |
4087 | wxPy_BEGIN_ALLOW_THREADS; | |
4088 | glLightModelfv(_arg0,_arg1); | |
4089 | ||
4090 | wxPy_END_ALLOW_THREADS; | |
4091 | } Py_INCREF(Py_None); | |
4092 | _resultobj = Py_None; | |
4093 | return _resultobj; | |
4094 | } | |
4095 | ||
efc5f224 | 4096 | static PyObject *_wrap_glLightModeli(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4097 | PyObject * _resultobj; |
4098 | GLenum _arg0; | |
4099 | GLint _arg1; | |
efc5f224 | 4100 | char *_kwnames[] = { "pname","param", NULL }; |
325274bb RD |
4101 | |
4102 | self = self; | |
efc5f224 | 4103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glLightModeli",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
4104 | return NULL; |
4105 | { | |
4106 | wxPy_BEGIN_ALLOW_THREADS; | |
4107 | glLightModeli(_arg0,_arg1); | |
4108 | ||
4109 | wxPy_END_ALLOW_THREADS; | |
4110 | } Py_INCREF(Py_None); | |
4111 | _resultobj = Py_None; | |
4112 | return _resultobj; | |
4113 | } | |
4114 | ||
efc5f224 | 4115 | static PyObject *_wrap_glLightModeliv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4116 | PyObject * _resultobj; |
4117 | GLenum _arg0; | |
4118 | GLint * _arg1; | |
4119 | PyObject * _argo1 = 0; | |
efc5f224 | 4120 | char *_kwnames[] = { "pname","params", NULL }; |
325274bb RD |
4121 | |
4122 | self = self; | |
efc5f224 | 4123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glLightModeliv",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
4124 | return NULL; |
4125 | if (_argo1) { | |
4126 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4127 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) { | |
4128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glLightModeliv. Expected _GLint_p."); | |
4129 | return NULL; | |
4130 | } | |
4131 | } | |
4132 | { | |
4133 | wxPy_BEGIN_ALLOW_THREADS; | |
4134 | glLightModeliv(_arg0,_arg1); | |
4135 | ||
4136 | wxPy_END_ALLOW_THREADS; | |
4137 | } Py_INCREF(Py_None); | |
4138 | _resultobj = Py_None; | |
4139 | return _resultobj; | |
4140 | } | |
4141 | ||
efc5f224 | 4142 | static PyObject *_wrap_glLightf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4143 | PyObject * _resultobj; |
4144 | GLenum _arg0; | |
4145 | GLenum _arg1; | |
4146 | GLfloat _arg2; | |
efc5f224 | 4147 | char *_kwnames[] = { "light","pname","param", NULL }; |
325274bb RD |
4148 | |
4149 | self = self; | |
efc5f224 | 4150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glLightf",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4151 | return NULL; |
4152 | { | |
4153 | wxPy_BEGIN_ALLOW_THREADS; | |
4154 | glLightf(_arg0,_arg1,_arg2); | |
4155 | ||
4156 | wxPy_END_ALLOW_THREADS; | |
4157 | } Py_INCREF(Py_None); | |
4158 | _resultobj = Py_None; | |
4159 | return _resultobj; | |
4160 | } | |
4161 | ||
efc5f224 | 4162 | static PyObject *_wrap_glLightfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4163 | PyObject * _resultobj; |
4164 | GLenum _arg0; | |
4165 | GLenum _arg1; | |
4166 | GLfloat * _arg2; | |
4167 | PyObject * _argo2 = 0; | |
efc5f224 | 4168 | char *_kwnames[] = { "light","pname","params", NULL }; |
325274bb RD |
4169 | |
4170 | self = self; | |
efc5f224 | 4171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glLightfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
4172 | return NULL; |
4173 | if (_argo2) { | |
4174 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4175 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
4176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glLightfv. Expected _GLfloat_p."); | |
4177 | return NULL; | |
4178 | } | |
4179 | } | |
4180 | { | |
4181 | wxPy_BEGIN_ALLOW_THREADS; | |
4182 | glLightfv(_arg0,_arg1,_arg2); | |
4183 | ||
4184 | wxPy_END_ALLOW_THREADS; | |
4185 | } Py_INCREF(Py_None); | |
4186 | _resultobj = Py_None; | |
4187 | return _resultobj; | |
4188 | } | |
4189 | ||
efc5f224 | 4190 | static PyObject *_wrap_glLighti(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4191 | PyObject * _resultobj; |
4192 | GLenum _arg0; | |
4193 | GLenum _arg1; | |
4194 | GLint _arg2; | |
efc5f224 | 4195 | char *_kwnames[] = { "light","pname","param", NULL }; |
325274bb RD |
4196 | |
4197 | self = self; | |
efc5f224 | 4198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glLighti",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4199 | return NULL; |
4200 | { | |
4201 | wxPy_BEGIN_ALLOW_THREADS; | |
4202 | glLighti(_arg0,_arg1,_arg2); | |
4203 | ||
4204 | wxPy_END_ALLOW_THREADS; | |
4205 | } Py_INCREF(Py_None); | |
4206 | _resultobj = Py_None; | |
4207 | return _resultobj; | |
4208 | } | |
4209 | ||
efc5f224 | 4210 | static PyObject *_wrap_glLightiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4211 | PyObject * _resultobj; |
4212 | GLenum _arg0; | |
4213 | GLenum _arg1; | |
4214 | GLint * _arg2; | |
4215 | PyObject * _argo2 = 0; | |
efc5f224 | 4216 | char *_kwnames[] = { "light","pname","params", NULL }; |
325274bb RD |
4217 | |
4218 | self = self; | |
efc5f224 | 4219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glLightiv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
4220 | return NULL; |
4221 | if (_argo2) { | |
4222 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4223 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
4224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glLightiv. Expected _GLint_p."); | |
4225 | return NULL; | |
4226 | } | |
4227 | } | |
4228 | { | |
4229 | wxPy_BEGIN_ALLOW_THREADS; | |
4230 | glLightiv(_arg0,_arg1,_arg2); | |
4231 | ||
4232 | wxPy_END_ALLOW_THREADS; | |
4233 | } Py_INCREF(Py_None); | |
4234 | _resultobj = Py_None; | |
4235 | return _resultobj; | |
4236 | } | |
4237 | ||
efc5f224 | 4238 | static PyObject *_wrap_glLineStipple(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4239 | PyObject * _resultobj; |
4240 | GLint _arg0; | |
4241 | GLushort _arg1; | |
efc5f224 | 4242 | char *_kwnames[] = { "factor","pattern", NULL }; |
325274bb RD |
4243 | |
4244 | self = self; | |
efc5f224 | 4245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ih:glLineStipple",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
4246 | return NULL; |
4247 | { | |
4248 | wxPy_BEGIN_ALLOW_THREADS; | |
4249 | glLineStipple(_arg0,_arg1); | |
4250 | ||
4251 | wxPy_END_ALLOW_THREADS; | |
4252 | } Py_INCREF(Py_None); | |
4253 | _resultobj = Py_None; | |
4254 | return _resultobj; | |
4255 | } | |
4256 | ||
efc5f224 | 4257 | static PyObject *_wrap_glLineWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4258 | PyObject * _resultobj; |
4259 | GLfloat _arg0; | |
efc5f224 | 4260 | char *_kwnames[] = { "width", NULL }; |
325274bb RD |
4261 | |
4262 | self = self; | |
efc5f224 | 4263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glLineWidth",_kwnames,&_arg0)) |
325274bb RD |
4264 | return NULL; |
4265 | { | |
4266 | wxPy_BEGIN_ALLOW_THREADS; | |
4267 | glLineWidth(_arg0); | |
4268 | ||
4269 | wxPy_END_ALLOW_THREADS; | |
4270 | } Py_INCREF(Py_None); | |
4271 | _resultobj = Py_None; | |
4272 | return _resultobj; | |
4273 | } | |
4274 | ||
efc5f224 | 4275 | static PyObject *_wrap_glListBase(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4276 | PyObject * _resultobj; |
4277 | GLuint _arg0; | |
efc5f224 | 4278 | char *_kwnames[] = { "base", NULL }; |
325274bb RD |
4279 | |
4280 | self = self; | |
efc5f224 | 4281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glListBase",_kwnames,&_arg0)) |
325274bb RD |
4282 | return NULL; |
4283 | { | |
4284 | wxPy_BEGIN_ALLOW_THREADS; | |
4285 | glListBase(_arg0); | |
4286 | ||
4287 | wxPy_END_ALLOW_THREADS; | |
4288 | } Py_INCREF(Py_None); | |
4289 | _resultobj = Py_None; | |
4290 | return _resultobj; | |
4291 | } | |
4292 | ||
efc5f224 | 4293 | static PyObject *_wrap_glLoadIdentity(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 4294 | PyObject * _resultobj; |
efc5f224 | 4295 | char *_kwnames[] = { NULL }; |
325274bb RD |
4296 | |
4297 | self = self; | |
efc5f224 | 4298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glLoadIdentity",_kwnames)) |
325274bb RD |
4299 | return NULL; |
4300 | { | |
4301 | wxPy_BEGIN_ALLOW_THREADS; | |
4302 | glLoadIdentity(); | |
4303 | ||
4304 | wxPy_END_ALLOW_THREADS; | |
4305 | } Py_INCREF(Py_None); | |
4306 | _resultobj = Py_None; | |
4307 | return _resultobj; | |
4308 | } | |
4309 | ||
efc5f224 | 4310 | static PyObject *_wrap_glLoadMatrixd(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4311 | PyObject * _resultobj; |
4312 | GLdouble * _arg0; | |
4313 | PyObject * _argo0 = 0; | |
efc5f224 | 4314 | char *_kwnames[] = { "m", NULL }; |
325274bb RD |
4315 | |
4316 | self = self; | |
efc5f224 | 4317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glLoadMatrixd",_kwnames,&_argo0)) |
325274bb RD |
4318 | return NULL; |
4319 | if (_argo0) { | |
4320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
4322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glLoadMatrixd. Expected _GLdouble_p."); | |
4323 | return NULL; | |
4324 | } | |
4325 | } | |
4326 | { | |
4327 | wxPy_BEGIN_ALLOW_THREADS; | |
4328 | glLoadMatrixd(_arg0); | |
4329 | ||
4330 | wxPy_END_ALLOW_THREADS; | |
4331 | } Py_INCREF(Py_None); | |
4332 | _resultobj = Py_None; | |
4333 | return _resultobj; | |
4334 | } | |
4335 | ||
efc5f224 | 4336 | static PyObject *_wrap_glLoadMatrixf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4337 | PyObject * _resultobj; |
4338 | GLfloat * _arg0; | |
4339 | PyObject * _argo0 = 0; | |
efc5f224 | 4340 | char *_kwnames[] = { "m", NULL }; |
325274bb RD |
4341 | |
4342 | self = self; | |
efc5f224 | 4343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glLoadMatrixf",_kwnames,&_argo0)) |
325274bb RD |
4344 | return NULL; |
4345 | if (_argo0) { | |
4346 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4347 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
4348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glLoadMatrixf. Expected _GLfloat_p."); | |
4349 | return NULL; | |
4350 | } | |
4351 | } | |
4352 | { | |
4353 | wxPy_BEGIN_ALLOW_THREADS; | |
4354 | glLoadMatrixf(_arg0); | |
4355 | ||
4356 | wxPy_END_ALLOW_THREADS; | |
4357 | } Py_INCREF(Py_None); | |
4358 | _resultobj = Py_None; | |
4359 | return _resultobj; | |
4360 | } | |
4361 | ||
efc5f224 | 4362 | static PyObject *_wrap_glLoadName(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4363 | PyObject * _resultobj; |
4364 | GLuint _arg0; | |
efc5f224 | 4365 | char *_kwnames[] = { "name", NULL }; |
325274bb RD |
4366 | |
4367 | self = self; | |
efc5f224 | 4368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glLoadName",_kwnames,&_arg0)) |
325274bb RD |
4369 | return NULL; |
4370 | { | |
4371 | wxPy_BEGIN_ALLOW_THREADS; | |
4372 | glLoadName(_arg0); | |
4373 | ||
4374 | wxPy_END_ALLOW_THREADS; | |
4375 | } Py_INCREF(Py_None); | |
4376 | _resultobj = Py_None; | |
4377 | return _resultobj; | |
4378 | } | |
4379 | ||
efc5f224 | 4380 | static PyObject *_wrap_glLogicOp(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4381 | PyObject * _resultobj; |
4382 | GLenum _arg0; | |
efc5f224 | 4383 | char *_kwnames[] = { "opcode", NULL }; |
325274bb RD |
4384 | |
4385 | self = self; | |
efc5f224 | 4386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glLogicOp",_kwnames,&_arg0)) |
325274bb RD |
4387 | return NULL; |
4388 | { | |
4389 | wxPy_BEGIN_ALLOW_THREADS; | |
4390 | glLogicOp(_arg0); | |
4391 | ||
4392 | wxPy_END_ALLOW_THREADS; | |
4393 | } Py_INCREF(Py_None); | |
4394 | _resultobj = Py_None; | |
4395 | return _resultobj; | |
4396 | } | |
4397 | ||
efc5f224 | 4398 | static PyObject *_wrap_glMap1d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4399 | PyObject * _resultobj; |
4400 | GLenum _arg0; | |
4401 | GLdouble _arg1; | |
4402 | GLdouble _arg2; | |
4403 | GLint _arg3; | |
4404 | GLint _arg4; | |
4405 | GLdouble * _arg5; | |
4406 | PyObject * _argo5 = 0; | |
efc5f224 | 4407 | char *_kwnames[] = { "target","u1","u2","stride","order","points", NULL }; |
325274bb RD |
4408 | |
4409 | self = self; | |
efc5f224 | 4410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iddiiO:glMap1d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5)) |
325274bb RD |
4411 | return NULL; |
4412 | if (_argo5) { | |
4413 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4414 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_GLdouble_p")) { | |
4415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glMap1d. Expected _GLdouble_p."); | |
4416 | return NULL; | |
4417 | } | |
4418 | } | |
4419 | { | |
4420 | wxPy_BEGIN_ALLOW_THREADS; | |
4421 | glMap1d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4422 | ||
4423 | wxPy_END_ALLOW_THREADS; | |
4424 | } Py_INCREF(Py_None); | |
4425 | _resultobj = Py_None; | |
4426 | return _resultobj; | |
4427 | } | |
4428 | ||
efc5f224 | 4429 | static PyObject *_wrap_glMap1f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4430 | PyObject * _resultobj; |
4431 | GLenum _arg0; | |
4432 | GLfloat _arg1; | |
4433 | GLfloat _arg2; | |
4434 | GLint _arg3; | |
4435 | GLint _arg4; | |
4436 | GLfloat * _arg5; | |
4437 | PyObject * _argo5 = 0; | |
efc5f224 | 4438 | char *_kwnames[] = { "target","u1","u2","stride","order","points", NULL }; |
325274bb RD |
4439 | |
4440 | self = self; | |
efc5f224 | 4441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iffiiO:glMap1f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5)) |
325274bb RD |
4442 | return NULL; |
4443 | if (_argo5) { | |
4444 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4445 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_GLfloat_p")) { | |
4446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of glMap1f. Expected _GLfloat_p."); | |
4447 | return NULL; | |
4448 | } | |
4449 | } | |
4450 | { | |
4451 | wxPy_BEGIN_ALLOW_THREADS; | |
4452 | glMap1f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4453 | ||
4454 | wxPy_END_ALLOW_THREADS; | |
4455 | } Py_INCREF(Py_None); | |
4456 | _resultobj = Py_None; | |
4457 | return _resultobj; | |
4458 | } | |
4459 | ||
efc5f224 | 4460 | static PyObject *_wrap_glMap2d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4461 | PyObject * _resultobj; |
4462 | GLenum _arg0; | |
4463 | GLdouble _arg1; | |
4464 | GLdouble _arg2; | |
4465 | GLint _arg3; | |
4466 | GLint _arg4; | |
4467 | GLdouble _arg5; | |
4468 | GLdouble _arg6; | |
4469 | GLint _arg7; | |
4470 | GLint _arg8; | |
4471 | GLdouble * _arg9; | |
4472 | PyObject * _argo9 = 0; | |
efc5f224 | 4473 | char *_kwnames[] = { "target","u1","u2","ustride","uorder","v1","v2","vstride","vorder","points", NULL }; |
325274bb RD |
4474 | |
4475 | self = self; | |
efc5f224 | 4476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iddiiddiiO:glMap2d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_argo9)) |
325274bb RD |
4477 | return NULL; |
4478 | if (_argo9) { | |
4479 | if (_argo9 == Py_None) { _arg9 = NULL; } | |
4480 | else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_GLdouble_p")) { | |
4481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of glMap2d. Expected _GLdouble_p."); | |
4482 | return NULL; | |
4483 | } | |
4484 | } | |
4485 | { | |
4486 | wxPy_BEGIN_ALLOW_THREADS; | |
4487 | glMap2d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
4488 | ||
4489 | wxPy_END_ALLOW_THREADS; | |
4490 | } Py_INCREF(Py_None); | |
4491 | _resultobj = Py_None; | |
4492 | return _resultobj; | |
4493 | } | |
4494 | ||
efc5f224 | 4495 | static PyObject *_wrap_glMap2f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4496 | PyObject * _resultobj; |
4497 | GLenum _arg0; | |
4498 | GLfloat _arg1; | |
4499 | GLfloat _arg2; | |
4500 | GLint _arg3; | |
4501 | GLint _arg4; | |
4502 | GLfloat _arg5; | |
4503 | GLfloat _arg6; | |
4504 | GLint _arg7; | |
4505 | GLint _arg8; | |
4506 | GLfloat * _arg9; | |
4507 | PyObject * _argo9 = 0; | |
efc5f224 | 4508 | char *_kwnames[] = { "target","u1","u2","ustride","uorder","v1","v2","vstride","vorder","points", NULL }; |
325274bb RD |
4509 | |
4510 | self = self; | |
efc5f224 | 4511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iffiiffiiO:glMap2f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_argo9)) |
325274bb RD |
4512 | return NULL; |
4513 | if (_argo9) { | |
4514 | if (_argo9 == Py_None) { _arg9 = NULL; } | |
4515 | else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_GLfloat_p")) { | |
4516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of glMap2f. Expected _GLfloat_p."); | |
4517 | return NULL; | |
4518 | } | |
4519 | } | |
4520 | { | |
4521 | wxPy_BEGIN_ALLOW_THREADS; | |
4522 | glMap2f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
4523 | ||
4524 | wxPy_END_ALLOW_THREADS; | |
4525 | } Py_INCREF(Py_None); | |
4526 | _resultobj = Py_None; | |
4527 | return _resultobj; | |
4528 | } | |
4529 | ||
efc5f224 | 4530 | static PyObject *_wrap_glMapGrid1d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4531 | PyObject * _resultobj; |
4532 | GLint _arg0; | |
4533 | GLdouble _arg1; | |
4534 | GLdouble _arg2; | |
efc5f224 | 4535 | char *_kwnames[] = { "un","u1","u2", NULL }; |
325274bb RD |
4536 | |
4537 | self = self; | |
efc5f224 | 4538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"idd:glMapGrid1d",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4539 | return NULL; |
4540 | { | |
4541 | wxPy_BEGIN_ALLOW_THREADS; | |
4542 | glMapGrid1d(_arg0,_arg1,_arg2); | |
4543 | ||
4544 | wxPy_END_ALLOW_THREADS; | |
4545 | } Py_INCREF(Py_None); | |
4546 | _resultobj = Py_None; | |
4547 | return _resultobj; | |
4548 | } | |
4549 | ||
efc5f224 | 4550 | static PyObject *_wrap_glMapGrid1f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4551 | PyObject * _resultobj; |
4552 | GLint _arg0; | |
4553 | GLfloat _arg1; | |
4554 | GLfloat _arg2; | |
efc5f224 | 4555 | char *_kwnames[] = { "un","u1","u2", NULL }; |
325274bb RD |
4556 | |
4557 | self = self; | |
efc5f224 | 4558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iff:glMapGrid1f",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4559 | return NULL; |
4560 | { | |
4561 | wxPy_BEGIN_ALLOW_THREADS; | |
4562 | glMapGrid1f(_arg0,_arg1,_arg2); | |
4563 | ||
4564 | wxPy_END_ALLOW_THREADS; | |
4565 | } Py_INCREF(Py_None); | |
4566 | _resultobj = Py_None; | |
4567 | return _resultobj; | |
4568 | } | |
4569 | ||
efc5f224 | 4570 | static PyObject *_wrap_glMapGrid2d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4571 | PyObject * _resultobj; |
4572 | GLint _arg0; | |
4573 | GLdouble _arg1; | |
4574 | GLdouble _arg2; | |
4575 | GLint _arg3; | |
4576 | GLdouble _arg4; | |
4577 | GLdouble _arg5; | |
efc5f224 | 4578 | char *_kwnames[] = { "un","u1","u2","vn","v1","v2", NULL }; |
325274bb RD |
4579 | |
4580 | self = self; | |
efc5f224 | 4581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iddidd:glMapGrid2d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) |
325274bb RD |
4582 | return NULL; |
4583 | { | |
4584 | wxPy_BEGIN_ALLOW_THREADS; | |
4585 | glMapGrid2d(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4586 | ||
4587 | wxPy_END_ALLOW_THREADS; | |
4588 | } Py_INCREF(Py_None); | |
4589 | _resultobj = Py_None; | |
4590 | return _resultobj; | |
4591 | } | |
4592 | ||
efc5f224 | 4593 | static PyObject *_wrap_glMapGrid2f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4594 | PyObject * _resultobj; |
4595 | GLint _arg0; | |
4596 | GLfloat _arg1; | |
4597 | GLfloat _arg2; | |
4598 | GLint _arg3; | |
4599 | GLfloat _arg4; | |
4600 | GLfloat _arg5; | |
efc5f224 | 4601 | char *_kwnames[] = { "un","u1","u2","vn","v1","v2", NULL }; |
325274bb RD |
4602 | |
4603 | self = self; | |
efc5f224 | 4604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iffiff:glMapGrid2f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) |
325274bb RD |
4605 | return NULL; |
4606 | { | |
4607 | wxPy_BEGIN_ALLOW_THREADS; | |
4608 | glMapGrid2f(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4609 | ||
4610 | wxPy_END_ALLOW_THREADS; | |
4611 | } Py_INCREF(Py_None); | |
4612 | _resultobj = Py_None; | |
4613 | return _resultobj; | |
4614 | } | |
4615 | ||
efc5f224 | 4616 | static PyObject *_wrap_glMaterialf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4617 | PyObject * _resultobj; |
4618 | GLenum _arg0; | |
4619 | GLenum _arg1; | |
4620 | GLfloat _arg2; | |
efc5f224 | 4621 | char *_kwnames[] = { "face","pname","param", NULL }; |
325274bb RD |
4622 | |
4623 | self = self; | |
efc5f224 | 4624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glMaterialf",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4625 | return NULL; |
4626 | { | |
4627 | wxPy_BEGIN_ALLOW_THREADS; | |
4628 | glMaterialf(_arg0,_arg1,_arg2); | |
4629 | ||
4630 | wxPy_END_ALLOW_THREADS; | |
4631 | } Py_INCREF(Py_None); | |
4632 | _resultobj = Py_None; | |
4633 | return _resultobj; | |
4634 | } | |
4635 | ||
efc5f224 | 4636 | static PyObject *_wrap_glMaterialfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4637 | PyObject * _resultobj; |
4638 | GLenum _arg0; | |
4639 | GLenum _arg1; | |
4640 | GLfloat * _arg2; | |
4641 | PyObject * _argo2 = 0; | |
efc5f224 | 4642 | char *_kwnames[] = { "face","pname","params", NULL }; |
325274bb RD |
4643 | |
4644 | self = self; | |
efc5f224 | 4645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glMaterialfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
4646 | return NULL; |
4647 | if (_argo2) { | |
4648 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4649 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
4650 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glMaterialfv. Expected _GLfloat_p."); | |
4651 | return NULL; | |
4652 | } | |
4653 | } | |
4654 | { | |
4655 | wxPy_BEGIN_ALLOW_THREADS; | |
4656 | glMaterialfv(_arg0,_arg1,_arg2); | |
4657 | ||
4658 | wxPy_END_ALLOW_THREADS; | |
4659 | } Py_INCREF(Py_None); | |
4660 | _resultobj = Py_None; | |
4661 | return _resultobj; | |
4662 | } | |
4663 | ||
efc5f224 | 4664 | static PyObject *_wrap_glMateriali(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4665 | PyObject * _resultobj; |
4666 | GLenum _arg0; | |
4667 | GLenum _arg1; | |
4668 | GLint _arg2; | |
efc5f224 | 4669 | char *_kwnames[] = { "face","pname","param", NULL }; |
325274bb RD |
4670 | |
4671 | self = self; | |
efc5f224 | 4672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glMateriali",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4673 | return NULL; |
4674 | { | |
4675 | wxPy_BEGIN_ALLOW_THREADS; | |
4676 | glMateriali(_arg0,_arg1,_arg2); | |
4677 | ||
4678 | wxPy_END_ALLOW_THREADS; | |
4679 | } Py_INCREF(Py_None); | |
4680 | _resultobj = Py_None; | |
4681 | return _resultobj; | |
4682 | } | |
4683 | ||
efc5f224 | 4684 | static PyObject *_wrap_glMaterialiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4685 | PyObject * _resultobj; |
4686 | GLenum _arg0; | |
4687 | GLenum _arg1; | |
4688 | GLint * _arg2; | |
4689 | PyObject * _argo2 = 0; | |
efc5f224 | 4690 | char *_kwnames[] = { "face","pname","params", NULL }; |
325274bb RD |
4691 | |
4692 | self = self; | |
efc5f224 | 4693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glMaterialiv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
4694 | return NULL; |
4695 | if (_argo2) { | |
4696 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4697 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
4698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glMaterialiv. Expected _GLint_p."); | |
4699 | return NULL; | |
4700 | } | |
4701 | } | |
4702 | { | |
4703 | wxPy_BEGIN_ALLOW_THREADS; | |
4704 | glMaterialiv(_arg0,_arg1,_arg2); | |
4705 | ||
4706 | wxPy_END_ALLOW_THREADS; | |
4707 | } Py_INCREF(Py_None); | |
4708 | _resultobj = Py_None; | |
4709 | return _resultobj; | |
4710 | } | |
4711 | ||
efc5f224 | 4712 | static PyObject *_wrap_glMatrixMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4713 | PyObject * _resultobj; |
4714 | GLenum _arg0; | |
efc5f224 | 4715 | char *_kwnames[] = { "mode", NULL }; |
325274bb RD |
4716 | |
4717 | self = self; | |
efc5f224 | 4718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glMatrixMode",_kwnames,&_arg0)) |
325274bb RD |
4719 | return NULL; |
4720 | { | |
4721 | wxPy_BEGIN_ALLOW_THREADS; | |
4722 | glMatrixMode(_arg0); | |
4723 | ||
4724 | wxPy_END_ALLOW_THREADS; | |
4725 | } Py_INCREF(Py_None); | |
4726 | _resultobj = Py_None; | |
4727 | return _resultobj; | |
4728 | } | |
4729 | ||
efc5f224 | 4730 | static PyObject *_wrap_glMultMatrixd(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4731 | PyObject * _resultobj; |
4732 | GLdouble * _arg0; | |
4733 | PyObject * _argo0 = 0; | |
efc5f224 | 4734 | char *_kwnames[] = { "m", NULL }; |
325274bb RD |
4735 | |
4736 | self = self; | |
efc5f224 | 4737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glMultMatrixd",_kwnames,&_argo0)) |
325274bb RD |
4738 | return NULL; |
4739 | if (_argo0) { | |
4740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
4742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glMultMatrixd. Expected _GLdouble_p."); | |
4743 | return NULL; | |
4744 | } | |
4745 | } | |
4746 | { | |
4747 | wxPy_BEGIN_ALLOW_THREADS; | |
4748 | glMultMatrixd(_arg0); | |
4749 | ||
4750 | wxPy_END_ALLOW_THREADS; | |
4751 | } Py_INCREF(Py_None); | |
4752 | _resultobj = Py_None; | |
4753 | return _resultobj; | |
4754 | } | |
4755 | ||
efc5f224 | 4756 | static PyObject *_wrap_glMultMatrixf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4757 | PyObject * _resultobj; |
4758 | GLfloat * _arg0; | |
4759 | PyObject * _argo0 = 0; | |
efc5f224 | 4760 | char *_kwnames[] = { "m", NULL }; |
325274bb RD |
4761 | |
4762 | self = self; | |
efc5f224 | 4763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glMultMatrixf",_kwnames,&_argo0)) |
325274bb RD |
4764 | return NULL; |
4765 | if (_argo0) { | |
4766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
4768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glMultMatrixf. Expected _GLfloat_p."); | |
4769 | return NULL; | |
4770 | } | |
4771 | } | |
4772 | { | |
4773 | wxPy_BEGIN_ALLOW_THREADS; | |
4774 | glMultMatrixf(_arg0); | |
4775 | ||
4776 | wxPy_END_ALLOW_THREADS; | |
4777 | } Py_INCREF(Py_None); | |
4778 | _resultobj = Py_None; | |
4779 | return _resultobj; | |
4780 | } | |
4781 | ||
efc5f224 | 4782 | static PyObject *_wrap_glNewList(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4783 | PyObject * _resultobj; |
4784 | GLuint _arg0; | |
4785 | GLenum _arg1; | |
efc5f224 | 4786 | char *_kwnames[] = { "list","mode", NULL }; |
325274bb RD |
4787 | |
4788 | self = self; | |
efc5f224 | 4789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glNewList",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
4790 | return NULL; |
4791 | { | |
4792 | wxPy_BEGIN_ALLOW_THREADS; | |
4793 | glNewList(_arg0,_arg1); | |
4794 | ||
4795 | wxPy_END_ALLOW_THREADS; | |
4796 | } Py_INCREF(Py_None); | |
4797 | _resultobj = Py_None; | |
4798 | return _resultobj; | |
4799 | } | |
4800 | ||
efc5f224 | 4801 | static PyObject *_wrap_glNormal3b(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4802 | PyObject * _resultobj; |
4803 | GLbyte _arg0; | |
4804 | GLbyte _arg1; | |
4805 | GLbyte _arg2; | |
efc5f224 | 4806 | char *_kwnames[] = { "nx","ny","nz", NULL }; |
325274bb RD |
4807 | |
4808 | self = self; | |
efc5f224 | 4809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"bbb:glNormal3b",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4810 | return NULL; |
4811 | { | |
4812 | wxPy_BEGIN_ALLOW_THREADS; | |
4813 | glNormal3b(_arg0,_arg1,_arg2); | |
4814 | ||
4815 | wxPy_END_ALLOW_THREADS; | |
4816 | } Py_INCREF(Py_None); | |
4817 | _resultobj = Py_None; | |
4818 | return _resultobj; | |
4819 | } | |
4820 | ||
efc5f224 | 4821 | static PyObject *_wrap_glNormal3bv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4822 | PyObject * _resultobj; |
4823 | GLbyte * _arg0; | |
4824 | PyObject * _argo0 = 0; | |
efc5f224 | 4825 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
4826 | |
4827 | self = self; | |
efc5f224 | 4828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3bv",_kwnames,&_argo0)) |
325274bb RD |
4829 | return NULL; |
4830 | if (_argo0) { | |
4831 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4832 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLbyte_p")) { | |
4833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3bv. Expected _GLbyte_p."); | |
4834 | return NULL; | |
4835 | } | |
4836 | } | |
4837 | { | |
4838 | wxPy_BEGIN_ALLOW_THREADS; | |
4839 | glNormal3bv(_arg0); | |
4840 | ||
4841 | wxPy_END_ALLOW_THREADS; | |
4842 | } Py_INCREF(Py_None); | |
4843 | _resultobj = Py_None; | |
4844 | return _resultobj; | |
4845 | } | |
4846 | ||
efc5f224 | 4847 | static PyObject *_wrap_glNormal3d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4848 | PyObject * _resultobj; |
4849 | GLdouble _arg0; | |
4850 | GLdouble _arg1; | |
4851 | GLdouble _arg2; | |
efc5f224 | 4852 | char *_kwnames[] = { "nx","ny","nz", NULL }; |
325274bb RD |
4853 | |
4854 | self = self; | |
efc5f224 | 4855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glNormal3d",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4856 | return NULL; |
4857 | { | |
4858 | wxPy_BEGIN_ALLOW_THREADS; | |
4859 | glNormal3d(_arg0,_arg1,_arg2); | |
4860 | ||
4861 | wxPy_END_ALLOW_THREADS; | |
4862 | } Py_INCREF(Py_None); | |
4863 | _resultobj = Py_None; | |
4864 | return _resultobj; | |
4865 | } | |
4866 | ||
efc5f224 | 4867 | static PyObject *_wrap_glNormal3dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4868 | PyObject * _resultobj; |
4869 | GLdouble * _arg0; | |
4870 | PyObject * _argo0 = 0; | |
efc5f224 | 4871 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
4872 | |
4873 | self = self; | |
efc5f224 | 4874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3dv",_kwnames,&_argo0)) |
325274bb RD |
4875 | return NULL; |
4876 | if (_argo0) { | |
4877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
4879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3dv. Expected _GLdouble_p."); | |
4880 | return NULL; | |
4881 | } | |
4882 | } | |
4883 | { | |
4884 | wxPy_BEGIN_ALLOW_THREADS; | |
4885 | glNormal3dv(_arg0); | |
4886 | ||
4887 | wxPy_END_ALLOW_THREADS; | |
4888 | } Py_INCREF(Py_None); | |
4889 | _resultobj = Py_None; | |
4890 | return _resultobj; | |
4891 | } | |
4892 | ||
efc5f224 | 4893 | static PyObject *_wrap_glNormal3f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4894 | PyObject * _resultobj; |
4895 | GLfloat _arg0; | |
4896 | GLfloat _arg1; | |
4897 | GLfloat _arg2; | |
efc5f224 | 4898 | char *_kwnames[] = { "nx","ny","nz", NULL }; |
325274bb RD |
4899 | |
4900 | self = self; | |
efc5f224 | 4901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glNormal3f",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4902 | return NULL; |
4903 | { | |
4904 | wxPy_BEGIN_ALLOW_THREADS; | |
4905 | glNormal3f(_arg0,_arg1,_arg2); | |
4906 | ||
4907 | wxPy_END_ALLOW_THREADS; | |
4908 | } Py_INCREF(Py_None); | |
4909 | _resultobj = Py_None; | |
4910 | return _resultobj; | |
4911 | } | |
4912 | ||
efc5f224 | 4913 | static PyObject *_wrap_glNormal3fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4914 | PyObject * _resultobj; |
4915 | GLfloat * _arg0; | |
4916 | PyObject * _argo0 = 0; | |
efc5f224 | 4917 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
4918 | |
4919 | self = self; | |
efc5f224 | 4920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3fv",_kwnames,&_argo0)) |
325274bb RD |
4921 | return NULL; |
4922 | if (_argo0) { | |
4923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
4925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3fv. Expected _GLfloat_p."); | |
4926 | return NULL; | |
4927 | } | |
4928 | } | |
4929 | { | |
4930 | wxPy_BEGIN_ALLOW_THREADS; | |
4931 | glNormal3fv(_arg0); | |
4932 | ||
4933 | wxPy_END_ALLOW_THREADS; | |
4934 | } Py_INCREF(Py_None); | |
4935 | _resultobj = Py_None; | |
4936 | return _resultobj; | |
4937 | } | |
4938 | ||
efc5f224 | 4939 | static PyObject *_wrap_glNormal3i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4940 | PyObject * _resultobj; |
4941 | GLint _arg0; | |
4942 | GLint _arg1; | |
4943 | GLint _arg2; | |
efc5f224 | 4944 | char *_kwnames[] = { "nx","ny","nz", NULL }; |
325274bb RD |
4945 | |
4946 | self = self; | |
efc5f224 | 4947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glNormal3i",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4948 | return NULL; |
4949 | { | |
4950 | wxPy_BEGIN_ALLOW_THREADS; | |
4951 | glNormal3i(_arg0,_arg1,_arg2); | |
4952 | ||
4953 | wxPy_END_ALLOW_THREADS; | |
4954 | } Py_INCREF(Py_None); | |
4955 | _resultobj = Py_None; | |
4956 | return _resultobj; | |
4957 | } | |
4958 | ||
efc5f224 | 4959 | static PyObject *_wrap_glNormal3iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4960 | PyObject * _resultobj; |
4961 | GLint * _arg0; | |
4962 | PyObject * _argo0 = 0; | |
efc5f224 | 4963 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
4964 | |
4965 | self = self; | |
efc5f224 | 4966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3iv",_kwnames,&_argo0)) |
325274bb RD |
4967 | return NULL; |
4968 | if (_argo0) { | |
4969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
4971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3iv. Expected _GLint_p."); | |
4972 | return NULL; | |
4973 | } | |
4974 | } | |
4975 | { | |
4976 | wxPy_BEGIN_ALLOW_THREADS; | |
4977 | glNormal3iv(_arg0); | |
4978 | ||
4979 | wxPy_END_ALLOW_THREADS; | |
4980 | } Py_INCREF(Py_None); | |
4981 | _resultobj = Py_None; | |
4982 | return _resultobj; | |
4983 | } | |
4984 | ||
efc5f224 | 4985 | static PyObject *_wrap_glNormal3s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4986 | PyObject * _resultobj; |
4987 | GLshort _arg0; | |
4988 | GLshort _arg1; | |
4989 | GLshort _arg2; | |
efc5f224 | 4990 | char *_kwnames[] = { "nx","ny","nz", NULL }; |
325274bb RD |
4991 | |
4992 | self = self; | |
efc5f224 | 4993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glNormal3s",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
4994 | return NULL; |
4995 | { | |
4996 | wxPy_BEGIN_ALLOW_THREADS; | |
4997 | glNormal3s(_arg0,_arg1,_arg2); | |
4998 | ||
4999 | wxPy_END_ALLOW_THREADS; | |
5000 | } Py_INCREF(Py_None); | |
5001 | _resultobj = Py_None; | |
5002 | return _resultobj; | |
5003 | } | |
5004 | ||
efc5f224 | 5005 | static PyObject *_wrap_glNormal3sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5006 | PyObject * _resultobj; |
5007 | GLshort * _arg0; | |
5008 | PyObject * _argo0 = 0; | |
efc5f224 | 5009 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5010 | |
5011 | self = self; | |
efc5f224 | 5012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glNormal3sv",_kwnames,&_argo0)) |
325274bb RD |
5013 | return NULL; |
5014 | if (_argo0) { | |
5015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
5017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glNormal3sv. Expected _GLshort_p."); | |
5018 | return NULL; | |
5019 | } | |
5020 | } | |
5021 | { | |
5022 | wxPy_BEGIN_ALLOW_THREADS; | |
5023 | glNormal3sv(_arg0); | |
5024 | ||
5025 | wxPy_END_ALLOW_THREADS; | |
5026 | } Py_INCREF(Py_None); | |
5027 | _resultobj = Py_None; | |
5028 | return _resultobj; | |
5029 | } | |
5030 | ||
efc5f224 | 5031 | static PyObject *_wrap_glNormalPointer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5032 | PyObject * _resultobj; |
5033 | GLenum _arg0; | |
5034 | GLsizei _arg1; | |
5035 | GLvoid * _arg2; | |
5036 | PyObject * _argo2 = 0; | |
efc5f224 | 5037 | char *_kwnames[] = { "type","stride","pointer", NULL }; |
325274bb RD |
5038 | |
5039 | self = self; | |
efc5f224 | 5040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glNormalPointer",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
5041 | return NULL; |
5042 | if (_argo2) { | |
5043 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5044 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
5045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glNormalPointer. Expected _GLvoid_p."); | |
5046 | return NULL; | |
5047 | } | |
5048 | } | |
5049 | { | |
5050 | wxPy_BEGIN_ALLOW_THREADS; | |
5051 | glNormalPointer(_arg0,_arg1,_arg2); | |
5052 | ||
5053 | wxPy_END_ALLOW_THREADS; | |
5054 | } Py_INCREF(Py_None); | |
5055 | _resultobj = Py_None; | |
5056 | return _resultobj; | |
5057 | } | |
5058 | ||
efc5f224 | 5059 | static PyObject *_wrap_glOrtho(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5060 | PyObject * _resultobj; |
5061 | GLdouble _arg0; | |
5062 | GLdouble _arg1; | |
5063 | GLdouble _arg2; | |
5064 | GLdouble _arg3; | |
5065 | GLdouble _arg4; | |
5066 | GLdouble _arg5; | |
efc5f224 | 5067 | char *_kwnames[] = { "left","right","bottom","top","zNear","zFar", NULL }; |
325274bb RD |
5068 | |
5069 | self = self; | |
efc5f224 | 5070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddddd:glOrtho",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) |
325274bb RD |
5071 | return NULL; |
5072 | { | |
5073 | wxPy_BEGIN_ALLOW_THREADS; | |
5074 | glOrtho(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5075 | ||
5076 | wxPy_END_ALLOW_THREADS; | |
5077 | } Py_INCREF(Py_None); | |
5078 | _resultobj = Py_None; | |
5079 | return _resultobj; | |
5080 | } | |
5081 | ||
efc5f224 | 5082 | static PyObject *_wrap_glPassThrough(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5083 | PyObject * _resultobj; |
5084 | GLfloat _arg0; | |
efc5f224 | 5085 | char *_kwnames[] = { "token", NULL }; |
325274bb RD |
5086 | |
5087 | self = self; | |
efc5f224 | 5088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glPassThrough",_kwnames,&_arg0)) |
325274bb RD |
5089 | return NULL; |
5090 | { | |
5091 | wxPy_BEGIN_ALLOW_THREADS; | |
5092 | glPassThrough(_arg0); | |
5093 | ||
5094 | wxPy_END_ALLOW_THREADS; | |
5095 | } Py_INCREF(Py_None); | |
5096 | _resultobj = Py_None; | |
5097 | return _resultobj; | |
5098 | } | |
5099 | ||
efc5f224 | 5100 | static PyObject *_wrap_glPixelMapfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5101 | PyObject * _resultobj; |
5102 | GLenum _arg0; | |
5103 | GLsizei _arg1; | |
5104 | GLfloat * _arg2; | |
5105 | PyObject * _argo2 = 0; | |
efc5f224 | 5106 | char *_kwnames[] = { "map","mapsize","values", NULL }; |
325274bb RD |
5107 | |
5108 | self = self; | |
efc5f224 | 5109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glPixelMapfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
5110 | return NULL; |
5111 | if (_argo2) { | |
5112 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5113 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
5114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapfv. Expected _GLfloat_p."); | |
5115 | return NULL; | |
5116 | } | |
5117 | } | |
5118 | { | |
5119 | wxPy_BEGIN_ALLOW_THREADS; | |
5120 | glPixelMapfv(_arg0,_arg1,_arg2); | |
5121 | ||
5122 | wxPy_END_ALLOW_THREADS; | |
5123 | } Py_INCREF(Py_None); | |
5124 | _resultobj = Py_None; | |
5125 | return _resultobj; | |
5126 | } | |
5127 | ||
efc5f224 | 5128 | static PyObject *_wrap_glPixelMapuiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5129 | PyObject * _resultobj; |
5130 | GLenum _arg0; | |
5131 | GLsizei _arg1; | |
5132 | GLuint * _arg2; | |
5133 | PyObject * _argo2 = 0; | |
efc5f224 | 5134 | char *_kwnames[] = { "map","mapsize","values", NULL }; |
325274bb RD |
5135 | |
5136 | self = self; | |
efc5f224 | 5137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glPixelMapuiv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
5138 | return NULL; |
5139 | if (_argo2) { | |
5140 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5141 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLuint_p")) { | |
5142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapuiv. Expected _GLuint_p."); | |
5143 | return NULL; | |
5144 | } | |
5145 | } | |
5146 | { | |
5147 | wxPy_BEGIN_ALLOW_THREADS; | |
5148 | glPixelMapuiv(_arg0,_arg1,_arg2); | |
5149 | ||
5150 | wxPy_END_ALLOW_THREADS; | |
5151 | } Py_INCREF(Py_None); | |
5152 | _resultobj = Py_None; | |
5153 | return _resultobj; | |
5154 | } | |
5155 | ||
efc5f224 | 5156 | static PyObject *_wrap_glPixelMapusv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5157 | PyObject * _resultobj; |
5158 | GLenum _arg0; | |
5159 | GLsizei _arg1; | |
5160 | GLushort * _arg2; | |
5161 | PyObject * _argo2 = 0; | |
efc5f224 | 5162 | char *_kwnames[] = { "map","mapsize","values", NULL }; |
325274bb RD |
5163 | |
5164 | self = self; | |
efc5f224 | 5165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glPixelMapusv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
5166 | return NULL; |
5167 | if (_argo2) { | |
5168 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5169 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLushort_p")) { | |
5170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPixelMapusv. Expected _GLushort_p."); | |
5171 | return NULL; | |
5172 | } | |
5173 | } | |
5174 | { | |
5175 | wxPy_BEGIN_ALLOW_THREADS; | |
5176 | glPixelMapusv(_arg0,_arg1,_arg2); | |
5177 | ||
5178 | wxPy_END_ALLOW_THREADS; | |
5179 | } Py_INCREF(Py_None); | |
5180 | _resultobj = Py_None; | |
5181 | return _resultobj; | |
5182 | } | |
5183 | ||
efc5f224 | 5184 | static PyObject *_wrap_glPixelStoref(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5185 | PyObject * _resultobj; |
5186 | GLenum _arg0; | |
5187 | GLfloat _arg1; | |
efc5f224 | 5188 | char *_kwnames[] = { "pname","param", NULL }; |
325274bb RD |
5189 | |
5190 | self = self; | |
efc5f224 | 5191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glPixelStoref",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5192 | return NULL; |
5193 | { | |
5194 | wxPy_BEGIN_ALLOW_THREADS; | |
5195 | glPixelStoref(_arg0,_arg1); | |
5196 | ||
5197 | wxPy_END_ALLOW_THREADS; | |
5198 | } Py_INCREF(Py_None); | |
5199 | _resultobj = Py_None; | |
5200 | return _resultobj; | |
5201 | } | |
5202 | ||
efc5f224 | 5203 | static PyObject *_wrap_glPixelStorei(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5204 | PyObject * _resultobj; |
5205 | GLenum _arg0; | |
5206 | GLint _arg1; | |
efc5f224 | 5207 | char *_kwnames[] = { "pname","param", NULL }; |
325274bb RD |
5208 | |
5209 | self = self; | |
efc5f224 | 5210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glPixelStorei",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5211 | return NULL; |
5212 | { | |
5213 | wxPy_BEGIN_ALLOW_THREADS; | |
5214 | glPixelStorei(_arg0,_arg1); | |
5215 | ||
5216 | wxPy_END_ALLOW_THREADS; | |
5217 | } Py_INCREF(Py_None); | |
5218 | _resultobj = Py_None; | |
5219 | return _resultobj; | |
5220 | } | |
5221 | ||
efc5f224 | 5222 | static PyObject *_wrap_glPixelTransferf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5223 | PyObject * _resultobj; |
5224 | GLenum _arg0; | |
5225 | GLfloat _arg1; | |
efc5f224 | 5226 | char *_kwnames[] = { "pname","param", NULL }; |
325274bb RD |
5227 | |
5228 | self = self; | |
efc5f224 | 5229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"if:glPixelTransferf",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5230 | return NULL; |
5231 | { | |
5232 | wxPy_BEGIN_ALLOW_THREADS; | |
5233 | glPixelTransferf(_arg0,_arg1); | |
5234 | ||
5235 | wxPy_END_ALLOW_THREADS; | |
5236 | } Py_INCREF(Py_None); | |
5237 | _resultobj = Py_None; | |
5238 | return _resultobj; | |
5239 | } | |
5240 | ||
efc5f224 | 5241 | static PyObject *_wrap_glPixelTransferi(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5242 | PyObject * _resultobj; |
5243 | GLenum _arg0; | |
5244 | GLint _arg1; | |
efc5f224 | 5245 | char *_kwnames[] = { "pname","param", NULL }; |
325274bb RD |
5246 | |
5247 | self = self; | |
efc5f224 | 5248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glPixelTransferi",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5249 | return NULL; |
5250 | { | |
5251 | wxPy_BEGIN_ALLOW_THREADS; | |
5252 | glPixelTransferi(_arg0,_arg1); | |
5253 | ||
5254 | wxPy_END_ALLOW_THREADS; | |
5255 | } Py_INCREF(Py_None); | |
5256 | _resultobj = Py_None; | |
5257 | return _resultobj; | |
5258 | } | |
5259 | ||
efc5f224 | 5260 | static PyObject *_wrap_glPixelZoom(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5261 | PyObject * _resultobj; |
5262 | GLfloat _arg0; | |
5263 | GLfloat _arg1; | |
efc5f224 | 5264 | char *_kwnames[] = { "xfactor","yfactor", NULL }; |
325274bb RD |
5265 | |
5266 | self = self; | |
efc5f224 | 5267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glPixelZoom",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5268 | return NULL; |
5269 | { | |
5270 | wxPy_BEGIN_ALLOW_THREADS; | |
5271 | glPixelZoom(_arg0,_arg1); | |
5272 | ||
5273 | wxPy_END_ALLOW_THREADS; | |
5274 | } Py_INCREF(Py_None); | |
5275 | _resultobj = Py_None; | |
5276 | return _resultobj; | |
5277 | } | |
5278 | ||
efc5f224 | 5279 | static PyObject *_wrap_glPointSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5280 | PyObject * _resultobj; |
5281 | GLfloat _arg0; | |
efc5f224 | 5282 | char *_kwnames[] = { "size", NULL }; |
325274bb RD |
5283 | |
5284 | self = self; | |
efc5f224 | 5285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glPointSize",_kwnames,&_arg0)) |
325274bb RD |
5286 | return NULL; |
5287 | { | |
5288 | wxPy_BEGIN_ALLOW_THREADS; | |
5289 | glPointSize(_arg0); | |
5290 | ||
5291 | wxPy_END_ALLOW_THREADS; | |
5292 | } Py_INCREF(Py_None); | |
5293 | _resultobj = Py_None; | |
5294 | return _resultobj; | |
5295 | } | |
5296 | ||
efc5f224 | 5297 | static PyObject *_wrap_glPolygonMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5298 | PyObject * _resultobj; |
5299 | GLenum _arg0; | |
5300 | GLenum _arg1; | |
efc5f224 | 5301 | char *_kwnames[] = { "face","mode", NULL }; |
325274bb RD |
5302 | |
5303 | self = self; | |
efc5f224 | 5304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glPolygonMode",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5305 | return NULL; |
5306 | { | |
5307 | wxPy_BEGIN_ALLOW_THREADS; | |
5308 | glPolygonMode(_arg0,_arg1); | |
5309 | ||
5310 | wxPy_END_ALLOW_THREADS; | |
5311 | } Py_INCREF(Py_None); | |
5312 | _resultobj = Py_None; | |
5313 | return _resultobj; | |
5314 | } | |
5315 | ||
efc5f224 | 5316 | static PyObject *_wrap_glPolygonOffset(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5317 | PyObject * _resultobj; |
5318 | GLfloat _arg0; | |
5319 | GLfloat _arg1; | |
efc5f224 | 5320 | char *_kwnames[] = { "factor","units", NULL }; |
325274bb RD |
5321 | |
5322 | self = self; | |
efc5f224 | 5323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glPolygonOffset",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5324 | return NULL; |
5325 | { | |
5326 | wxPy_BEGIN_ALLOW_THREADS; | |
5327 | glPolygonOffset(_arg0,_arg1); | |
5328 | ||
5329 | wxPy_END_ALLOW_THREADS; | |
5330 | } Py_INCREF(Py_None); | |
5331 | _resultobj = Py_None; | |
5332 | return _resultobj; | |
5333 | } | |
5334 | ||
efc5f224 | 5335 | static PyObject *_wrap_glPolygonStipple(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5336 | PyObject * _resultobj; |
5337 | GLubyte * _arg0; | |
5338 | PyObject * _argo0 = 0; | |
efc5f224 | 5339 | char *_kwnames[] = { "mask", NULL }; |
325274bb RD |
5340 | |
5341 | self = self; | |
efc5f224 | 5342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glPolygonStipple",_kwnames,&_argo0)) |
325274bb RD |
5343 | return NULL; |
5344 | if (_argo0) { | |
5345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLubyte_p")) { | |
5347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glPolygonStipple. Expected _GLubyte_p."); | |
5348 | return NULL; | |
5349 | } | |
5350 | } | |
5351 | { | |
5352 | wxPy_BEGIN_ALLOW_THREADS; | |
5353 | glPolygonStipple(_arg0); | |
5354 | ||
5355 | wxPy_END_ALLOW_THREADS; | |
5356 | } Py_INCREF(Py_None); | |
5357 | _resultobj = Py_None; | |
5358 | return _resultobj; | |
5359 | } | |
5360 | ||
efc5f224 | 5361 | static PyObject *_wrap_glPopAttrib(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 5362 | PyObject * _resultobj; |
efc5f224 | 5363 | char *_kwnames[] = { NULL }; |
325274bb RD |
5364 | |
5365 | self = self; | |
efc5f224 | 5366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPopAttrib",_kwnames)) |
325274bb RD |
5367 | return NULL; |
5368 | { | |
5369 | wxPy_BEGIN_ALLOW_THREADS; | |
5370 | glPopAttrib(); | |
5371 | ||
5372 | wxPy_END_ALLOW_THREADS; | |
5373 | } Py_INCREF(Py_None); | |
5374 | _resultobj = Py_None; | |
5375 | return _resultobj; | |
5376 | } | |
5377 | ||
efc5f224 | 5378 | static PyObject *_wrap_glPopClientAttrib(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 5379 | PyObject * _resultobj; |
efc5f224 | 5380 | char *_kwnames[] = { NULL }; |
325274bb RD |
5381 | |
5382 | self = self; | |
efc5f224 | 5383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPopClientAttrib",_kwnames)) |
325274bb RD |
5384 | return NULL; |
5385 | { | |
5386 | wxPy_BEGIN_ALLOW_THREADS; | |
5387 | glPopClientAttrib(); | |
5388 | ||
5389 | wxPy_END_ALLOW_THREADS; | |
5390 | } Py_INCREF(Py_None); | |
5391 | _resultobj = Py_None; | |
5392 | return _resultobj; | |
5393 | } | |
5394 | ||
efc5f224 | 5395 | static PyObject *_wrap_glPopMatrix(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 5396 | PyObject * _resultobj; |
efc5f224 | 5397 | char *_kwnames[] = { NULL }; |
325274bb RD |
5398 | |
5399 | self = self; | |
efc5f224 | 5400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPopMatrix",_kwnames)) |
325274bb RD |
5401 | return NULL; |
5402 | { | |
5403 | wxPy_BEGIN_ALLOW_THREADS; | |
5404 | glPopMatrix(); | |
5405 | ||
5406 | wxPy_END_ALLOW_THREADS; | |
5407 | } Py_INCREF(Py_None); | |
5408 | _resultobj = Py_None; | |
5409 | return _resultobj; | |
5410 | } | |
5411 | ||
efc5f224 | 5412 | static PyObject *_wrap_glPopName(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 5413 | PyObject * _resultobj; |
efc5f224 | 5414 | char *_kwnames[] = { NULL }; |
325274bb RD |
5415 | |
5416 | self = self; | |
efc5f224 | 5417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPopName",_kwnames)) |
325274bb RD |
5418 | return NULL; |
5419 | { | |
5420 | wxPy_BEGIN_ALLOW_THREADS; | |
5421 | glPopName(); | |
5422 | ||
5423 | wxPy_END_ALLOW_THREADS; | |
5424 | } Py_INCREF(Py_None); | |
5425 | _resultobj = Py_None; | |
5426 | return _resultobj; | |
5427 | } | |
5428 | ||
efc5f224 | 5429 | static PyObject *_wrap_glPrioritizeTextures(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5430 | PyObject * _resultobj; |
5431 | GLsizei _arg0; | |
5432 | GLuint * _arg1; | |
5433 | GLclampf * _arg2; | |
5434 | PyObject * _argo1 = 0; | |
5435 | PyObject * _argo2 = 0; | |
efc5f224 | 5436 | char *_kwnames[] = { "n","textures","priorities", NULL }; |
325274bb RD |
5437 | |
5438 | self = self; | |
efc5f224 | 5439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:glPrioritizeTextures",_kwnames,&_arg0,&_argo1,&_argo2)) |
325274bb RD |
5440 | return NULL; |
5441 | if (_argo1) { | |
5442 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5443 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
5444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glPrioritizeTextures. Expected _GLuint_p."); | |
5445 | return NULL; | |
5446 | } | |
5447 | } | |
5448 | if (_argo2) { | |
5449 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5450 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLclampf_p")) { | |
5451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glPrioritizeTextures. Expected _GLclampf_p."); | |
5452 | return NULL; | |
5453 | } | |
5454 | } | |
5455 | { | |
5456 | wxPy_BEGIN_ALLOW_THREADS; | |
5457 | glPrioritizeTextures(_arg0,_arg1,_arg2); | |
5458 | ||
5459 | wxPy_END_ALLOW_THREADS; | |
5460 | } Py_INCREF(Py_None); | |
5461 | _resultobj = Py_None; | |
5462 | return _resultobj; | |
5463 | } | |
5464 | ||
efc5f224 | 5465 | static PyObject *_wrap_glPushAttrib(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5466 | PyObject * _resultobj; |
5467 | GLbitfield _arg0; | |
efc5f224 | 5468 | char *_kwnames[] = { "mask", NULL }; |
325274bb RD |
5469 | |
5470 | self = self; | |
efc5f224 | 5471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glPushAttrib",_kwnames,&_arg0)) |
325274bb RD |
5472 | return NULL; |
5473 | { | |
5474 | wxPy_BEGIN_ALLOW_THREADS; | |
5475 | glPushAttrib(_arg0); | |
5476 | ||
5477 | wxPy_END_ALLOW_THREADS; | |
5478 | } Py_INCREF(Py_None); | |
5479 | _resultobj = Py_None; | |
5480 | return _resultobj; | |
5481 | } | |
5482 | ||
efc5f224 | 5483 | static PyObject *_wrap_glPushClientAttrib(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5484 | PyObject * _resultobj; |
5485 | GLbitfield _arg0; | |
efc5f224 | 5486 | char *_kwnames[] = { "mask", NULL }; |
325274bb RD |
5487 | |
5488 | self = self; | |
efc5f224 | 5489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glPushClientAttrib",_kwnames,&_arg0)) |
325274bb RD |
5490 | return NULL; |
5491 | { | |
5492 | wxPy_BEGIN_ALLOW_THREADS; | |
5493 | glPushClientAttrib(_arg0); | |
5494 | ||
5495 | wxPy_END_ALLOW_THREADS; | |
5496 | } Py_INCREF(Py_None); | |
5497 | _resultobj = Py_None; | |
5498 | return _resultobj; | |
5499 | } | |
5500 | ||
efc5f224 | 5501 | static PyObject *_wrap_glPushMatrix(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 5502 | PyObject * _resultobj; |
efc5f224 | 5503 | char *_kwnames[] = { NULL }; |
325274bb RD |
5504 | |
5505 | self = self; | |
efc5f224 | 5506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":glPushMatrix",_kwnames)) |
325274bb RD |
5507 | return NULL; |
5508 | { | |
5509 | wxPy_BEGIN_ALLOW_THREADS; | |
5510 | glPushMatrix(); | |
5511 | ||
5512 | wxPy_END_ALLOW_THREADS; | |
5513 | } Py_INCREF(Py_None); | |
5514 | _resultobj = Py_None; | |
5515 | return _resultobj; | |
5516 | } | |
5517 | ||
efc5f224 | 5518 | static PyObject *_wrap_glPushName(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5519 | PyObject * _resultobj; |
5520 | GLuint _arg0; | |
efc5f224 | 5521 | char *_kwnames[] = { "name", NULL }; |
325274bb RD |
5522 | |
5523 | self = self; | |
efc5f224 | 5524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glPushName",_kwnames,&_arg0)) |
325274bb RD |
5525 | return NULL; |
5526 | { | |
5527 | wxPy_BEGIN_ALLOW_THREADS; | |
5528 | glPushName(_arg0); | |
5529 | ||
5530 | wxPy_END_ALLOW_THREADS; | |
5531 | } Py_INCREF(Py_None); | |
5532 | _resultobj = Py_None; | |
5533 | return _resultobj; | |
5534 | } | |
5535 | ||
efc5f224 | 5536 | static PyObject *_wrap_glRasterPos2d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5537 | PyObject * _resultobj; |
5538 | GLdouble _arg0; | |
5539 | GLdouble _arg1; | |
efc5f224 | 5540 | char *_kwnames[] = { "x","y", NULL }; |
325274bb RD |
5541 | |
5542 | self = self; | |
efc5f224 | 5543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glRasterPos2d",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5544 | return NULL; |
5545 | { | |
5546 | wxPy_BEGIN_ALLOW_THREADS; | |
5547 | glRasterPos2d(_arg0,_arg1); | |
5548 | ||
5549 | wxPy_END_ALLOW_THREADS; | |
5550 | } Py_INCREF(Py_None); | |
5551 | _resultobj = Py_None; | |
5552 | return _resultobj; | |
5553 | } | |
5554 | ||
efc5f224 | 5555 | static PyObject *_wrap_glRasterPos2dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5556 | PyObject * _resultobj; |
5557 | GLdouble * _arg0; | |
5558 | PyObject * _argo0 = 0; | |
efc5f224 | 5559 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5560 | |
5561 | self = self; | |
efc5f224 | 5562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos2dv",_kwnames,&_argo0)) |
325274bb RD |
5563 | return NULL; |
5564 | if (_argo0) { | |
5565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
5567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2dv. Expected _GLdouble_p."); | |
5568 | return NULL; | |
5569 | } | |
5570 | } | |
5571 | { | |
5572 | wxPy_BEGIN_ALLOW_THREADS; | |
5573 | glRasterPos2dv(_arg0); | |
5574 | ||
5575 | wxPy_END_ALLOW_THREADS; | |
5576 | } Py_INCREF(Py_None); | |
5577 | _resultobj = Py_None; | |
5578 | return _resultobj; | |
5579 | } | |
5580 | ||
efc5f224 | 5581 | static PyObject *_wrap_glRasterPos2f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5582 | PyObject * _resultobj; |
5583 | GLfloat _arg0; | |
5584 | GLfloat _arg1; | |
efc5f224 | 5585 | char *_kwnames[] = { "x","y", NULL }; |
325274bb RD |
5586 | |
5587 | self = self; | |
efc5f224 | 5588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glRasterPos2f",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5589 | return NULL; |
5590 | { | |
5591 | wxPy_BEGIN_ALLOW_THREADS; | |
5592 | glRasterPos2f(_arg0,_arg1); | |
5593 | ||
5594 | wxPy_END_ALLOW_THREADS; | |
5595 | } Py_INCREF(Py_None); | |
5596 | _resultobj = Py_None; | |
5597 | return _resultobj; | |
5598 | } | |
5599 | ||
efc5f224 | 5600 | static PyObject *_wrap_glRasterPos2fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5601 | PyObject * _resultobj; |
5602 | GLfloat * _arg0; | |
5603 | PyObject * _argo0 = 0; | |
efc5f224 | 5604 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5605 | |
5606 | self = self; | |
efc5f224 | 5607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos2fv",_kwnames,&_argo0)) |
325274bb RD |
5608 | return NULL; |
5609 | if (_argo0) { | |
5610 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5611 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
5612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2fv. Expected _GLfloat_p."); | |
5613 | return NULL; | |
5614 | } | |
5615 | } | |
5616 | { | |
5617 | wxPy_BEGIN_ALLOW_THREADS; | |
5618 | glRasterPos2fv(_arg0); | |
5619 | ||
5620 | wxPy_END_ALLOW_THREADS; | |
5621 | } Py_INCREF(Py_None); | |
5622 | _resultobj = Py_None; | |
5623 | return _resultobj; | |
5624 | } | |
5625 | ||
efc5f224 | 5626 | static PyObject *_wrap_glRasterPos2i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5627 | PyObject * _resultobj; |
5628 | GLint _arg0; | |
5629 | GLint _arg1; | |
efc5f224 | 5630 | char *_kwnames[] = { "x","y", NULL }; |
325274bb RD |
5631 | |
5632 | self = self; | |
efc5f224 | 5633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glRasterPos2i",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5634 | return NULL; |
5635 | { | |
5636 | wxPy_BEGIN_ALLOW_THREADS; | |
5637 | glRasterPos2i(_arg0,_arg1); | |
5638 | ||
5639 | wxPy_END_ALLOW_THREADS; | |
5640 | } Py_INCREF(Py_None); | |
5641 | _resultobj = Py_None; | |
5642 | return _resultobj; | |
5643 | } | |
5644 | ||
efc5f224 | 5645 | static PyObject *_wrap_glRasterPos2iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5646 | PyObject * _resultobj; |
5647 | GLint * _arg0; | |
5648 | PyObject * _argo0 = 0; | |
efc5f224 | 5649 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5650 | |
5651 | self = self; | |
efc5f224 | 5652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos2iv",_kwnames,&_argo0)) |
325274bb RD |
5653 | return NULL; |
5654 | if (_argo0) { | |
5655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
5657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2iv. Expected _GLint_p."); | |
5658 | return NULL; | |
5659 | } | |
5660 | } | |
5661 | { | |
5662 | wxPy_BEGIN_ALLOW_THREADS; | |
5663 | glRasterPos2iv(_arg0); | |
5664 | ||
5665 | wxPy_END_ALLOW_THREADS; | |
5666 | } Py_INCREF(Py_None); | |
5667 | _resultobj = Py_None; | |
5668 | return _resultobj; | |
5669 | } | |
5670 | ||
efc5f224 | 5671 | static PyObject *_wrap_glRasterPos2s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5672 | PyObject * _resultobj; |
5673 | GLshort _arg0; | |
5674 | GLshort _arg1; | |
efc5f224 | 5675 | char *_kwnames[] = { "x","y", NULL }; |
325274bb RD |
5676 | |
5677 | self = self; | |
efc5f224 | 5678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hh:glRasterPos2s",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
5679 | return NULL; |
5680 | { | |
5681 | wxPy_BEGIN_ALLOW_THREADS; | |
5682 | glRasterPos2s(_arg0,_arg1); | |
5683 | ||
5684 | wxPy_END_ALLOW_THREADS; | |
5685 | } Py_INCREF(Py_None); | |
5686 | _resultobj = Py_None; | |
5687 | return _resultobj; | |
5688 | } | |
5689 | ||
efc5f224 | 5690 | static PyObject *_wrap_glRasterPos2sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5691 | PyObject * _resultobj; |
5692 | GLshort * _arg0; | |
5693 | PyObject * _argo0 = 0; | |
efc5f224 | 5694 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5695 | |
5696 | self = self; | |
efc5f224 | 5697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos2sv",_kwnames,&_argo0)) |
325274bb RD |
5698 | return NULL; |
5699 | if (_argo0) { | |
5700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
5702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos2sv. Expected _GLshort_p."); | |
5703 | return NULL; | |
5704 | } | |
5705 | } | |
5706 | { | |
5707 | wxPy_BEGIN_ALLOW_THREADS; | |
5708 | glRasterPos2sv(_arg0); | |
5709 | ||
5710 | wxPy_END_ALLOW_THREADS; | |
5711 | } Py_INCREF(Py_None); | |
5712 | _resultobj = Py_None; | |
5713 | return _resultobj; | |
5714 | } | |
5715 | ||
efc5f224 | 5716 | static PyObject *_wrap_glRasterPos3d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5717 | PyObject * _resultobj; |
5718 | GLdouble _arg0; | |
5719 | GLdouble _arg1; | |
5720 | GLdouble _arg2; | |
efc5f224 | 5721 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
5722 | |
5723 | self = self; | |
efc5f224 | 5724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glRasterPos3d",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
5725 | return NULL; |
5726 | { | |
5727 | wxPy_BEGIN_ALLOW_THREADS; | |
5728 | glRasterPos3d(_arg0,_arg1,_arg2); | |
5729 | ||
5730 | wxPy_END_ALLOW_THREADS; | |
5731 | } Py_INCREF(Py_None); | |
5732 | _resultobj = Py_None; | |
5733 | return _resultobj; | |
5734 | } | |
5735 | ||
efc5f224 | 5736 | static PyObject *_wrap_glRasterPos3dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5737 | PyObject * _resultobj; |
5738 | GLdouble * _arg0; | |
5739 | PyObject * _argo0 = 0; | |
efc5f224 | 5740 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5741 | |
5742 | self = self; | |
efc5f224 | 5743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos3dv",_kwnames,&_argo0)) |
325274bb RD |
5744 | return NULL; |
5745 | if (_argo0) { | |
5746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
5748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3dv. Expected _GLdouble_p."); | |
5749 | return NULL; | |
5750 | } | |
5751 | } | |
5752 | { | |
5753 | wxPy_BEGIN_ALLOW_THREADS; | |
5754 | glRasterPos3dv(_arg0); | |
5755 | ||
5756 | wxPy_END_ALLOW_THREADS; | |
5757 | } Py_INCREF(Py_None); | |
5758 | _resultobj = Py_None; | |
5759 | return _resultobj; | |
5760 | } | |
5761 | ||
efc5f224 | 5762 | static PyObject *_wrap_glRasterPos3f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5763 | PyObject * _resultobj; |
5764 | GLfloat _arg0; | |
5765 | GLfloat _arg1; | |
5766 | GLfloat _arg2; | |
efc5f224 | 5767 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
5768 | |
5769 | self = self; | |
efc5f224 | 5770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glRasterPos3f",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
5771 | return NULL; |
5772 | { | |
5773 | wxPy_BEGIN_ALLOW_THREADS; | |
5774 | glRasterPos3f(_arg0,_arg1,_arg2); | |
5775 | ||
5776 | wxPy_END_ALLOW_THREADS; | |
5777 | } Py_INCREF(Py_None); | |
5778 | _resultobj = Py_None; | |
5779 | return _resultobj; | |
5780 | } | |
5781 | ||
efc5f224 | 5782 | static PyObject *_wrap_glRasterPos3fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5783 | PyObject * _resultobj; |
5784 | GLfloat * _arg0; | |
5785 | PyObject * _argo0 = 0; | |
efc5f224 | 5786 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5787 | |
5788 | self = self; | |
efc5f224 | 5789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos3fv",_kwnames,&_argo0)) |
325274bb RD |
5790 | return NULL; |
5791 | if (_argo0) { | |
5792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
5794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3fv. Expected _GLfloat_p."); | |
5795 | return NULL; | |
5796 | } | |
5797 | } | |
5798 | { | |
5799 | wxPy_BEGIN_ALLOW_THREADS; | |
5800 | glRasterPos3fv(_arg0); | |
5801 | ||
5802 | wxPy_END_ALLOW_THREADS; | |
5803 | } Py_INCREF(Py_None); | |
5804 | _resultobj = Py_None; | |
5805 | return _resultobj; | |
5806 | } | |
5807 | ||
efc5f224 | 5808 | static PyObject *_wrap_glRasterPos3i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5809 | PyObject * _resultobj; |
5810 | GLint _arg0; | |
5811 | GLint _arg1; | |
5812 | GLint _arg2; | |
efc5f224 | 5813 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
5814 | |
5815 | self = self; | |
efc5f224 | 5816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glRasterPos3i",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
5817 | return NULL; |
5818 | { | |
5819 | wxPy_BEGIN_ALLOW_THREADS; | |
5820 | glRasterPos3i(_arg0,_arg1,_arg2); | |
5821 | ||
5822 | wxPy_END_ALLOW_THREADS; | |
5823 | } Py_INCREF(Py_None); | |
5824 | _resultobj = Py_None; | |
5825 | return _resultobj; | |
5826 | } | |
5827 | ||
efc5f224 | 5828 | static PyObject *_wrap_glRasterPos3iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5829 | PyObject * _resultobj; |
5830 | GLint * _arg0; | |
5831 | PyObject * _argo0 = 0; | |
efc5f224 | 5832 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5833 | |
5834 | self = self; | |
efc5f224 | 5835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos3iv",_kwnames,&_argo0)) |
325274bb RD |
5836 | return NULL; |
5837 | if (_argo0) { | |
5838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
5840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3iv. Expected _GLint_p."); | |
5841 | return NULL; | |
5842 | } | |
5843 | } | |
5844 | { | |
5845 | wxPy_BEGIN_ALLOW_THREADS; | |
5846 | glRasterPos3iv(_arg0); | |
5847 | ||
5848 | wxPy_END_ALLOW_THREADS; | |
5849 | } Py_INCREF(Py_None); | |
5850 | _resultobj = Py_None; | |
5851 | return _resultobj; | |
5852 | } | |
5853 | ||
efc5f224 | 5854 | static PyObject *_wrap_glRasterPos3s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5855 | PyObject * _resultobj; |
5856 | GLshort _arg0; | |
5857 | GLshort _arg1; | |
5858 | GLshort _arg2; | |
efc5f224 | 5859 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
5860 | |
5861 | self = self; | |
efc5f224 | 5862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glRasterPos3s",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
5863 | return NULL; |
5864 | { | |
5865 | wxPy_BEGIN_ALLOW_THREADS; | |
5866 | glRasterPos3s(_arg0,_arg1,_arg2); | |
5867 | ||
5868 | wxPy_END_ALLOW_THREADS; | |
5869 | } Py_INCREF(Py_None); | |
5870 | _resultobj = Py_None; | |
5871 | return _resultobj; | |
5872 | } | |
5873 | ||
efc5f224 | 5874 | static PyObject *_wrap_glRasterPos3sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5875 | PyObject * _resultobj; |
5876 | GLshort * _arg0; | |
5877 | PyObject * _argo0 = 0; | |
efc5f224 | 5878 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5879 | |
5880 | self = self; | |
efc5f224 | 5881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos3sv",_kwnames,&_argo0)) |
325274bb RD |
5882 | return NULL; |
5883 | if (_argo0) { | |
5884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
5886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos3sv. Expected _GLshort_p."); | |
5887 | return NULL; | |
5888 | } | |
5889 | } | |
5890 | { | |
5891 | wxPy_BEGIN_ALLOW_THREADS; | |
5892 | glRasterPos3sv(_arg0); | |
5893 | ||
5894 | wxPy_END_ALLOW_THREADS; | |
5895 | } Py_INCREF(Py_None); | |
5896 | _resultobj = Py_None; | |
5897 | return _resultobj; | |
5898 | } | |
5899 | ||
efc5f224 | 5900 | static PyObject *_wrap_glRasterPos4d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5901 | PyObject * _resultobj; |
5902 | GLdouble _arg0; | |
5903 | GLdouble _arg1; | |
5904 | GLdouble _arg2; | |
5905 | GLdouble _arg3; | |
efc5f224 | 5906 | char *_kwnames[] = { "x","y","z","w", NULL }; |
325274bb RD |
5907 | |
5908 | self = self; | |
efc5f224 | 5909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glRasterPos4d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
5910 | return NULL; |
5911 | { | |
5912 | wxPy_BEGIN_ALLOW_THREADS; | |
5913 | glRasterPos4d(_arg0,_arg1,_arg2,_arg3); | |
5914 | ||
5915 | wxPy_END_ALLOW_THREADS; | |
5916 | } Py_INCREF(Py_None); | |
5917 | _resultobj = Py_None; | |
5918 | return _resultobj; | |
5919 | } | |
5920 | ||
efc5f224 | 5921 | static PyObject *_wrap_glRasterPos4dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5922 | PyObject * _resultobj; |
5923 | GLdouble * _arg0; | |
5924 | PyObject * _argo0 = 0; | |
efc5f224 | 5925 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5926 | |
5927 | self = self; | |
efc5f224 | 5928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos4dv",_kwnames,&_argo0)) |
325274bb RD |
5929 | return NULL; |
5930 | if (_argo0) { | |
5931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
5933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4dv. Expected _GLdouble_p."); | |
5934 | return NULL; | |
5935 | } | |
5936 | } | |
5937 | { | |
5938 | wxPy_BEGIN_ALLOW_THREADS; | |
5939 | glRasterPos4dv(_arg0); | |
5940 | ||
5941 | wxPy_END_ALLOW_THREADS; | |
5942 | } Py_INCREF(Py_None); | |
5943 | _resultobj = Py_None; | |
5944 | return _resultobj; | |
5945 | } | |
5946 | ||
efc5f224 | 5947 | static PyObject *_wrap_glRasterPos4f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5948 | PyObject * _resultobj; |
5949 | GLfloat _arg0; | |
5950 | GLfloat _arg1; | |
5951 | GLfloat _arg2; | |
5952 | GLfloat _arg3; | |
efc5f224 | 5953 | char *_kwnames[] = { "x","y","z","w", NULL }; |
325274bb RD |
5954 | |
5955 | self = self; | |
efc5f224 | 5956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glRasterPos4f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
5957 | return NULL; |
5958 | { | |
5959 | wxPy_BEGIN_ALLOW_THREADS; | |
5960 | glRasterPos4f(_arg0,_arg1,_arg2,_arg3); | |
5961 | ||
5962 | wxPy_END_ALLOW_THREADS; | |
5963 | } Py_INCREF(Py_None); | |
5964 | _resultobj = Py_None; | |
5965 | return _resultobj; | |
5966 | } | |
5967 | ||
efc5f224 | 5968 | static PyObject *_wrap_glRasterPos4fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5969 | PyObject * _resultobj; |
5970 | GLfloat * _arg0; | |
5971 | PyObject * _argo0 = 0; | |
efc5f224 | 5972 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
5973 | |
5974 | self = self; | |
efc5f224 | 5975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos4fv",_kwnames,&_argo0)) |
325274bb RD |
5976 | return NULL; |
5977 | if (_argo0) { | |
5978 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5979 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
5980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4fv. Expected _GLfloat_p."); | |
5981 | return NULL; | |
5982 | } | |
5983 | } | |
5984 | { | |
5985 | wxPy_BEGIN_ALLOW_THREADS; | |
5986 | glRasterPos4fv(_arg0); | |
5987 | ||
5988 | wxPy_END_ALLOW_THREADS; | |
5989 | } Py_INCREF(Py_None); | |
5990 | _resultobj = Py_None; | |
5991 | return _resultobj; | |
5992 | } | |
5993 | ||
efc5f224 | 5994 | static PyObject *_wrap_glRasterPos4i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5995 | PyObject * _resultobj; |
5996 | GLint _arg0; | |
5997 | GLint _arg1; | |
5998 | GLint _arg2; | |
5999 | GLint _arg3; | |
efc5f224 | 6000 | char *_kwnames[] = { "x","y","z","w", NULL }; |
325274bb RD |
6001 | |
6002 | self = self; | |
efc5f224 | 6003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glRasterPos4i",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6004 | return NULL; |
6005 | { | |
6006 | wxPy_BEGIN_ALLOW_THREADS; | |
6007 | glRasterPos4i(_arg0,_arg1,_arg2,_arg3); | |
6008 | ||
6009 | wxPy_END_ALLOW_THREADS; | |
6010 | } Py_INCREF(Py_None); | |
6011 | _resultobj = Py_None; | |
6012 | return _resultobj; | |
6013 | } | |
6014 | ||
efc5f224 | 6015 | static PyObject *_wrap_glRasterPos4iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6016 | PyObject * _resultobj; |
6017 | GLint * _arg0; | |
6018 | PyObject * _argo0 = 0; | |
efc5f224 | 6019 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6020 | |
6021 | self = self; | |
efc5f224 | 6022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos4iv",_kwnames,&_argo0)) |
325274bb RD |
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 glRasterPos4iv. Expected _GLint_p."); | |
6028 | return NULL; | |
6029 | } | |
6030 | } | |
6031 | { | |
6032 | wxPy_BEGIN_ALLOW_THREADS; | |
6033 | glRasterPos4iv(_arg0); | |
6034 | ||
6035 | wxPy_END_ALLOW_THREADS; | |
6036 | } Py_INCREF(Py_None); | |
6037 | _resultobj = Py_None; | |
6038 | return _resultobj; | |
6039 | } | |
6040 | ||
efc5f224 | 6041 | static PyObject *_wrap_glRasterPos4s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6042 | PyObject * _resultobj; |
6043 | GLshort _arg0; | |
6044 | GLshort _arg1; | |
6045 | GLshort _arg2; | |
6046 | GLshort _arg3; | |
efc5f224 | 6047 | char *_kwnames[] = { "x","y","z","w", NULL }; |
325274bb RD |
6048 | |
6049 | self = self; | |
efc5f224 | 6050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glRasterPos4s",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6051 | return NULL; |
6052 | { | |
6053 | wxPy_BEGIN_ALLOW_THREADS; | |
6054 | glRasterPos4s(_arg0,_arg1,_arg2,_arg3); | |
6055 | ||
6056 | wxPy_END_ALLOW_THREADS; | |
6057 | } Py_INCREF(Py_None); | |
6058 | _resultobj = Py_None; | |
6059 | return _resultobj; | |
6060 | } | |
6061 | ||
efc5f224 | 6062 | static PyObject *_wrap_glRasterPos4sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6063 | PyObject * _resultobj; |
6064 | GLshort * _arg0; | |
6065 | PyObject * _argo0 = 0; | |
efc5f224 | 6066 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6067 | |
6068 | self = self; | |
efc5f224 | 6069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glRasterPos4sv",_kwnames,&_argo0)) |
325274bb RD |
6070 | return NULL; |
6071 | if (_argo0) { | |
6072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
6074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRasterPos4sv. Expected _GLshort_p."); | |
6075 | return NULL; | |
6076 | } | |
6077 | } | |
6078 | { | |
6079 | wxPy_BEGIN_ALLOW_THREADS; | |
6080 | glRasterPos4sv(_arg0); | |
6081 | ||
6082 | wxPy_END_ALLOW_THREADS; | |
6083 | } Py_INCREF(Py_None); | |
6084 | _resultobj = Py_None; | |
6085 | return _resultobj; | |
6086 | } | |
6087 | ||
efc5f224 | 6088 | static PyObject *_wrap_glReadBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6089 | PyObject * _resultobj; |
6090 | GLenum _arg0; | |
efc5f224 | 6091 | char *_kwnames[] = { "mode", NULL }; |
325274bb RD |
6092 | |
6093 | self = self; | |
efc5f224 | 6094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glReadBuffer",_kwnames,&_arg0)) |
325274bb RD |
6095 | return NULL; |
6096 | { | |
6097 | wxPy_BEGIN_ALLOW_THREADS; | |
6098 | glReadBuffer(_arg0); | |
6099 | ||
6100 | wxPy_END_ALLOW_THREADS; | |
6101 | } Py_INCREF(Py_None); | |
6102 | _resultobj = Py_None; | |
6103 | return _resultobj; | |
6104 | } | |
6105 | ||
efc5f224 | 6106 | static PyObject *_wrap_glReadPixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6107 | PyObject * _resultobj; |
6108 | GLint _arg0; | |
6109 | GLint _arg1; | |
6110 | GLsizei _arg2; | |
6111 | GLsizei _arg3; | |
6112 | GLenum _arg4; | |
6113 | GLenum _arg5; | |
6114 | GLvoid * _arg6; | |
6115 | PyObject * _argo6 = 0; | |
efc5f224 | 6116 | char *_kwnames[] = { "x","y","width","height","format","type","pixels", NULL }; |
325274bb RD |
6117 | |
6118 | self = self; | |
efc5f224 | 6119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiO:glReadPixels",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6)) |
325274bb RD |
6120 | return NULL; |
6121 | if (_argo6) { | |
6122 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6123 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,(char *) 0 )) { | |
6124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glReadPixels. Expected _GLvoid_p."); | |
6125 | return NULL; | |
6126 | } | |
6127 | } | |
6128 | { | |
6129 | wxPy_BEGIN_ALLOW_THREADS; | |
6130 | glReadPixels(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6131 | ||
6132 | wxPy_END_ALLOW_THREADS; | |
6133 | } Py_INCREF(Py_None); | |
6134 | _resultobj = Py_None; | |
6135 | return _resultobj; | |
6136 | } | |
6137 | ||
efc5f224 | 6138 | static PyObject *_wrap_glRectd(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6139 | PyObject * _resultobj; |
6140 | GLdouble _arg0; | |
6141 | GLdouble _arg1; | |
6142 | GLdouble _arg2; | |
6143 | GLdouble _arg3; | |
efc5f224 | 6144 | char *_kwnames[] = { "x1","y1","x2","y2", NULL }; |
325274bb RD |
6145 | |
6146 | self = self; | |
efc5f224 | 6147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glRectd",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6148 | return NULL; |
6149 | { | |
6150 | wxPy_BEGIN_ALLOW_THREADS; | |
6151 | glRectd(_arg0,_arg1,_arg2,_arg3); | |
6152 | ||
6153 | wxPy_END_ALLOW_THREADS; | |
6154 | } Py_INCREF(Py_None); | |
6155 | _resultobj = Py_None; | |
6156 | return _resultobj; | |
6157 | } | |
6158 | ||
efc5f224 | 6159 | static PyObject *_wrap_glRectdv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6160 | PyObject * _resultobj; |
6161 | GLdouble * _arg0; | |
6162 | GLdouble * _arg1; | |
6163 | PyObject * _argo0 = 0; | |
6164 | PyObject * _argo1 = 0; | |
efc5f224 | 6165 | char *_kwnames[] = { "v1","v2", NULL }; |
325274bb RD |
6166 | |
6167 | self = self; | |
efc5f224 | 6168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:glRectdv",_kwnames,&_argo0,&_argo1)) |
325274bb RD |
6169 | return NULL; |
6170 | if (_argo0) { | |
6171 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6172 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
6173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectdv. Expected _GLdouble_p."); | |
6174 | return NULL; | |
6175 | } | |
6176 | } | |
6177 | if (_argo1) { | |
6178 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6179 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLdouble_p")) { | |
6180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectdv. Expected _GLdouble_p."); | |
6181 | return NULL; | |
6182 | } | |
6183 | } | |
6184 | { | |
6185 | wxPy_BEGIN_ALLOW_THREADS; | |
6186 | glRectdv(_arg0,_arg1); | |
6187 | ||
6188 | wxPy_END_ALLOW_THREADS; | |
6189 | } Py_INCREF(Py_None); | |
6190 | _resultobj = Py_None; | |
6191 | return _resultobj; | |
6192 | } | |
6193 | ||
efc5f224 | 6194 | static PyObject *_wrap_glRectf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6195 | PyObject * _resultobj; |
6196 | GLfloat _arg0; | |
6197 | GLfloat _arg1; | |
6198 | GLfloat _arg2; | |
6199 | GLfloat _arg3; | |
efc5f224 | 6200 | char *_kwnames[] = { "x1","y1","x2","y2", NULL }; |
325274bb RD |
6201 | |
6202 | self = self; | |
efc5f224 | 6203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glRectf",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6204 | return NULL; |
6205 | { | |
6206 | wxPy_BEGIN_ALLOW_THREADS; | |
6207 | glRectf(_arg0,_arg1,_arg2,_arg3); | |
6208 | ||
6209 | wxPy_END_ALLOW_THREADS; | |
6210 | } Py_INCREF(Py_None); | |
6211 | _resultobj = Py_None; | |
6212 | return _resultobj; | |
6213 | } | |
6214 | ||
efc5f224 | 6215 | static PyObject *_wrap_glRectfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6216 | PyObject * _resultobj; |
6217 | GLfloat * _arg0; | |
6218 | GLfloat * _arg1; | |
6219 | PyObject * _argo0 = 0; | |
6220 | PyObject * _argo1 = 0; | |
efc5f224 | 6221 | char *_kwnames[] = { "v1","v2", NULL }; |
325274bb RD |
6222 | |
6223 | self = self; | |
efc5f224 | 6224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:glRectfv",_kwnames,&_argo0,&_argo1)) |
325274bb RD |
6225 | return NULL; |
6226 | if (_argo0) { | |
6227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
6229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectfv. Expected _GLfloat_p."); | |
6230 | return NULL; | |
6231 | } | |
6232 | } | |
6233 | if (_argo1) { | |
6234 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6235 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLfloat_p")) { | |
6236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectfv. Expected _GLfloat_p."); | |
6237 | return NULL; | |
6238 | } | |
6239 | } | |
6240 | { | |
6241 | wxPy_BEGIN_ALLOW_THREADS; | |
6242 | glRectfv(_arg0,_arg1); | |
6243 | ||
6244 | wxPy_END_ALLOW_THREADS; | |
6245 | } Py_INCREF(Py_None); | |
6246 | _resultobj = Py_None; | |
6247 | return _resultobj; | |
6248 | } | |
6249 | ||
efc5f224 | 6250 | static PyObject *_wrap_glRecti(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6251 | PyObject * _resultobj; |
6252 | GLint _arg0; | |
6253 | GLint _arg1; | |
6254 | GLint _arg2; | |
6255 | GLint _arg3; | |
efc5f224 | 6256 | char *_kwnames[] = { "x1","y1","x2","y2", NULL }; |
325274bb RD |
6257 | |
6258 | self = self; | |
efc5f224 | 6259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glRecti",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6260 | return NULL; |
6261 | { | |
6262 | wxPy_BEGIN_ALLOW_THREADS; | |
6263 | glRecti(_arg0,_arg1,_arg2,_arg3); | |
6264 | ||
6265 | wxPy_END_ALLOW_THREADS; | |
6266 | } Py_INCREF(Py_None); | |
6267 | _resultobj = Py_None; | |
6268 | return _resultobj; | |
6269 | } | |
6270 | ||
efc5f224 | 6271 | static PyObject *_wrap_glRectiv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6272 | PyObject * _resultobj; |
6273 | GLint * _arg0; | |
6274 | GLint * _arg1; | |
6275 | PyObject * _argo0 = 0; | |
6276 | PyObject * _argo1 = 0; | |
efc5f224 | 6277 | char *_kwnames[] = { "v1","v2", NULL }; |
325274bb RD |
6278 | |
6279 | self = self; | |
efc5f224 | 6280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:glRectiv",_kwnames,&_argo0,&_argo1)) |
325274bb RD |
6281 | return NULL; |
6282 | if (_argo0) { | |
6283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
6285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectiv. Expected _GLint_p."); | |
6286 | return NULL; | |
6287 | } | |
6288 | } | |
6289 | if (_argo1) { | |
6290 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6291 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLint_p")) { | |
6292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectiv. Expected _GLint_p."); | |
6293 | return NULL; | |
6294 | } | |
6295 | } | |
6296 | { | |
6297 | wxPy_BEGIN_ALLOW_THREADS; | |
6298 | glRectiv(_arg0,_arg1); | |
6299 | ||
6300 | wxPy_END_ALLOW_THREADS; | |
6301 | } Py_INCREF(Py_None); | |
6302 | _resultobj = Py_None; | |
6303 | return _resultobj; | |
6304 | } | |
6305 | ||
efc5f224 | 6306 | static PyObject *_wrap_glRects(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6307 | PyObject * _resultobj; |
6308 | GLshort _arg0; | |
6309 | GLshort _arg1; | |
6310 | GLshort _arg2; | |
6311 | GLshort _arg3; | |
efc5f224 | 6312 | char *_kwnames[] = { "x1","y1","x2","y2", NULL }; |
325274bb RD |
6313 | |
6314 | self = self; | |
efc5f224 | 6315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glRects",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6316 | return NULL; |
6317 | { | |
6318 | wxPy_BEGIN_ALLOW_THREADS; | |
6319 | glRects(_arg0,_arg1,_arg2,_arg3); | |
6320 | ||
6321 | wxPy_END_ALLOW_THREADS; | |
6322 | } Py_INCREF(Py_None); | |
6323 | _resultobj = Py_None; | |
6324 | return _resultobj; | |
6325 | } | |
6326 | ||
efc5f224 | 6327 | static PyObject *_wrap_glRectsv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6328 | PyObject * _resultobj; |
6329 | GLshort * _arg0; | |
6330 | GLshort * _arg1; | |
6331 | PyObject * _argo0 = 0; | |
6332 | PyObject * _argo1 = 0; | |
efc5f224 | 6333 | char *_kwnames[] = { "v1","v2", NULL }; |
325274bb RD |
6334 | |
6335 | self = self; | |
efc5f224 | 6336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:glRectsv",_kwnames,&_argo0,&_argo1)) |
325274bb RD |
6337 | return NULL; |
6338 | if (_argo0) { | |
6339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
6341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glRectsv. Expected _GLshort_p."); | |
6342 | return NULL; | |
6343 | } | |
6344 | } | |
6345 | if (_argo1) { | |
6346 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6347 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLshort_p")) { | |
6348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glRectsv. Expected _GLshort_p."); | |
6349 | return NULL; | |
6350 | } | |
6351 | } | |
6352 | { | |
6353 | wxPy_BEGIN_ALLOW_THREADS; | |
6354 | glRectsv(_arg0,_arg1); | |
6355 | ||
6356 | wxPy_END_ALLOW_THREADS; | |
6357 | } Py_INCREF(Py_None); | |
6358 | _resultobj = Py_None; | |
6359 | return _resultobj; | |
6360 | } | |
6361 | ||
efc5f224 | 6362 | static PyObject *_wrap_glRenderMode(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6363 | PyObject * _resultobj; |
6364 | GLint _result; | |
6365 | GLenum _arg0; | |
efc5f224 | 6366 | char *_kwnames[] = { "mode", NULL }; |
325274bb RD |
6367 | |
6368 | self = self; | |
efc5f224 | 6369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glRenderMode",_kwnames,&_arg0)) |
325274bb RD |
6370 | return NULL; |
6371 | { | |
6372 | wxPy_BEGIN_ALLOW_THREADS; | |
6373 | _result = (GLint )glRenderMode(_arg0); | |
6374 | ||
6375 | wxPy_END_ALLOW_THREADS; | |
6376 | } _resultobj = Py_BuildValue("i",_result); | |
6377 | return _resultobj; | |
6378 | } | |
6379 | ||
efc5f224 | 6380 | static PyObject *_wrap_glRotated(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6381 | PyObject * _resultobj; |
6382 | GLdouble _arg0; | |
6383 | GLdouble _arg1; | |
6384 | GLdouble _arg2; | |
6385 | GLdouble _arg3; | |
efc5f224 | 6386 | char *_kwnames[] = { "angle","x","y","z", NULL }; |
325274bb RD |
6387 | |
6388 | self = self; | |
efc5f224 | 6389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glRotated",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6390 | return NULL; |
6391 | { | |
6392 | wxPy_BEGIN_ALLOW_THREADS; | |
6393 | glRotated(_arg0,_arg1,_arg2,_arg3); | |
6394 | ||
6395 | wxPy_END_ALLOW_THREADS; | |
6396 | } Py_INCREF(Py_None); | |
6397 | _resultobj = Py_None; | |
6398 | return _resultobj; | |
6399 | } | |
6400 | ||
efc5f224 | 6401 | static PyObject *_wrap_glRotatef(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6402 | PyObject * _resultobj; |
6403 | GLfloat _arg0; | |
6404 | GLfloat _arg1; | |
6405 | GLfloat _arg2; | |
6406 | GLfloat _arg3; | |
efc5f224 | 6407 | char *_kwnames[] = { "angle","x","y","z", NULL }; |
325274bb RD |
6408 | |
6409 | self = self; | |
efc5f224 | 6410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glRotatef",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6411 | return NULL; |
6412 | { | |
6413 | wxPy_BEGIN_ALLOW_THREADS; | |
6414 | glRotatef(_arg0,_arg1,_arg2,_arg3); | |
6415 | ||
6416 | wxPy_END_ALLOW_THREADS; | |
6417 | } Py_INCREF(Py_None); | |
6418 | _resultobj = Py_None; | |
6419 | return _resultobj; | |
6420 | } | |
6421 | ||
efc5f224 | 6422 | static PyObject *_wrap_glScaled(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6423 | PyObject * _resultobj; |
6424 | GLdouble _arg0; | |
6425 | GLdouble _arg1; | |
6426 | GLdouble _arg2; | |
efc5f224 | 6427 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
6428 | |
6429 | self = self; | |
efc5f224 | 6430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glScaled",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
6431 | return NULL; |
6432 | { | |
6433 | wxPy_BEGIN_ALLOW_THREADS; | |
6434 | glScaled(_arg0,_arg1,_arg2); | |
6435 | ||
6436 | wxPy_END_ALLOW_THREADS; | |
6437 | } Py_INCREF(Py_None); | |
6438 | _resultobj = Py_None; | |
6439 | return _resultobj; | |
6440 | } | |
6441 | ||
efc5f224 | 6442 | static PyObject *_wrap_glScalef(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6443 | PyObject * _resultobj; |
6444 | GLfloat _arg0; | |
6445 | GLfloat _arg1; | |
6446 | GLfloat _arg2; | |
efc5f224 | 6447 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
6448 | |
6449 | self = self; | |
efc5f224 | 6450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glScalef",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
6451 | return NULL; |
6452 | { | |
6453 | wxPy_BEGIN_ALLOW_THREADS; | |
6454 | glScalef(_arg0,_arg1,_arg2); | |
6455 | ||
6456 | wxPy_END_ALLOW_THREADS; | |
6457 | } Py_INCREF(Py_None); | |
6458 | _resultobj = Py_None; | |
6459 | return _resultobj; | |
6460 | } | |
6461 | ||
efc5f224 | 6462 | static PyObject *_wrap_glScissor(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6463 | PyObject * _resultobj; |
6464 | GLint _arg0; | |
6465 | GLint _arg1; | |
6466 | GLsizei _arg2; | |
6467 | GLsizei _arg3; | |
efc5f224 | 6468 | char *_kwnames[] = { "x","y","width","height", NULL }; |
325274bb RD |
6469 | |
6470 | self = self; | |
efc5f224 | 6471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glScissor",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
6472 | return NULL; |
6473 | { | |
6474 | wxPy_BEGIN_ALLOW_THREADS; | |
6475 | glScissor(_arg0,_arg1,_arg2,_arg3); | |
6476 | ||
6477 | wxPy_END_ALLOW_THREADS; | |
6478 | } Py_INCREF(Py_None); | |
6479 | _resultobj = Py_None; | |
6480 | return _resultobj; | |
6481 | } | |
6482 | ||
efc5f224 | 6483 | static PyObject *_wrap_glSelectBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6484 | PyObject * _resultobj; |
6485 | GLsizei _arg0; | |
6486 | GLuint * _arg1; | |
6487 | PyObject * _argo1 = 0; | |
efc5f224 | 6488 | char *_kwnames[] = { "size","buffer", NULL }; |
325274bb RD |
6489 | |
6490 | self = self; | |
efc5f224 | 6491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO:glSelectBuffer",_kwnames,&_arg0,&_argo1)) |
325274bb RD |
6492 | return NULL; |
6493 | if (_argo1) { | |
6494 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6495 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_GLuint_p")) { | |
6496 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of glSelectBuffer. Expected _GLuint_p."); | |
6497 | return NULL; | |
6498 | } | |
6499 | } | |
6500 | { | |
6501 | wxPy_BEGIN_ALLOW_THREADS; | |
6502 | glSelectBuffer(_arg0,_arg1); | |
6503 | ||
6504 | wxPy_END_ALLOW_THREADS; | |
6505 | } Py_INCREF(Py_None); | |
6506 | _resultobj = Py_None; | |
6507 | return _resultobj; | |
6508 | } | |
6509 | ||
efc5f224 | 6510 | static PyObject *_wrap_glShadeModel(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6511 | PyObject * _resultobj; |
6512 | GLenum _arg0; | |
efc5f224 | 6513 | char *_kwnames[] = { "mode", NULL }; |
325274bb RD |
6514 | |
6515 | self = self; | |
efc5f224 | 6516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glShadeModel",_kwnames,&_arg0)) |
325274bb RD |
6517 | return NULL; |
6518 | { | |
6519 | wxPy_BEGIN_ALLOW_THREADS; | |
6520 | glShadeModel(_arg0); | |
6521 | ||
6522 | wxPy_END_ALLOW_THREADS; | |
6523 | } Py_INCREF(Py_None); | |
6524 | _resultobj = Py_None; | |
6525 | return _resultobj; | |
6526 | } | |
6527 | ||
efc5f224 | 6528 | static PyObject *_wrap_glStencilFunc(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6529 | PyObject * _resultobj; |
6530 | GLenum _arg0; | |
6531 | GLint _arg1; | |
6532 | GLuint _arg2; | |
efc5f224 | 6533 | char *_kwnames[] = { "func","ref","mask", NULL }; |
325274bb RD |
6534 | |
6535 | self = self; | |
efc5f224 | 6536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glStencilFunc",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
6537 | return NULL; |
6538 | { | |
6539 | wxPy_BEGIN_ALLOW_THREADS; | |
6540 | glStencilFunc(_arg0,_arg1,_arg2); | |
6541 | ||
6542 | wxPy_END_ALLOW_THREADS; | |
6543 | } Py_INCREF(Py_None); | |
6544 | _resultobj = Py_None; | |
6545 | return _resultobj; | |
6546 | } | |
6547 | ||
efc5f224 | 6548 | static PyObject *_wrap_glStencilMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6549 | PyObject * _resultobj; |
6550 | GLuint _arg0; | |
efc5f224 | 6551 | char *_kwnames[] = { "mask", NULL }; |
325274bb RD |
6552 | |
6553 | self = self; | |
efc5f224 | 6554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glStencilMask",_kwnames,&_arg0)) |
325274bb RD |
6555 | return NULL; |
6556 | { | |
6557 | wxPy_BEGIN_ALLOW_THREADS; | |
6558 | glStencilMask(_arg0); | |
6559 | ||
6560 | wxPy_END_ALLOW_THREADS; | |
6561 | } Py_INCREF(Py_None); | |
6562 | _resultobj = Py_None; | |
6563 | return _resultobj; | |
6564 | } | |
6565 | ||
efc5f224 | 6566 | static PyObject *_wrap_glStencilOp(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6567 | PyObject * _resultobj; |
6568 | GLenum _arg0; | |
6569 | GLenum _arg1; | |
6570 | GLenum _arg2; | |
efc5f224 | 6571 | char *_kwnames[] = { "fail","zfail","zpass", NULL }; |
325274bb RD |
6572 | |
6573 | self = self; | |
efc5f224 | 6574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glStencilOp",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
6575 | return NULL; |
6576 | { | |
6577 | wxPy_BEGIN_ALLOW_THREADS; | |
6578 | glStencilOp(_arg0,_arg1,_arg2); | |
6579 | ||
6580 | wxPy_END_ALLOW_THREADS; | |
6581 | } Py_INCREF(Py_None); | |
6582 | _resultobj = Py_None; | |
6583 | return _resultobj; | |
6584 | } | |
6585 | ||
efc5f224 | 6586 | static PyObject *_wrap_glTexCoord1d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6587 | PyObject * _resultobj; |
6588 | GLdouble _arg0; | |
efc5f224 | 6589 | char *_kwnames[] = { "s", NULL }; |
325274bb RD |
6590 | |
6591 | self = self; | |
efc5f224 | 6592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"d:glTexCoord1d",_kwnames,&_arg0)) |
325274bb RD |
6593 | return NULL; |
6594 | { | |
6595 | wxPy_BEGIN_ALLOW_THREADS; | |
6596 | glTexCoord1d(_arg0); | |
6597 | ||
6598 | wxPy_END_ALLOW_THREADS; | |
6599 | } Py_INCREF(Py_None); | |
6600 | _resultobj = Py_None; | |
6601 | return _resultobj; | |
6602 | } | |
6603 | ||
efc5f224 | 6604 | static PyObject *_wrap_glTexCoord1dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6605 | PyObject * _resultobj; |
6606 | GLdouble * _arg0; | |
6607 | PyObject * _argo0 = 0; | |
efc5f224 | 6608 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6609 | |
6610 | self = self; | |
efc5f224 | 6611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord1dv",_kwnames,&_argo0)) |
325274bb RD |
6612 | return NULL; |
6613 | if (_argo0) { | |
6614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
6616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1dv. Expected _GLdouble_p."); | |
6617 | return NULL; | |
6618 | } | |
6619 | } | |
6620 | { | |
6621 | wxPy_BEGIN_ALLOW_THREADS; | |
6622 | glTexCoord1dv(_arg0); | |
6623 | ||
6624 | wxPy_END_ALLOW_THREADS; | |
6625 | } Py_INCREF(Py_None); | |
6626 | _resultobj = Py_None; | |
6627 | return _resultobj; | |
6628 | } | |
6629 | ||
efc5f224 | 6630 | static PyObject *_wrap_glTexCoord1f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6631 | PyObject * _resultobj; |
6632 | GLfloat _arg0; | |
efc5f224 | 6633 | char *_kwnames[] = { "s", NULL }; |
325274bb RD |
6634 | |
6635 | self = self; | |
efc5f224 | 6636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"f:glTexCoord1f",_kwnames,&_arg0)) |
325274bb RD |
6637 | return NULL; |
6638 | { | |
6639 | wxPy_BEGIN_ALLOW_THREADS; | |
6640 | glTexCoord1f(_arg0); | |
6641 | ||
6642 | wxPy_END_ALLOW_THREADS; | |
6643 | } Py_INCREF(Py_None); | |
6644 | _resultobj = Py_None; | |
6645 | return _resultobj; | |
6646 | } | |
6647 | ||
efc5f224 | 6648 | static PyObject *_wrap_glTexCoord1fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6649 | PyObject * _resultobj; |
6650 | GLfloat * _arg0; | |
6651 | PyObject * _argo0 = 0; | |
efc5f224 | 6652 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6653 | |
6654 | self = self; | |
efc5f224 | 6655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord1fv",_kwnames,&_argo0)) |
325274bb RD |
6656 | return NULL; |
6657 | if (_argo0) { | |
6658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
6660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1fv. Expected _GLfloat_p."); | |
6661 | return NULL; | |
6662 | } | |
6663 | } | |
6664 | { | |
6665 | wxPy_BEGIN_ALLOW_THREADS; | |
6666 | glTexCoord1fv(_arg0); | |
6667 | ||
6668 | wxPy_END_ALLOW_THREADS; | |
6669 | } Py_INCREF(Py_None); | |
6670 | _resultobj = Py_None; | |
6671 | return _resultobj; | |
6672 | } | |
6673 | ||
efc5f224 | 6674 | static PyObject *_wrap_glTexCoord1i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6675 | PyObject * _resultobj; |
6676 | GLint _arg0; | |
efc5f224 | 6677 | char *_kwnames[] = { "s", NULL }; |
325274bb RD |
6678 | |
6679 | self = self; | |
efc5f224 | 6680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:glTexCoord1i",_kwnames,&_arg0)) |
325274bb RD |
6681 | return NULL; |
6682 | { | |
6683 | wxPy_BEGIN_ALLOW_THREADS; | |
6684 | glTexCoord1i(_arg0); | |
6685 | ||
6686 | wxPy_END_ALLOW_THREADS; | |
6687 | } Py_INCREF(Py_None); | |
6688 | _resultobj = Py_None; | |
6689 | return _resultobj; | |
6690 | } | |
6691 | ||
efc5f224 | 6692 | static PyObject *_wrap_glTexCoord1iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6693 | PyObject * _resultobj; |
6694 | GLint * _arg0; | |
6695 | PyObject * _argo0 = 0; | |
efc5f224 | 6696 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6697 | |
6698 | self = self; | |
efc5f224 | 6699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord1iv",_kwnames,&_argo0)) |
325274bb RD |
6700 | return NULL; |
6701 | if (_argo0) { | |
6702 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6703 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
6704 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1iv. Expected _GLint_p."); | |
6705 | return NULL; | |
6706 | } | |
6707 | } | |
6708 | { | |
6709 | wxPy_BEGIN_ALLOW_THREADS; | |
6710 | glTexCoord1iv(_arg0); | |
6711 | ||
6712 | wxPy_END_ALLOW_THREADS; | |
6713 | } Py_INCREF(Py_None); | |
6714 | _resultobj = Py_None; | |
6715 | return _resultobj; | |
6716 | } | |
6717 | ||
efc5f224 | 6718 | static PyObject *_wrap_glTexCoord1s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6719 | PyObject * _resultobj; |
6720 | GLshort _arg0; | |
efc5f224 | 6721 | char *_kwnames[] = { "s", NULL }; |
325274bb RD |
6722 | |
6723 | self = self; | |
efc5f224 | 6724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"h:glTexCoord1s",_kwnames,&_arg0)) |
325274bb RD |
6725 | return NULL; |
6726 | { | |
6727 | wxPy_BEGIN_ALLOW_THREADS; | |
6728 | glTexCoord1s(_arg0); | |
6729 | ||
6730 | wxPy_END_ALLOW_THREADS; | |
6731 | } Py_INCREF(Py_None); | |
6732 | _resultobj = Py_None; | |
6733 | return _resultobj; | |
6734 | } | |
6735 | ||
efc5f224 | 6736 | static PyObject *_wrap_glTexCoord1sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6737 | PyObject * _resultobj; |
6738 | GLshort * _arg0; | |
6739 | PyObject * _argo0 = 0; | |
efc5f224 | 6740 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6741 | |
6742 | self = self; | |
efc5f224 | 6743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord1sv",_kwnames,&_argo0)) |
325274bb RD |
6744 | return NULL; |
6745 | if (_argo0) { | |
6746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
6748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord1sv. Expected _GLshort_p."); | |
6749 | return NULL; | |
6750 | } | |
6751 | } | |
6752 | { | |
6753 | wxPy_BEGIN_ALLOW_THREADS; | |
6754 | glTexCoord1sv(_arg0); | |
6755 | ||
6756 | wxPy_END_ALLOW_THREADS; | |
6757 | } Py_INCREF(Py_None); | |
6758 | _resultobj = Py_None; | |
6759 | return _resultobj; | |
6760 | } | |
6761 | ||
efc5f224 | 6762 | static PyObject *_wrap_glTexCoord2d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6763 | PyObject * _resultobj; |
6764 | GLdouble _arg0; | |
6765 | GLdouble _arg1; | |
efc5f224 | 6766 | char *_kwnames[] = { "s","t", NULL }; |
325274bb RD |
6767 | |
6768 | self = self; | |
efc5f224 | 6769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glTexCoord2d",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
6770 | return NULL; |
6771 | { | |
6772 | wxPy_BEGIN_ALLOW_THREADS; | |
6773 | glTexCoord2d(_arg0,_arg1); | |
6774 | ||
6775 | wxPy_END_ALLOW_THREADS; | |
6776 | } Py_INCREF(Py_None); | |
6777 | _resultobj = Py_None; | |
6778 | return _resultobj; | |
6779 | } | |
6780 | ||
efc5f224 | 6781 | static PyObject *_wrap_glTexCoord2dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6782 | PyObject * _resultobj; |
6783 | GLdouble * _arg0; | |
6784 | PyObject * _argo0 = 0; | |
efc5f224 | 6785 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6786 | |
6787 | self = self; | |
efc5f224 | 6788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord2dv",_kwnames,&_argo0)) |
325274bb RD |
6789 | return NULL; |
6790 | if (_argo0) { | |
6791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
6793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2dv. Expected _GLdouble_p."); | |
6794 | return NULL; | |
6795 | } | |
6796 | } | |
6797 | { | |
6798 | wxPy_BEGIN_ALLOW_THREADS; | |
6799 | glTexCoord2dv(_arg0); | |
6800 | ||
6801 | wxPy_END_ALLOW_THREADS; | |
6802 | } Py_INCREF(Py_None); | |
6803 | _resultobj = Py_None; | |
6804 | return _resultobj; | |
6805 | } | |
6806 | ||
efc5f224 | 6807 | static PyObject *_wrap_glTexCoord2f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6808 | PyObject * _resultobj; |
6809 | GLfloat _arg0; | |
6810 | GLfloat _arg1; | |
efc5f224 | 6811 | char *_kwnames[] = { "s","t", NULL }; |
325274bb RD |
6812 | |
6813 | self = self; | |
efc5f224 | 6814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glTexCoord2f",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
6815 | return NULL; |
6816 | { | |
6817 | wxPy_BEGIN_ALLOW_THREADS; | |
6818 | glTexCoord2f(_arg0,_arg1); | |
6819 | ||
6820 | wxPy_END_ALLOW_THREADS; | |
6821 | } Py_INCREF(Py_None); | |
6822 | _resultobj = Py_None; | |
6823 | return _resultobj; | |
6824 | } | |
6825 | ||
efc5f224 | 6826 | static PyObject *_wrap_glTexCoord2fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6827 | PyObject * _resultobj; |
6828 | GLfloat * _arg0; | |
6829 | PyObject * _argo0 = 0; | |
efc5f224 | 6830 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6831 | |
6832 | self = self; | |
efc5f224 | 6833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord2fv",_kwnames,&_argo0)) |
325274bb RD |
6834 | return NULL; |
6835 | if (_argo0) { | |
6836 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6837 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
6838 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2fv. Expected _GLfloat_p."); | |
6839 | return NULL; | |
6840 | } | |
6841 | } | |
6842 | { | |
6843 | wxPy_BEGIN_ALLOW_THREADS; | |
6844 | glTexCoord2fv(_arg0); | |
6845 | ||
6846 | wxPy_END_ALLOW_THREADS; | |
6847 | } Py_INCREF(Py_None); | |
6848 | _resultobj = Py_None; | |
6849 | return _resultobj; | |
6850 | } | |
6851 | ||
efc5f224 | 6852 | static PyObject *_wrap_glTexCoord2i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6853 | PyObject * _resultobj; |
6854 | GLint _arg0; | |
6855 | GLint _arg1; | |
efc5f224 | 6856 | char *_kwnames[] = { "s","t", NULL }; |
325274bb RD |
6857 | |
6858 | self = self; | |
efc5f224 | 6859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glTexCoord2i",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
6860 | return NULL; |
6861 | { | |
6862 | wxPy_BEGIN_ALLOW_THREADS; | |
6863 | glTexCoord2i(_arg0,_arg1); | |
6864 | ||
6865 | wxPy_END_ALLOW_THREADS; | |
6866 | } Py_INCREF(Py_None); | |
6867 | _resultobj = Py_None; | |
6868 | return _resultobj; | |
6869 | } | |
6870 | ||
efc5f224 | 6871 | static PyObject *_wrap_glTexCoord2iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6872 | PyObject * _resultobj; |
6873 | GLint * _arg0; | |
6874 | PyObject * _argo0 = 0; | |
efc5f224 | 6875 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6876 | |
6877 | self = self; | |
efc5f224 | 6878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord2iv",_kwnames,&_argo0)) |
325274bb RD |
6879 | return NULL; |
6880 | if (_argo0) { | |
6881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
6883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2iv. Expected _GLint_p."); | |
6884 | return NULL; | |
6885 | } | |
6886 | } | |
6887 | { | |
6888 | wxPy_BEGIN_ALLOW_THREADS; | |
6889 | glTexCoord2iv(_arg0); | |
6890 | ||
6891 | wxPy_END_ALLOW_THREADS; | |
6892 | } Py_INCREF(Py_None); | |
6893 | _resultobj = Py_None; | |
6894 | return _resultobj; | |
6895 | } | |
6896 | ||
efc5f224 | 6897 | static PyObject *_wrap_glTexCoord2s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6898 | PyObject * _resultobj; |
6899 | GLshort _arg0; | |
6900 | GLshort _arg1; | |
efc5f224 | 6901 | char *_kwnames[] = { "s","t", NULL }; |
325274bb RD |
6902 | |
6903 | self = self; | |
efc5f224 | 6904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hh:glTexCoord2s",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
6905 | return NULL; |
6906 | { | |
6907 | wxPy_BEGIN_ALLOW_THREADS; | |
6908 | glTexCoord2s(_arg0,_arg1); | |
6909 | ||
6910 | wxPy_END_ALLOW_THREADS; | |
6911 | } Py_INCREF(Py_None); | |
6912 | _resultobj = Py_None; | |
6913 | return _resultobj; | |
6914 | } | |
6915 | ||
efc5f224 | 6916 | static PyObject *_wrap_glTexCoord2sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6917 | PyObject * _resultobj; |
6918 | GLshort * _arg0; | |
6919 | PyObject * _argo0 = 0; | |
efc5f224 | 6920 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6921 | |
6922 | self = self; | |
efc5f224 | 6923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord2sv",_kwnames,&_argo0)) |
325274bb RD |
6924 | return NULL; |
6925 | if (_argo0) { | |
6926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
6928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord2sv. Expected _GLshort_p."); | |
6929 | return NULL; | |
6930 | } | |
6931 | } | |
6932 | { | |
6933 | wxPy_BEGIN_ALLOW_THREADS; | |
6934 | glTexCoord2sv(_arg0); | |
6935 | ||
6936 | wxPy_END_ALLOW_THREADS; | |
6937 | } Py_INCREF(Py_None); | |
6938 | _resultobj = Py_None; | |
6939 | return _resultobj; | |
6940 | } | |
6941 | ||
efc5f224 | 6942 | static PyObject *_wrap_glTexCoord3d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6943 | PyObject * _resultobj; |
6944 | GLdouble _arg0; | |
6945 | GLdouble _arg1; | |
6946 | GLdouble _arg2; | |
efc5f224 | 6947 | char *_kwnames[] = { "s","t","r", NULL }; |
325274bb RD |
6948 | |
6949 | self = self; | |
efc5f224 | 6950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glTexCoord3d",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
6951 | return NULL; |
6952 | { | |
6953 | wxPy_BEGIN_ALLOW_THREADS; | |
6954 | glTexCoord3d(_arg0,_arg1,_arg2); | |
6955 | ||
6956 | wxPy_END_ALLOW_THREADS; | |
6957 | } Py_INCREF(Py_None); | |
6958 | _resultobj = Py_None; | |
6959 | return _resultobj; | |
6960 | } | |
6961 | ||
efc5f224 | 6962 | static PyObject *_wrap_glTexCoord3dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6963 | PyObject * _resultobj; |
6964 | GLdouble * _arg0; | |
6965 | PyObject * _argo0 = 0; | |
efc5f224 | 6966 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
6967 | |
6968 | self = self; | |
efc5f224 | 6969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord3dv",_kwnames,&_argo0)) |
325274bb RD |
6970 | return NULL; |
6971 | if (_argo0) { | |
6972 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6973 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
6974 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3dv. Expected _GLdouble_p."); | |
6975 | return NULL; | |
6976 | } | |
6977 | } | |
6978 | { | |
6979 | wxPy_BEGIN_ALLOW_THREADS; | |
6980 | glTexCoord3dv(_arg0); | |
6981 | ||
6982 | wxPy_END_ALLOW_THREADS; | |
6983 | } Py_INCREF(Py_None); | |
6984 | _resultobj = Py_None; | |
6985 | return _resultobj; | |
6986 | } | |
6987 | ||
efc5f224 | 6988 | static PyObject *_wrap_glTexCoord3f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6989 | PyObject * _resultobj; |
6990 | GLfloat _arg0; | |
6991 | GLfloat _arg1; | |
6992 | GLfloat _arg2; | |
efc5f224 | 6993 | char *_kwnames[] = { "s","t","r", NULL }; |
325274bb RD |
6994 | |
6995 | self = self; | |
efc5f224 | 6996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glTexCoord3f",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
6997 | return NULL; |
6998 | { | |
6999 | wxPy_BEGIN_ALLOW_THREADS; | |
7000 | glTexCoord3f(_arg0,_arg1,_arg2); | |
7001 | ||
7002 | wxPy_END_ALLOW_THREADS; | |
7003 | } Py_INCREF(Py_None); | |
7004 | _resultobj = Py_None; | |
7005 | return _resultobj; | |
7006 | } | |
7007 | ||
efc5f224 | 7008 | static PyObject *_wrap_glTexCoord3fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7009 | PyObject * _resultobj; |
7010 | GLfloat * _arg0; | |
7011 | PyObject * _argo0 = 0; | |
efc5f224 | 7012 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7013 | |
7014 | self = self; | |
efc5f224 | 7015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord3fv",_kwnames,&_argo0)) |
325274bb RD |
7016 | return NULL; |
7017 | if (_argo0) { | |
7018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
7020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3fv. Expected _GLfloat_p."); | |
7021 | return NULL; | |
7022 | } | |
7023 | } | |
7024 | { | |
7025 | wxPy_BEGIN_ALLOW_THREADS; | |
7026 | glTexCoord3fv(_arg0); | |
7027 | ||
7028 | wxPy_END_ALLOW_THREADS; | |
7029 | } Py_INCREF(Py_None); | |
7030 | _resultobj = Py_None; | |
7031 | return _resultobj; | |
7032 | } | |
7033 | ||
efc5f224 | 7034 | static PyObject *_wrap_glTexCoord3i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7035 | PyObject * _resultobj; |
7036 | GLint _arg0; | |
7037 | GLint _arg1; | |
7038 | GLint _arg2; | |
efc5f224 | 7039 | char *_kwnames[] = { "s","t","r", NULL }; |
325274bb RD |
7040 | |
7041 | self = self; | |
efc5f224 | 7042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glTexCoord3i",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7043 | return NULL; |
7044 | { | |
7045 | wxPy_BEGIN_ALLOW_THREADS; | |
7046 | glTexCoord3i(_arg0,_arg1,_arg2); | |
7047 | ||
7048 | wxPy_END_ALLOW_THREADS; | |
7049 | } Py_INCREF(Py_None); | |
7050 | _resultobj = Py_None; | |
7051 | return _resultobj; | |
7052 | } | |
7053 | ||
efc5f224 | 7054 | static PyObject *_wrap_glTexCoord3iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7055 | PyObject * _resultobj; |
7056 | GLint * _arg0; | |
7057 | PyObject * _argo0 = 0; | |
efc5f224 | 7058 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7059 | |
7060 | self = self; | |
efc5f224 | 7061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord3iv",_kwnames,&_argo0)) |
325274bb RD |
7062 | return NULL; |
7063 | if (_argo0) { | |
7064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
7066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3iv. Expected _GLint_p."); | |
7067 | return NULL; | |
7068 | } | |
7069 | } | |
7070 | { | |
7071 | wxPy_BEGIN_ALLOW_THREADS; | |
7072 | glTexCoord3iv(_arg0); | |
7073 | ||
7074 | wxPy_END_ALLOW_THREADS; | |
7075 | } Py_INCREF(Py_None); | |
7076 | _resultobj = Py_None; | |
7077 | return _resultobj; | |
7078 | } | |
7079 | ||
efc5f224 | 7080 | static PyObject *_wrap_glTexCoord3s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7081 | PyObject * _resultobj; |
7082 | GLshort _arg0; | |
7083 | GLshort _arg1; | |
7084 | GLshort _arg2; | |
efc5f224 | 7085 | char *_kwnames[] = { "s","t","r", NULL }; |
325274bb RD |
7086 | |
7087 | self = self; | |
efc5f224 | 7088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glTexCoord3s",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7089 | return NULL; |
7090 | { | |
7091 | wxPy_BEGIN_ALLOW_THREADS; | |
7092 | glTexCoord3s(_arg0,_arg1,_arg2); | |
7093 | ||
7094 | wxPy_END_ALLOW_THREADS; | |
7095 | } Py_INCREF(Py_None); | |
7096 | _resultobj = Py_None; | |
7097 | return _resultobj; | |
7098 | } | |
7099 | ||
efc5f224 | 7100 | static PyObject *_wrap_glTexCoord3sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7101 | PyObject * _resultobj; |
7102 | GLshort * _arg0; | |
7103 | PyObject * _argo0 = 0; | |
efc5f224 | 7104 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7105 | |
7106 | self = self; | |
efc5f224 | 7107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord3sv",_kwnames,&_argo0)) |
325274bb RD |
7108 | return NULL; |
7109 | if (_argo0) { | |
7110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
7112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord3sv. Expected _GLshort_p."); | |
7113 | return NULL; | |
7114 | } | |
7115 | } | |
7116 | { | |
7117 | wxPy_BEGIN_ALLOW_THREADS; | |
7118 | glTexCoord3sv(_arg0); | |
7119 | ||
7120 | wxPy_END_ALLOW_THREADS; | |
7121 | } Py_INCREF(Py_None); | |
7122 | _resultobj = Py_None; | |
7123 | return _resultobj; | |
7124 | } | |
7125 | ||
efc5f224 | 7126 | static PyObject *_wrap_glTexCoord4d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7127 | PyObject * _resultobj; |
7128 | GLdouble _arg0; | |
7129 | GLdouble _arg1; | |
7130 | GLdouble _arg2; | |
7131 | GLdouble _arg3; | |
efc5f224 | 7132 | char *_kwnames[] = { "s","t","r","q", NULL }; |
325274bb RD |
7133 | |
7134 | self = self; | |
efc5f224 | 7135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glTexCoord4d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
7136 | return NULL; |
7137 | { | |
7138 | wxPy_BEGIN_ALLOW_THREADS; | |
7139 | glTexCoord4d(_arg0,_arg1,_arg2,_arg3); | |
7140 | ||
7141 | wxPy_END_ALLOW_THREADS; | |
7142 | } Py_INCREF(Py_None); | |
7143 | _resultobj = Py_None; | |
7144 | return _resultobj; | |
7145 | } | |
7146 | ||
efc5f224 | 7147 | static PyObject *_wrap_glTexCoord4dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7148 | PyObject * _resultobj; |
7149 | GLdouble * _arg0; | |
7150 | PyObject * _argo0 = 0; | |
efc5f224 | 7151 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7152 | |
7153 | self = self; | |
efc5f224 | 7154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord4dv",_kwnames,&_argo0)) |
325274bb RD |
7155 | return NULL; |
7156 | if (_argo0) { | |
7157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
7159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4dv. Expected _GLdouble_p."); | |
7160 | return NULL; | |
7161 | } | |
7162 | } | |
7163 | { | |
7164 | wxPy_BEGIN_ALLOW_THREADS; | |
7165 | glTexCoord4dv(_arg0); | |
7166 | ||
7167 | wxPy_END_ALLOW_THREADS; | |
7168 | } Py_INCREF(Py_None); | |
7169 | _resultobj = Py_None; | |
7170 | return _resultobj; | |
7171 | } | |
7172 | ||
efc5f224 | 7173 | static PyObject *_wrap_glTexCoord4f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7174 | PyObject * _resultobj; |
7175 | GLfloat _arg0; | |
7176 | GLfloat _arg1; | |
7177 | GLfloat _arg2; | |
7178 | GLfloat _arg3; | |
efc5f224 | 7179 | char *_kwnames[] = { "s","t","r","q", NULL }; |
325274bb RD |
7180 | |
7181 | self = self; | |
efc5f224 | 7182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glTexCoord4f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
7183 | return NULL; |
7184 | { | |
7185 | wxPy_BEGIN_ALLOW_THREADS; | |
7186 | glTexCoord4f(_arg0,_arg1,_arg2,_arg3); | |
7187 | ||
7188 | wxPy_END_ALLOW_THREADS; | |
7189 | } Py_INCREF(Py_None); | |
7190 | _resultobj = Py_None; | |
7191 | return _resultobj; | |
7192 | } | |
7193 | ||
efc5f224 | 7194 | static PyObject *_wrap_glTexCoord4fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7195 | PyObject * _resultobj; |
7196 | GLfloat * _arg0; | |
7197 | PyObject * _argo0 = 0; | |
efc5f224 | 7198 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7199 | |
7200 | self = self; | |
efc5f224 | 7201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord4fv",_kwnames,&_argo0)) |
325274bb RD |
7202 | return NULL; |
7203 | if (_argo0) { | |
7204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
7206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4fv. Expected _GLfloat_p."); | |
7207 | return NULL; | |
7208 | } | |
7209 | } | |
7210 | { | |
7211 | wxPy_BEGIN_ALLOW_THREADS; | |
7212 | glTexCoord4fv(_arg0); | |
7213 | ||
7214 | wxPy_END_ALLOW_THREADS; | |
7215 | } Py_INCREF(Py_None); | |
7216 | _resultobj = Py_None; | |
7217 | return _resultobj; | |
7218 | } | |
7219 | ||
efc5f224 | 7220 | static PyObject *_wrap_glTexCoord4i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7221 | PyObject * _resultobj; |
7222 | GLint _arg0; | |
7223 | GLint _arg1; | |
7224 | GLint _arg2; | |
7225 | GLint _arg3; | |
efc5f224 | 7226 | char *_kwnames[] = { "s","t","r","q", NULL }; |
325274bb RD |
7227 | |
7228 | self = self; | |
efc5f224 | 7229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glTexCoord4i",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
7230 | return NULL; |
7231 | { | |
7232 | wxPy_BEGIN_ALLOW_THREADS; | |
7233 | glTexCoord4i(_arg0,_arg1,_arg2,_arg3); | |
7234 | ||
7235 | wxPy_END_ALLOW_THREADS; | |
7236 | } Py_INCREF(Py_None); | |
7237 | _resultobj = Py_None; | |
7238 | return _resultobj; | |
7239 | } | |
7240 | ||
efc5f224 | 7241 | static PyObject *_wrap_glTexCoord4iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7242 | PyObject * _resultobj; |
7243 | GLint * _arg0; | |
7244 | PyObject * _argo0 = 0; | |
efc5f224 | 7245 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7246 | |
7247 | self = self; | |
efc5f224 | 7248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord4iv",_kwnames,&_argo0)) |
325274bb RD |
7249 | return NULL; |
7250 | if (_argo0) { | |
7251 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7252 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
7253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4iv. Expected _GLint_p."); | |
7254 | return NULL; | |
7255 | } | |
7256 | } | |
7257 | { | |
7258 | wxPy_BEGIN_ALLOW_THREADS; | |
7259 | glTexCoord4iv(_arg0); | |
7260 | ||
7261 | wxPy_END_ALLOW_THREADS; | |
7262 | } Py_INCREF(Py_None); | |
7263 | _resultobj = Py_None; | |
7264 | return _resultobj; | |
7265 | } | |
7266 | ||
efc5f224 | 7267 | static PyObject *_wrap_glTexCoord4s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7268 | PyObject * _resultobj; |
7269 | GLshort _arg0; | |
7270 | GLshort _arg1; | |
7271 | GLshort _arg2; | |
7272 | GLshort _arg3; | |
efc5f224 | 7273 | char *_kwnames[] = { "s","t","r","q", NULL }; |
325274bb RD |
7274 | |
7275 | self = self; | |
efc5f224 | 7276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glTexCoord4s",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
7277 | return NULL; |
7278 | { | |
7279 | wxPy_BEGIN_ALLOW_THREADS; | |
7280 | glTexCoord4s(_arg0,_arg1,_arg2,_arg3); | |
7281 | ||
7282 | wxPy_END_ALLOW_THREADS; | |
7283 | } Py_INCREF(Py_None); | |
7284 | _resultobj = Py_None; | |
7285 | return _resultobj; | |
7286 | } | |
7287 | ||
efc5f224 | 7288 | static PyObject *_wrap_glTexCoord4sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7289 | PyObject * _resultobj; |
7290 | GLshort * _arg0; | |
7291 | PyObject * _argo0 = 0; | |
efc5f224 | 7292 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7293 | |
7294 | self = self; | |
efc5f224 | 7295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glTexCoord4sv",_kwnames,&_argo0)) |
325274bb RD |
7296 | return NULL; |
7297 | if (_argo0) { | |
7298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
7300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glTexCoord4sv. Expected _GLshort_p."); | |
7301 | return NULL; | |
7302 | } | |
7303 | } | |
7304 | { | |
7305 | wxPy_BEGIN_ALLOW_THREADS; | |
7306 | glTexCoord4sv(_arg0); | |
7307 | ||
7308 | wxPy_END_ALLOW_THREADS; | |
7309 | } Py_INCREF(Py_None); | |
7310 | _resultobj = Py_None; | |
7311 | return _resultobj; | |
7312 | } | |
7313 | ||
efc5f224 | 7314 | static PyObject *_wrap_glTexCoordPointer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7315 | PyObject * _resultobj; |
7316 | GLint _arg0; | |
7317 | GLenum _arg1; | |
7318 | GLsizei _arg2; | |
7319 | GLvoid * _arg3; | |
7320 | PyObject * _argo3 = 0; | |
efc5f224 | 7321 | char *_kwnames[] = { "size","type","stride","pointer", NULL }; |
325274bb RD |
7322 | |
7323 | self = self; | |
efc5f224 | 7324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glTexCoordPointer",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
7325 | return NULL; |
7326 | if (_argo3) { | |
7327 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
7328 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
7329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glTexCoordPointer. Expected _GLvoid_p."); | |
7330 | return NULL; | |
7331 | } | |
7332 | } | |
7333 | { | |
7334 | wxPy_BEGIN_ALLOW_THREADS; | |
7335 | glTexCoordPointer(_arg0,_arg1,_arg2,_arg3); | |
7336 | ||
7337 | wxPy_END_ALLOW_THREADS; | |
7338 | } Py_INCREF(Py_None); | |
7339 | _resultobj = Py_None; | |
7340 | return _resultobj; | |
7341 | } | |
7342 | ||
efc5f224 | 7343 | static PyObject *_wrap_glTexEnvf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7344 | PyObject * _resultobj; |
7345 | GLenum _arg0; | |
7346 | GLenum _arg1; | |
7347 | GLfloat _arg2; | |
efc5f224 | 7348 | char *_kwnames[] = { "target","pname","param", NULL }; |
325274bb RD |
7349 | |
7350 | self = self; | |
efc5f224 | 7351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glTexEnvf",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7352 | return NULL; |
7353 | { | |
7354 | wxPy_BEGIN_ALLOW_THREADS; | |
7355 | glTexEnvf(_arg0,_arg1,_arg2); | |
7356 | ||
7357 | wxPy_END_ALLOW_THREADS; | |
7358 | } Py_INCREF(Py_None); | |
7359 | _resultobj = Py_None; | |
7360 | return _resultobj; | |
7361 | } | |
7362 | ||
efc5f224 | 7363 | static PyObject *_wrap_glTexEnvfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7364 | PyObject * _resultobj; |
7365 | GLenum _arg0; | |
7366 | GLenum _arg1; | |
7367 | GLfloat * _arg2; | |
7368 | PyObject * _argo2 = 0; | |
efc5f224 | 7369 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
7370 | |
7371 | self = self; | |
efc5f224 | 7372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexEnvfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
7373 | return NULL; |
7374 | if (_argo2) { | |
7375 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7376 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
7377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexEnvfv. Expected _GLfloat_p."); | |
7378 | return NULL; | |
7379 | } | |
7380 | } | |
7381 | { | |
7382 | wxPy_BEGIN_ALLOW_THREADS; | |
7383 | glTexEnvfv(_arg0,_arg1,_arg2); | |
7384 | ||
7385 | wxPy_END_ALLOW_THREADS; | |
7386 | } Py_INCREF(Py_None); | |
7387 | _resultobj = Py_None; | |
7388 | return _resultobj; | |
7389 | } | |
7390 | ||
efc5f224 | 7391 | static PyObject *_wrap_glTexEnvi(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7392 | PyObject * _resultobj; |
7393 | GLenum _arg0; | |
7394 | GLenum _arg1; | |
7395 | GLint _arg2; | |
efc5f224 | 7396 | char *_kwnames[] = { "target","pname","param", NULL }; |
325274bb RD |
7397 | |
7398 | self = self; | |
efc5f224 | 7399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glTexEnvi",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7400 | return NULL; |
7401 | { | |
7402 | wxPy_BEGIN_ALLOW_THREADS; | |
7403 | glTexEnvi(_arg0,_arg1,_arg2); | |
7404 | ||
7405 | wxPy_END_ALLOW_THREADS; | |
7406 | } Py_INCREF(Py_None); | |
7407 | _resultobj = Py_None; | |
7408 | return _resultobj; | |
7409 | } | |
7410 | ||
efc5f224 | 7411 | static PyObject *_wrap_glTexEnviv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7412 | PyObject * _resultobj; |
7413 | GLenum _arg0; | |
7414 | GLenum _arg1; | |
7415 | GLint * _arg2; | |
7416 | PyObject * _argo2 = 0; | |
efc5f224 | 7417 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
7418 | |
7419 | self = self; | |
efc5f224 | 7420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexEnviv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
7421 | return NULL; |
7422 | if (_argo2) { | |
7423 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7424 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
7425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexEnviv. Expected _GLint_p."); | |
7426 | return NULL; | |
7427 | } | |
7428 | } | |
7429 | { | |
7430 | wxPy_BEGIN_ALLOW_THREADS; | |
7431 | glTexEnviv(_arg0,_arg1,_arg2); | |
7432 | ||
7433 | wxPy_END_ALLOW_THREADS; | |
7434 | } Py_INCREF(Py_None); | |
7435 | _resultobj = Py_None; | |
7436 | return _resultobj; | |
7437 | } | |
7438 | ||
efc5f224 | 7439 | static PyObject *_wrap_glTexGend(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7440 | PyObject * _resultobj; |
7441 | GLenum _arg0; | |
7442 | GLenum _arg1; | |
7443 | GLdouble _arg2; | |
efc5f224 | 7444 | char *_kwnames[] = { "coord","pname","param", NULL }; |
325274bb RD |
7445 | |
7446 | self = self; | |
efc5f224 | 7447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iid:glTexGend",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7448 | return NULL; |
7449 | { | |
7450 | wxPy_BEGIN_ALLOW_THREADS; | |
7451 | glTexGend(_arg0,_arg1,_arg2); | |
7452 | ||
7453 | wxPy_END_ALLOW_THREADS; | |
7454 | } Py_INCREF(Py_None); | |
7455 | _resultobj = Py_None; | |
7456 | return _resultobj; | |
7457 | } | |
7458 | ||
efc5f224 | 7459 | static PyObject *_wrap_glTexGendv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7460 | PyObject * _resultobj; |
7461 | GLenum _arg0; | |
7462 | GLenum _arg1; | |
7463 | GLdouble * _arg2; | |
7464 | PyObject * _argo2 = 0; | |
efc5f224 | 7465 | char *_kwnames[] = { "coord","pname","params", NULL }; |
325274bb RD |
7466 | |
7467 | self = self; | |
efc5f224 | 7468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexGendv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
7469 | return NULL; |
7470 | if (_argo2) { | |
7471 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7472 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLdouble_p")) { | |
7473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGendv. Expected _GLdouble_p."); | |
7474 | return NULL; | |
7475 | } | |
7476 | } | |
7477 | { | |
7478 | wxPy_BEGIN_ALLOW_THREADS; | |
7479 | glTexGendv(_arg0,_arg1,_arg2); | |
7480 | ||
7481 | wxPy_END_ALLOW_THREADS; | |
7482 | } Py_INCREF(Py_None); | |
7483 | _resultobj = Py_None; | |
7484 | return _resultobj; | |
7485 | } | |
7486 | ||
efc5f224 | 7487 | static PyObject *_wrap_glTexGenf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7488 | PyObject * _resultobj; |
7489 | GLenum _arg0; | |
7490 | GLenum _arg1; | |
7491 | GLfloat _arg2; | |
efc5f224 | 7492 | char *_kwnames[] = { "coord","pname","param", NULL }; |
325274bb RD |
7493 | |
7494 | self = self; | |
efc5f224 | 7495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glTexGenf",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7496 | return NULL; |
7497 | { | |
7498 | wxPy_BEGIN_ALLOW_THREADS; | |
7499 | glTexGenf(_arg0,_arg1,_arg2); | |
7500 | ||
7501 | wxPy_END_ALLOW_THREADS; | |
7502 | } Py_INCREF(Py_None); | |
7503 | _resultobj = Py_None; | |
7504 | return _resultobj; | |
7505 | } | |
7506 | ||
efc5f224 | 7507 | static PyObject *_wrap_glTexGenfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7508 | PyObject * _resultobj; |
7509 | GLenum _arg0; | |
7510 | GLenum _arg1; | |
7511 | GLfloat * _arg2; | |
7512 | PyObject * _argo2 = 0; | |
efc5f224 | 7513 | char *_kwnames[] = { "coord","pname","params", NULL }; |
325274bb RD |
7514 | |
7515 | self = self; | |
efc5f224 | 7516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexGenfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
7517 | return NULL; |
7518 | if (_argo2) { | |
7519 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7520 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
7521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGenfv. Expected _GLfloat_p."); | |
7522 | return NULL; | |
7523 | } | |
7524 | } | |
7525 | { | |
7526 | wxPy_BEGIN_ALLOW_THREADS; | |
7527 | glTexGenfv(_arg0,_arg1,_arg2); | |
7528 | ||
7529 | wxPy_END_ALLOW_THREADS; | |
7530 | } Py_INCREF(Py_None); | |
7531 | _resultobj = Py_None; | |
7532 | return _resultobj; | |
7533 | } | |
7534 | ||
efc5f224 | 7535 | static PyObject *_wrap_glTexGeni(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7536 | PyObject * _resultobj; |
7537 | GLenum _arg0; | |
7538 | GLenum _arg1; | |
7539 | GLint _arg2; | |
efc5f224 | 7540 | char *_kwnames[] = { "coord","pname","param", NULL }; |
325274bb RD |
7541 | |
7542 | self = self; | |
efc5f224 | 7543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glTexGeni",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7544 | return NULL; |
7545 | { | |
7546 | wxPy_BEGIN_ALLOW_THREADS; | |
7547 | glTexGeni(_arg0,_arg1,_arg2); | |
7548 | ||
7549 | wxPy_END_ALLOW_THREADS; | |
7550 | } Py_INCREF(Py_None); | |
7551 | _resultobj = Py_None; | |
7552 | return _resultobj; | |
7553 | } | |
7554 | ||
efc5f224 | 7555 | static PyObject *_wrap_glTexGeniv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7556 | PyObject * _resultobj; |
7557 | GLenum _arg0; | |
7558 | GLenum _arg1; | |
7559 | GLint * _arg2; | |
7560 | PyObject * _argo2 = 0; | |
efc5f224 | 7561 | char *_kwnames[] = { "coord","pname","params", NULL }; |
325274bb RD |
7562 | |
7563 | self = self; | |
efc5f224 | 7564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexGeniv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
7565 | return NULL; |
7566 | if (_argo2) { | |
7567 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7568 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
7569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexGeniv. Expected _GLint_p."); | |
7570 | return NULL; | |
7571 | } | |
7572 | } | |
7573 | { | |
7574 | wxPy_BEGIN_ALLOW_THREADS; | |
7575 | glTexGeniv(_arg0,_arg1,_arg2); | |
7576 | ||
7577 | wxPy_END_ALLOW_THREADS; | |
7578 | } Py_INCREF(Py_None); | |
7579 | _resultobj = Py_None; | |
7580 | return _resultobj; | |
7581 | } | |
7582 | ||
efc5f224 | 7583 | static PyObject *_wrap_glTexImage1D(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7584 | PyObject * _resultobj; |
7585 | GLenum _arg0; | |
7586 | GLint _arg1; | |
7587 | GLint _arg2; | |
7588 | GLsizei _arg3; | |
7589 | GLint _arg4; | |
7590 | GLenum _arg5; | |
7591 | GLenum _arg6; | |
7592 | GLvoid * _arg7; | |
7593 | PyObject * _argo7 = 0; | |
efc5f224 | 7594 | char *_kwnames[] = { "target","level","internalformat","width","border","format","type","pixels", NULL }; |
325274bb RD |
7595 | |
7596 | self = self; | |
efc5f224 | 7597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiiO:glTexImage1D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_argo7)) |
325274bb RD |
7598 | return NULL; |
7599 | if (_argo7) { | |
7600 | if (_argo7 == Py_None) { _arg7 = NULL; } | |
7601 | else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,(char *) 0 )) { | |
7602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of glTexImage1D. Expected _GLvoid_p."); | |
7603 | return NULL; | |
7604 | } | |
7605 | } | |
7606 | { | |
7607 | wxPy_BEGIN_ALLOW_THREADS; | |
7608 | glTexImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
7609 | ||
7610 | wxPy_END_ALLOW_THREADS; | |
7611 | } Py_INCREF(Py_None); | |
7612 | _resultobj = Py_None; | |
7613 | return _resultobj; | |
7614 | } | |
7615 | ||
efc5f224 | 7616 | static PyObject *_wrap_glTexImage2D(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7617 | PyObject * _resultobj; |
7618 | GLenum _arg0; | |
7619 | GLint _arg1; | |
7620 | GLint _arg2; | |
7621 | GLsizei _arg3; | |
7622 | GLsizei _arg4; | |
7623 | GLint _arg5; | |
7624 | GLenum _arg6; | |
7625 | GLenum _arg7; | |
7626 | GLvoid * _arg8; | |
7627 | PyObject * _argo8 = 0; | |
efc5f224 | 7628 | char *_kwnames[] = { "target","level","internalformat","width","height","border","format","type","pixels", NULL }; |
325274bb RD |
7629 | |
7630 | self = self; | |
efc5f224 | 7631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiiiO:glTexImage2D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_argo8)) |
325274bb RD |
7632 | return NULL; |
7633 | if (_argo8) { | |
7634 | if (_argo8 == Py_None) { _arg8 = NULL; } | |
7635 | else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,(char *) 0 )) { | |
7636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of glTexImage2D. Expected _GLvoid_p."); | |
7637 | return NULL; | |
7638 | } | |
7639 | } | |
7640 | { | |
7641 | wxPy_BEGIN_ALLOW_THREADS; | |
7642 | glTexImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8); | |
7643 | ||
7644 | wxPy_END_ALLOW_THREADS; | |
7645 | } Py_INCREF(Py_None); | |
7646 | _resultobj = Py_None; | |
7647 | return _resultobj; | |
7648 | } | |
7649 | ||
efc5f224 | 7650 | static PyObject *_wrap_glTexParameterf(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7651 | PyObject * _resultobj; |
7652 | GLenum _arg0; | |
7653 | GLenum _arg1; | |
7654 | GLfloat _arg2; | |
efc5f224 | 7655 | char *_kwnames[] = { "target","pname","param", NULL }; |
325274bb RD |
7656 | |
7657 | self = self; | |
efc5f224 | 7658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iif:glTexParameterf",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7659 | return NULL; |
7660 | { | |
7661 | wxPy_BEGIN_ALLOW_THREADS; | |
7662 | glTexParameterf(_arg0,_arg1,_arg2); | |
7663 | ||
7664 | wxPy_END_ALLOW_THREADS; | |
7665 | } Py_INCREF(Py_None); | |
7666 | _resultobj = Py_None; | |
7667 | return _resultobj; | |
7668 | } | |
7669 | ||
efc5f224 | 7670 | static PyObject *_wrap_glTexParameterfv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7671 | PyObject * _resultobj; |
7672 | GLenum _arg0; | |
7673 | GLenum _arg1; | |
7674 | GLfloat * _arg2; | |
7675 | PyObject * _argo2 = 0; | |
efc5f224 | 7676 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
7677 | |
7678 | self = self; | |
efc5f224 | 7679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexParameterfv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
7680 | return NULL; |
7681 | if (_argo2) { | |
7682 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7683 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLfloat_p")) { | |
7684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexParameterfv. Expected _GLfloat_p."); | |
7685 | return NULL; | |
7686 | } | |
7687 | } | |
7688 | { | |
7689 | wxPy_BEGIN_ALLOW_THREADS; | |
7690 | glTexParameterfv(_arg0,_arg1,_arg2); | |
7691 | ||
7692 | wxPy_END_ALLOW_THREADS; | |
7693 | } Py_INCREF(Py_None); | |
7694 | _resultobj = Py_None; | |
7695 | return _resultobj; | |
7696 | } | |
7697 | ||
efc5f224 | 7698 | static PyObject *_wrap_glTexParameteri(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7699 | PyObject * _resultobj; |
7700 | GLenum _arg0; | |
7701 | GLenum _arg1; | |
7702 | GLint _arg2; | |
efc5f224 | 7703 | char *_kwnames[] = { "target","pname","param", NULL }; |
325274bb RD |
7704 | |
7705 | self = self; | |
efc5f224 | 7706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glTexParameteri",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7707 | return NULL; |
7708 | { | |
7709 | wxPy_BEGIN_ALLOW_THREADS; | |
7710 | glTexParameteri(_arg0,_arg1,_arg2); | |
7711 | ||
7712 | wxPy_END_ALLOW_THREADS; | |
7713 | } Py_INCREF(Py_None); | |
7714 | _resultobj = Py_None; | |
7715 | return _resultobj; | |
7716 | } | |
7717 | ||
efc5f224 | 7718 | static PyObject *_wrap_glTexParameteriv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7719 | PyObject * _resultobj; |
7720 | GLenum _arg0; | |
7721 | GLenum _arg1; | |
7722 | GLint * _arg2; | |
7723 | PyObject * _argo2 = 0; | |
efc5f224 | 7724 | char *_kwnames[] = { "target","pname","params", NULL }; |
325274bb RD |
7725 | |
7726 | self = self; | |
efc5f224 | 7727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO:glTexParameteriv",_kwnames,&_arg0,&_arg1,&_argo2)) |
325274bb RD |
7728 | return NULL; |
7729 | if (_argo2) { | |
7730 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7731 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_GLint_p")) { | |
7732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of glTexParameteriv. Expected _GLint_p."); | |
7733 | return NULL; | |
7734 | } | |
7735 | } | |
7736 | { | |
7737 | wxPy_BEGIN_ALLOW_THREADS; | |
7738 | glTexParameteriv(_arg0,_arg1,_arg2); | |
7739 | ||
7740 | wxPy_END_ALLOW_THREADS; | |
7741 | } Py_INCREF(Py_None); | |
7742 | _resultobj = Py_None; | |
7743 | return _resultobj; | |
7744 | } | |
7745 | ||
efc5f224 | 7746 | static PyObject *_wrap_glTexSubImage1D(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7747 | PyObject * _resultobj; |
7748 | GLenum _arg0; | |
7749 | GLint _arg1; | |
7750 | GLint _arg2; | |
7751 | GLsizei _arg3; | |
7752 | GLenum _arg4; | |
7753 | GLenum _arg5; | |
7754 | GLvoid * _arg6; | |
7755 | PyObject * _argo6 = 0; | |
efc5f224 | 7756 | char *_kwnames[] = { "target","level","xoffset","width","format","type","pixels", NULL }; |
325274bb RD |
7757 | |
7758 | self = self; | |
efc5f224 | 7759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiO:glTexSubImage1D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6)) |
325274bb RD |
7760 | return NULL; |
7761 | if (_argo6) { | |
7762 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
7763 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,(char *) 0 )) { | |
7764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of glTexSubImage1D. Expected _GLvoid_p."); | |
7765 | return NULL; | |
7766 | } | |
7767 | } | |
7768 | { | |
7769 | wxPy_BEGIN_ALLOW_THREADS; | |
7770 | glTexSubImage1D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7771 | ||
7772 | wxPy_END_ALLOW_THREADS; | |
7773 | } Py_INCREF(Py_None); | |
7774 | _resultobj = Py_None; | |
7775 | return _resultobj; | |
7776 | } | |
7777 | ||
efc5f224 | 7778 | static PyObject *_wrap_glTexSubImage2D(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7779 | PyObject * _resultobj; |
7780 | GLenum _arg0; | |
7781 | GLint _arg1; | |
7782 | GLint _arg2; | |
7783 | GLint _arg3; | |
7784 | GLsizei _arg4; | |
7785 | GLsizei _arg5; | |
7786 | GLenum _arg6; | |
7787 | GLenum _arg7; | |
7788 | GLvoid * _arg8; | |
7789 | PyObject * _argo8 = 0; | |
efc5f224 | 7790 | char *_kwnames[] = { "target","level","xoffset","yoffset","width","height","format","type","pixels", NULL }; |
325274bb RD |
7791 | |
7792 | self = self; | |
efc5f224 | 7793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiiiiiiO:glTexSubImage2D",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_argo8)) |
325274bb RD |
7794 | return NULL; |
7795 | if (_argo8) { | |
7796 | if (_argo8 == Py_None) { _arg8 = NULL; } | |
7797 | else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,(char *) 0 )) { | |
7798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of glTexSubImage2D. Expected _GLvoid_p."); | |
7799 | return NULL; | |
7800 | } | |
7801 | } | |
7802 | { | |
7803 | wxPy_BEGIN_ALLOW_THREADS; | |
7804 | glTexSubImage2D(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8); | |
7805 | ||
7806 | wxPy_END_ALLOW_THREADS; | |
7807 | } Py_INCREF(Py_None); | |
7808 | _resultobj = Py_None; | |
7809 | return _resultobj; | |
7810 | } | |
7811 | ||
efc5f224 | 7812 | static PyObject *_wrap_glTranslated(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7813 | PyObject * _resultobj; |
7814 | GLdouble _arg0; | |
7815 | GLdouble _arg1; | |
7816 | GLdouble _arg2; | |
efc5f224 | 7817 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
7818 | |
7819 | self = self; | |
efc5f224 | 7820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glTranslated",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7821 | return NULL; |
7822 | { | |
7823 | wxPy_BEGIN_ALLOW_THREADS; | |
7824 | glTranslated(_arg0,_arg1,_arg2); | |
7825 | ||
7826 | wxPy_END_ALLOW_THREADS; | |
7827 | } Py_INCREF(Py_None); | |
7828 | _resultobj = Py_None; | |
7829 | return _resultobj; | |
7830 | } | |
7831 | ||
efc5f224 | 7832 | static PyObject *_wrap_glTranslatef(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7833 | PyObject * _resultobj; |
7834 | GLfloat _arg0; | |
7835 | GLfloat _arg1; | |
7836 | GLfloat _arg2; | |
efc5f224 | 7837 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
7838 | |
7839 | self = self; | |
efc5f224 | 7840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glTranslatef",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
7841 | return NULL; |
7842 | { | |
7843 | wxPy_BEGIN_ALLOW_THREADS; | |
7844 | glTranslatef(_arg0,_arg1,_arg2); | |
7845 | ||
7846 | wxPy_END_ALLOW_THREADS; | |
7847 | } Py_INCREF(Py_None); | |
7848 | _resultobj = Py_None; | |
7849 | return _resultobj; | |
7850 | } | |
7851 | ||
efc5f224 | 7852 | static PyObject *_wrap_glVertex2d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7853 | PyObject * _resultobj; |
7854 | GLdouble _arg0; | |
7855 | GLdouble _arg1; | |
efc5f224 | 7856 | char *_kwnames[] = { "x","y", NULL }; |
325274bb RD |
7857 | |
7858 | self = self; | |
efc5f224 | 7859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dd:glVertex2d",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
7860 | return NULL; |
7861 | { | |
7862 | wxPy_BEGIN_ALLOW_THREADS; | |
7863 | glVertex2d(_arg0,_arg1); | |
7864 | ||
7865 | wxPy_END_ALLOW_THREADS; | |
7866 | } Py_INCREF(Py_None); | |
7867 | _resultobj = Py_None; | |
7868 | return _resultobj; | |
7869 | } | |
7870 | ||
efc5f224 | 7871 | static PyObject *_wrap_glVertex2dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7872 | PyObject * _resultobj; |
7873 | GLdouble * _arg0; | |
7874 | PyObject * _argo0 = 0; | |
efc5f224 | 7875 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7876 | |
7877 | self = self; | |
efc5f224 | 7878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex2dv",_kwnames,&_argo0)) |
325274bb RD |
7879 | return NULL; |
7880 | if (_argo0) { | |
7881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
7883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2dv. Expected _GLdouble_p."); | |
7884 | return NULL; | |
7885 | } | |
7886 | } | |
7887 | { | |
7888 | wxPy_BEGIN_ALLOW_THREADS; | |
7889 | glVertex2dv(_arg0); | |
7890 | ||
7891 | wxPy_END_ALLOW_THREADS; | |
7892 | } Py_INCREF(Py_None); | |
7893 | _resultobj = Py_None; | |
7894 | return _resultobj; | |
7895 | } | |
7896 | ||
efc5f224 | 7897 | static PyObject *_wrap_glVertex2f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7898 | PyObject * _resultobj; |
7899 | GLfloat _arg0; | |
7900 | GLfloat _arg1; | |
efc5f224 | 7901 | char *_kwnames[] = { "x","y", NULL }; |
325274bb RD |
7902 | |
7903 | self = self; | |
efc5f224 | 7904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ff:glVertex2f",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
7905 | return NULL; |
7906 | { | |
7907 | wxPy_BEGIN_ALLOW_THREADS; | |
7908 | glVertex2f(_arg0,_arg1); | |
7909 | ||
7910 | wxPy_END_ALLOW_THREADS; | |
7911 | } Py_INCREF(Py_None); | |
7912 | _resultobj = Py_None; | |
7913 | return _resultobj; | |
7914 | } | |
7915 | ||
efc5f224 | 7916 | static PyObject *_wrap_glVertex2fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7917 | PyObject * _resultobj; |
7918 | GLfloat * _arg0; | |
7919 | PyObject * _argo0 = 0; | |
efc5f224 | 7920 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7921 | |
7922 | self = self; | |
efc5f224 | 7923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex2fv",_kwnames,&_argo0)) |
325274bb RD |
7924 | return NULL; |
7925 | if (_argo0) { | |
7926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
7928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2fv. Expected _GLfloat_p."); | |
7929 | return NULL; | |
7930 | } | |
7931 | } | |
7932 | { | |
7933 | wxPy_BEGIN_ALLOW_THREADS; | |
7934 | glVertex2fv(_arg0); | |
7935 | ||
7936 | wxPy_END_ALLOW_THREADS; | |
7937 | } Py_INCREF(Py_None); | |
7938 | _resultobj = Py_None; | |
7939 | return _resultobj; | |
7940 | } | |
7941 | ||
efc5f224 | 7942 | static PyObject *_wrap_glVertex2i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7943 | PyObject * _resultobj; |
7944 | GLint _arg0; | |
7945 | GLint _arg1; | |
efc5f224 | 7946 | char *_kwnames[] = { "x","y", NULL }; |
325274bb RD |
7947 | |
7948 | self = self; | |
efc5f224 | 7949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:glVertex2i",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
7950 | return NULL; |
7951 | { | |
7952 | wxPy_BEGIN_ALLOW_THREADS; | |
7953 | glVertex2i(_arg0,_arg1); | |
7954 | ||
7955 | wxPy_END_ALLOW_THREADS; | |
7956 | } Py_INCREF(Py_None); | |
7957 | _resultobj = Py_None; | |
7958 | return _resultobj; | |
7959 | } | |
7960 | ||
efc5f224 | 7961 | static PyObject *_wrap_glVertex2iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7962 | PyObject * _resultobj; |
7963 | GLint * _arg0; | |
7964 | PyObject * _argo0 = 0; | |
efc5f224 | 7965 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
7966 | |
7967 | self = self; | |
efc5f224 | 7968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex2iv",_kwnames,&_argo0)) |
325274bb RD |
7969 | return NULL; |
7970 | if (_argo0) { | |
7971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
7973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2iv. Expected _GLint_p."); | |
7974 | return NULL; | |
7975 | } | |
7976 | } | |
7977 | { | |
7978 | wxPy_BEGIN_ALLOW_THREADS; | |
7979 | glVertex2iv(_arg0); | |
7980 | ||
7981 | wxPy_END_ALLOW_THREADS; | |
7982 | } Py_INCREF(Py_None); | |
7983 | _resultobj = Py_None; | |
7984 | return _resultobj; | |
7985 | } | |
7986 | ||
efc5f224 | 7987 | static PyObject *_wrap_glVertex2s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
7988 | PyObject * _resultobj; |
7989 | GLshort _arg0; | |
7990 | GLshort _arg1; | |
efc5f224 | 7991 | char *_kwnames[] = { "x","y", NULL }; |
325274bb RD |
7992 | |
7993 | self = self; | |
efc5f224 | 7994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hh:glVertex2s",_kwnames,&_arg0,&_arg1)) |
325274bb RD |
7995 | return NULL; |
7996 | { | |
7997 | wxPy_BEGIN_ALLOW_THREADS; | |
7998 | glVertex2s(_arg0,_arg1); | |
7999 | ||
8000 | wxPy_END_ALLOW_THREADS; | |
8001 | } Py_INCREF(Py_None); | |
8002 | _resultobj = Py_None; | |
8003 | return _resultobj; | |
8004 | } | |
8005 | ||
efc5f224 | 8006 | static PyObject *_wrap_glVertex2sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8007 | PyObject * _resultobj; |
8008 | GLshort * _arg0; | |
8009 | PyObject * _argo0 = 0; | |
efc5f224 | 8010 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8011 | |
8012 | self = self; | |
efc5f224 | 8013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex2sv",_kwnames,&_argo0)) |
325274bb RD |
8014 | return NULL; |
8015 | if (_argo0) { | |
8016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
8018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex2sv. Expected _GLshort_p."); | |
8019 | return NULL; | |
8020 | } | |
8021 | } | |
8022 | { | |
8023 | wxPy_BEGIN_ALLOW_THREADS; | |
8024 | glVertex2sv(_arg0); | |
8025 | ||
8026 | wxPy_END_ALLOW_THREADS; | |
8027 | } Py_INCREF(Py_None); | |
8028 | _resultobj = Py_None; | |
8029 | return _resultobj; | |
8030 | } | |
8031 | ||
efc5f224 | 8032 | static PyObject *_wrap_glVertex3d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8033 | PyObject * _resultobj; |
8034 | GLdouble _arg0; | |
8035 | GLdouble _arg1; | |
8036 | GLdouble _arg2; | |
efc5f224 | 8037 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
8038 | |
8039 | self = self; | |
efc5f224 | 8040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ddd:glVertex3d",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
8041 | return NULL; |
8042 | { | |
8043 | wxPy_BEGIN_ALLOW_THREADS; | |
8044 | glVertex3d(_arg0,_arg1,_arg2); | |
8045 | ||
8046 | wxPy_END_ALLOW_THREADS; | |
8047 | } Py_INCREF(Py_None); | |
8048 | _resultobj = Py_None; | |
8049 | return _resultobj; | |
8050 | } | |
8051 | ||
efc5f224 | 8052 | static PyObject *_wrap_glVertex3dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8053 | PyObject * _resultobj; |
8054 | GLdouble * _arg0; | |
8055 | PyObject * _argo0 = 0; | |
efc5f224 | 8056 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8057 | |
8058 | self = self; | |
efc5f224 | 8059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex3dv",_kwnames,&_argo0)) |
325274bb RD |
8060 | return NULL; |
8061 | if (_argo0) { | |
8062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
8064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3dv. Expected _GLdouble_p."); | |
8065 | return NULL; | |
8066 | } | |
8067 | } | |
8068 | { | |
8069 | wxPy_BEGIN_ALLOW_THREADS; | |
8070 | glVertex3dv(_arg0); | |
8071 | ||
8072 | wxPy_END_ALLOW_THREADS; | |
8073 | } Py_INCREF(Py_None); | |
8074 | _resultobj = Py_None; | |
8075 | return _resultobj; | |
8076 | } | |
8077 | ||
efc5f224 | 8078 | static PyObject *_wrap_glVertex3f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8079 | PyObject * _resultobj; |
8080 | GLfloat _arg0; | |
8081 | GLfloat _arg1; | |
8082 | GLfloat _arg2; | |
efc5f224 | 8083 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
8084 | |
8085 | self = self; | |
efc5f224 | 8086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"fff:glVertex3f",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
8087 | return NULL; |
8088 | { | |
8089 | wxPy_BEGIN_ALLOW_THREADS; | |
8090 | glVertex3f(_arg0,_arg1,_arg2); | |
8091 | ||
8092 | wxPy_END_ALLOW_THREADS; | |
8093 | } Py_INCREF(Py_None); | |
8094 | _resultobj = Py_None; | |
8095 | return _resultobj; | |
8096 | } | |
8097 | ||
efc5f224 | 8098 | static PyObject *_wrap_glVertex3fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8099 | PyObject * _resultobj; |
8100 | GLfloat * _arg0; | |
8101 | PyObject * _argo0 = 0; | |
efc5f224 | 8102 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8103 | |
8104 | self = self; | |
efc5f224 | 8105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex3fv",_kwnames,&_argo0)) |
325274bb RD |
8106 | return NULL; |
8107 | if (_argo0) { | |
8108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
8110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3fv. Expected _GLfloat_p."); | |
8111 | return NULL; | |
8112 | } | |
8113 | } | |
8114 | { | |
8115 | wxPy_BEGIN_ALLOW_THREADS; | |
8116 | glVertex3fv(_arg0); | |
8117 | ||
8118 | wxPy_END_ALLOW_THREADS; | |
8119 | } Py_INCREF(Py_None); | |
8120 | _resultobj = Py_None; | |
8121 | return _resultobj; | |
8122 | } | |
8123 | ||
efc5f224 | 8124 | static PyObject *_wrap_glVertex3i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8125 | PyObject * _resultobj; |
8126 | GLint _arg0; | |
8127 | GLint _arg1; | |
8128 | GLint _arg2; | |
efc5f224 | 8129 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
8130 | |
8131 | self = self; | |
efc5f224 | 8132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iii:glVertex3i",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
8133 | return NULL; |
8134 | { | |
8135 | wxPy_BEGIN_ALLOW_THREADS; | |
8136 | glVertex3i(_arg0,_arg1,_arg2); | |
8137 | ||
8138 | wxPy_END_ALLOW_THREADS; | |
8139 | } Py_INCREF(Py_None); | |
8140 | _resultobj = Py_None; | |
8141 | return _resultobj; | |
8142 | } | |
8143 | ||
efc5f224 | 8144 | static PyObject *_wrap_glVertex3iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8145 | PyObject * _resultobj; |
8146 | GLint * _arg0; | |
8147 | PyObject * _argo0 = 0; | |
efc5f224 | 8148 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8149 | |
8150 | self = self; | |
efc5f224 | 8151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex3iv",_kwnames,&_argo0)) |
325274bb RD |
8152 | return NULL; |
8153 | if (_argo0) { | |
8154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
8156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3iv. Expected _GLint_p."); | |
8157 | return NULL; | |
8158 | } | |
8159 | } | |
8160 | { | |
8161 | wxPy_BEGIN_ALLOW_THREADS; | |
8162 | glVertex3iv(_arg0); | |
8163 | ||
8164 | wxPy_END_ALLOW_THREADS; | |
8165 | } Py_INCREF(Py_None); | |
8166 | _resultobj = Py_None; | |
8167 | return _resultobj; | |
8168 | } | |
8169 | ||
efc5f224 | 8170 | static PyObject *_wrap_glVertex3s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8171 | PyObject * _resultobj; |
8172 | GLshort _arg0; | |
8173 | GLshort _arg1; | |
8174 | GLshort _arg2; | |
efc5f224 | 8175 | char *_kwnames[] = { "x","y","z", NULL }; |
325274bb RD |
8176 | |
8177 | self = self; | |
efc5f224 | 8178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhh:glVertex3s",_kwnames,&_arg0,&_arg1,&_arg2)) |
325274bb RD |
8179 | return NULL; |
8180 | { | |
8181 | wxPy_BEGIN_ALLOW_THREADS; | |
8182 | glVertex3s(_arg0,_arg1,_arg2); | |
8183 | ||
8184 | wxPy_END_ALLOW_THREADS; | |
8185 | } Py_INCREF(Py_None); | |
8186 | _resultobj = Py_None; | |
8187 | return _resultobj; | |
8188 | } | |
8189 | ||
efc5f224 | 8190 | static PyObject *_wrap_glVertex3sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8191 | PyObject * _resultobj; |
8192 | GLshort * _arg0; | |
8193 | PyObject * _argo0 = 0; | |
efc5f224 | 8194 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8195 | |
8196 | self = self; | |
efc5f224 | 8197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex3sv",_kwnames,&_argo0)) |
325274bb RD |
8198 | return NULL; |
8199 | if (_argo0) { | |
8200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
8202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex3sv. Expected _GLshort_p."); | |
8203 | return NULL; | |
8204 | } | |
8205 | } | |
8206 | { | |
8207 | wxPy_BEGIN_ALLOW_THREADS; | |
8208 | glVertex3sv(_arg0); | |
8209 | ||
8210 | wxPy_END_ALLOW_THREADS; | |
8211 | } Py_INCREF(Py_None); | |
8212 | _resultobj = Py_None; | |
8213 | return _resultobj; | |
8214 | } | |
8215 | ||
efc5f224 | 8216 | static PyObject *_wrap_glVertex4d(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8217 | PyObject * _resultobj; |
8218 | GLdouble _arg0; | |
8219 | GLdouble _arg1; | |
8220 | GLdouble _arg2; | |
8221 | GLdouble _arg3; | |
efc5f224 | 8222 | char *_kwnames[] = { "x","y","z","w", NULL }; |
325274bb RD |
8223 | |
8224 | self = self; | |
efc5f224 | 8225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"dddd:glVertex4d",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
8226 | return NULL; |
8227 | { | |
8228 | wxPy_BEGIN_ALLOW_THREADS; | |
8229 | glVertex4d(_arg0,_arg1,_arg2,_arg3); | |
8230 | ||
8231 | wxPy_END_ALLOW_THREADS; | |
8232 | } Py_INCREF(Py_None); | |
8233 | _resultobj = Py_None; | |
8234 | return _resultobj; | |
8235 | } | |
8236 | ||
efc5f224 | 8237 | static PyObject *_wrap_glVertex4dv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8238 | PyObject * _resultobj; |
8239 | GLdouble * _arg0; | |
8240 | PyObject * _argo0 = 0; | |
efc5f224 | 8241 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8242 | |
8243 | self = self; | |
efc5f224 | 8244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex4dv",_kwnames,&_argo0)) |
325274bb RD |
8245 | return NULL; |
8246 | if (_argo0) { | |
8247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLdouble_p")) { | |
8249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4dv. Expected _GLdouble_p."); | |
8250 | return NULL; | |
8251 | } | |
8252 | } | |
8253 | { | |
8254 | wxPy_BEGIN_ALLOW_THREADS; | |
8255 | glVertex4dv(_arg0); | |
8256 | ||
8257 | wxPy_END_ALLOW_THREADS; | |
8258 | } Py_INCREF(Py_None); | |
8259 | _resultobj = Py_None; | |
8260 | return _resultobj; | |
8261 | } | |
8262 | ||
efc5f224 | 8263 | static PyObject *_wrap_glVertex4f(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8264 | PyObject * _resultobj; |
8265 | GLfloat _arg0; | |
8266 | GLfloat _arg1; | |
8267 | GLfloat _arg2; | |
8268 | GLfloat _arg3; | |
efc5f224 | 8269 | char *_kwnames[] = { "x","y","z","w", NULL }; |
325274bb RD |
8270 | |
8271 | self = self; | |
efc5f224 | 8272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ffff:glVertex4f",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
8273 | return NULL; |
8274 | { | |
8275 | wxPy_BEGIN_ALLOW_THREADS; | |
8276 | glVertex4f(_arg0,_arg1,_arg2,_arg3); | |
8277 | ||
8278 | wxPy_END_ALLOW_THREADS; | |
8279 | } Py_INCREF(Py_None); | |
8280 | _resultobj = Py_None; | |
8281 | return _resultobj; | |
8282 | } | |
8283 | ||
efc5f224 | 8284 | static PyObject *_wrap_glVertex4fv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8285 | PyObject * _resultobj; |
8286 | GLfloat * _arg0; | |
8287 | PyObject * _argo0 = 0; | |
efc5f224 | 8288 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8289 | |
8290 | self = self; | |
efc5f224 | 8291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex4fv",_kwnames,&_argo0)) |
325274bb RD |
8292 | return NULL; |
8293 | if (_argo0) { | |
8294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLfloat_p")) { | |
8296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4fv. Expected _GLfloat_p."); | |
8297 | return NULL; | |
8298 | } | |
8299 | } | |
8300 | { | |
8301 | wxPy_BEGIN_ALLOW_THREADS; | |
8302 | glVertex4fv(_arg0); | |
8303 | ||
8304 | wxPy_END_ALLOW_THREADS; | |
8305 | } Py_INCREF(Py_None); | |
8306 | _resultobj = Py_None; | |
8307 | return _resultobj; | |
8308 | } | |
8309 | ||
efc5f224 | 8310 | static PyObject *_wrap_glVertex4i(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8311 | PyObject * _resultobj; |
8312 | GLint _arg0; | |
8313 | GLint _arg1; | |
8314 | GLint _arg2; | |
8315 | GLint _arg3; | |
efc5f224 | 8316 | char *_kwnames[] = { "x","y","z","w", NULL }; |
325274bb RD |
8317 | |
8318 | self = self; | |
efc5f224 | 8319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glVertex4i",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
8320 | return NULL; |
8321 | { | |
8322 | wxPy_BEGIN_ALLOW_THREADS; | |
8323 | glVertex4i(_arg0,_arg1,_arg2,_arg3); | |
8324 | ||
8325 | wxPy_END_ALLOW_THREADS; | |
8326 | } Py_INCREF(Py_None); | |
8327 | _resultobj = Py_None; | |
8328 | return _resultobj; | |
8329 | } | |
8330 | ||
efc5f224 | 8331 | static PyObject *_wrap_glVertex4iv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8332 | PyObject * _resultobj; |
8333 | GLint * _arg0; | |
8334 | PyObject * _argo0 = 0; | |
efc5f224 | 8335 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8336 | |
8337 | self = self; | |
efc5f224 | 8338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex4iv",_kwnames,&_argo0)) |
325274bb RD |
8339 | return NULL; |
8340 | if (_argo0) { | |
8341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLint_p")) { | |
8343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4iv. Expected _GLint_p."); | |
8344 | return NULL; | |
8345 | } | |
8346 | } | |
8347 | { | |
8348 | wxPy_BEGIN_ALLOW_THREADS; | |
8349 | glVertex4iv(_arg0); | |
8350 | ||
8351 | wxPy_END_ALLOW_THREADS; | |
8352 | } Py_INCREF(Py_None); | |
8353 | _resultobj = Py_None; | |
8354 | return _resultobj; | |
8355 | } | |
8356 | ||
efc5f224 | 8357 | static PyObject *_wrap_glVertex4s(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8358 | PyObject * _resultobj; |
8359 | GLshort _arg0; | |
8360 | GLshort _arg1; | |
8361 | GLshort _arg2; | |
8362 | GLshort _arg3; | |
efc5f224 | 8363 | char *_kwnames[] = { "x","y","z","w", NULL }; |
325274bb RD |
8364 | |
8365 | self = self; | |
efc5f224 | 8366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"hhhh:glVertex4s",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
8367 | return NULL; |
8368 | { | |
8369 | wxPy_BEGIN_ALLOW_THREADS; | |
8370 | glVertex4s(_arg0,_arg1,_arg2,_arg3); | |
8371 | ||
8372 | wxPy_END_ALLOW_THREADS; | |
8373 | } Py_INCREF(Py_None); | |
8374 | _resultobj = Py_None; | |
8375 | return _resultobj; | |
8376 | } | |
8377 | ||
efc5f224 | 8378 | static PyObject *_wrap_glVertex4sv(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8379 | PyObject * _resultobj; |
8380 | GLshort * _arg0; | |
8381 | PyObject * _argo0 = 0; | |
efc5f224 | 8382 | char *_kwnames[] = { "v", NULL }; |
325274bb RD |
8383 | |
8384 | self = self; | |
efc5f224 | 8385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:glVertex4sv",_kwnames,&_argo0)) |
325274bb RD |
8386 | return NULL; |
8387 | if (_argo0) { | |
8388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_GLshort_p")) { | |
8390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of glVertex4sv. Expected _GLshort_p."); | |
8391 | return NULL; | |
8392 | } | |
8393 | } | |
8394 | { | |
8395 | wxPy_BEGIN_ALLOW_THREADS; | |
8396 | glVertex4sv(_arg0); | |
8397 | ||
8398 | wxPy_END_ALLOW_THREADS; | |
8399 | } Py_INCREF(Py_None); | |
8400 | _resultobj = Py_None; | |
8401 | return _resultobj; | |
8402 | } | |
8403 | ||
efc5f224 | 8404 | static PyObject *_wrap_glVertexPointer(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8405 | PyObject * _resultobj; |
8406 | GLint _arg0; | |
8407 | GLenum _arg1; | |
8408 | GLsizei _arg2; | |
8409 | GLvoid * _arg3; | |
8410 | PyObject * _argo3 = 0; | |
efc5f224 | 8411 | char *_kwnames[] = { "size","type","stride","pointer", NULL }; |
325274bb RD |
8412 | |
8413 | self = self; | |
efc5f224 | 8414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiiO:glVertexPointer",_kwnames,&_arg0,&_arg1,&_arg2,&_argo3)) |
325274bb RD |
8415 | return NULL; |
8416 | if (_argo3) { | |
8417 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
8418 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) { | |
8419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of glVertexPointer. Expected _GLvoid_p."); | |
8420 | return NULL; | |
8421 | } | |
8422 | } | |
8423 | { | |
8424 | wxPy_BEGIN_ALLOW_THREADS; | |
8425 | glVertexPointer(_arg0,_arg1,_arg2,_arg3); | |
8426 | ||
8427 | wxPy_END_ALLOW_THREADS; | |
8428 | } Py_INCREF(Py_None); | |
8429 | _resultobj = Py_None; | |
8430 | return _resultobj; | |
8431 | } | |
8432 | ||
efc5f224 | 8433 | static PyObject *_wrap_glViewport(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8434 | PyObject * _resultobj; |
8435 | GLint _arg0; | |
8436 | GLint _arg1; | |
8437 | GLsizei _arg2; | |
8438 | GLsizei _arg3; | |
efc5f224 | 8439 | char *_kwnames[] = { "x","y","width","height", NULL }; |
325274bb RD |
8440 | |
8441 | self = self; | |
efc5f224 | 8442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii:glViewport",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) |
325274bb RD |
8443 | return NULL; |
8444 | { | |
8445 | wxPy_BEGIN_ALLOW_THREADS; | |
8446 | glViewport(_arg0,_arg1,_arg2,_arg3); | |
8447 | ||
8448 | wxPy_END_ALLOW_THREADS; | |
8449 | } Py_INCREF(Py_None); | |
8450 | _resultobj = Py_None; | |
8451 | return _resultobj; | |
8452 | } | |
8453 | ||
8454 | #define new_wxGLContext(_swigarg0,_swigarg1,_swigarg2) (new wxGLContext(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 8455 | static PyObject *_wrap_new_wxGLContext(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8456 | PyObject * _resultobj; |
8457 | wxGLContext * _result; | |
8458 | bool _arg0; | |
8459 | wxGLCanvas * _arg1; | |
8460 | wxPalette * _arg2 = (wxPalette *) &wxNullPalette; | |
8461 | int tempbool0; | |
8462 | PyObject * _argo1 = 0; | |
8463 | PyObject * _argo2 = 0; | |
efc5f224 | 8464 | char *_kwnames[] = { "isRGB","win","palette", NULL }; |
325274bb RD |
8465 | char _ptemp[128]; |
8466 | ||
8467 | self = self; | |
efc5f224 | 8468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO|O:new_wxGLContext",_kwnames,&tempbool0,&_argo1,&_argo2)) |
325274bb RD |
8469 | return NULL; |
8470 | _arg0 = (bool ) tempbool0; | |
8471 | if (_argo1) { | |
8472 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8473 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGLCanvas_p")) { | |
8474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxGLContext. Expected _wxGLCanvas_p."); | |
8475 | return NULL; | |
8476 | } | |
8477 | } | |
8478 | if (_argo2) { | |
8479 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8480 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPalette_p")) { | |
8481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGLContext. Expected _wxPalette_p."); | |
8482 | return NULL; | |
8483 | } | |
8484 | } | |
8485 | { | |
8486 | wxPy_BEGIN_ALLOW_THREADS; | |
8487 | _result = (wxGLContext *)new_wxGLContext(_arg0,_arg1,*_arg2); | |
8488 | ||
8489 | wxPy_END_ALLOW_THREADS; | |
8490 | } if (_result) { | |
8491 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLContext_p"); | |
8492 | _resultobj = Py_BuildValue("s",_ptemp); | |
8493 | } else { | |
8494 | Py_INCREF(Py_None); | |
8495 | _resultobj = Py_None; | |
8496 | } | |
8497 | return _resultobj; | |
8498 | } | |
8499 | ||
8500 | #define delete_wxGLContext(_swigobj) (delete _swigobj) | |
efc5f224 | 8501 | static PyObject *_wrap_delete_wxGLContext(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8502 | PyObject * _resultobj; |
8503 | wxGLContext * _arg0; | |
8504 | PyObject * _argo0 = 0; | |
efc5f224 | 8505 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
8506 | |
8507 | self = self; | |
efc5f224 | 8508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGLContext",_kwnames,&_argo0)) |
325274bb RD |
8509 | return NULL; |
8510 | if (_argo0) { | |
8511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
8513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGLContext. Expected _wxGLContext_p."); | |
8514 | return NULL; | |
8515 | } | |
8516 | } | |
8517 | { | |
8518 | wxPy_BEGIN_ALLOW_THREADS; | |
8519 | delete_wxGLContext(_arg0); | |
8520 | ||
8521 | wxPy_END_ALLOW_THREADS; | |
8522 | } Py_INCREF(Py_None); | |
8523 | _resultobj = Py_None; | |
8524 | return _resultobj; | |
8525 | } | |
8526 | ||
8527 | #define wxGLContext_SetCurrent(_swigobj) (_swigobj->SetCurrent()) | |
efc5f224 | 8528 | static PyObject *_wrap_wxGLContext_SetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8529 | PyObject * _resultobj; |
8530 | wxGLContext * _arg0; | |
8531 | PyObject * _argo0 = 0; | |
efc5f224 | 8532 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
8533 | |
8534 | self = self; | |
efc5f224 | 8535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_SetCurrent",_kwnames,&_argo0)) |
325274bb RD |
8536 | return NULL; |
8537 | if (_argo0) { | |
8538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
8540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetCurrent. Expected _wxGLContext_p."); | |
8541 | return NULL; | |
8542 | } | |
8543 | } | |
8544 | { | |
8545 | wxPy_BEGIN_ALLOW_THREADS; | |
8546 | wxGLContext_SetCurrent(_arg0); | |
8547 | ||
8548 | wxPy_END_ALLOW_THREADS; | |
8549 | } Py_INCREF(Py_None); | |
8550 | _resultobj = Py_None; | |
8551 | return _resultobj; | |
8552 | } | |
8553 | ||
8554 | #define wxGLContext_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
efc5f224 | 8555 | static PyObject *_wrap_wxGLContext_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8556 | PyObject * _resultobj; |
8557 | wxGLContext * _arg0; | |
8558 | char * _arg1; | |
8559 | PyObject * _argo0 = 0; | |
efc5f224 | 8560 | char *_kwnames[] = { "self","colour", NULL }; |
325274bb RD |
8561 | |
8562 | self = self; | |
efc5f224 | 8563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxGLContext_SetColour",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
8564 | return NULL; |
8565 | if (_argo0) { | |
8566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
8568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetColour. Expected _wxGLContext_p."); | |
8569 | return NULL; | |
8570 | } | |
8571 | } | |
8572 | { | |
8573 | wxPy_BEGIN_ALLOW_THREADS; | |
8574 | wxGLContext_SetColour(_arg0,_arg1); | |
8575 | ||
8576 | wxPy_END_ALLOW_THREADS; | |
8577 | } Py_INCREF(Py_None); | |
8578 | _resultobj = Py_None; | |
8579 | return _resultobj; | |
8580 | } | |
8581 | ||
8582 | #define wxGLContext_SwapBuffers(_swigobj) (_swigobj->SwapBuffers()) | |
efc5f224 | 8583 | static PyObject *_wrap_wxGLContext_SwapBuffers(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8584 | PyObject * _resultobj; |
8585 | wxGLContext * _arg0; | |
8586 | PyObject * _argo0 = 0; | |
efc5f224 | 8587 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
8588 | |
8589 | self = self; | |
efc5f224 | 8590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_SwapBuffers",_kwnames,&_argo0)) |
325274bb RD |
8591 | return NULL; |
8592 | if (_argo0) { | |
8593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
8595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SwapBuffers. Expected _wxGLContext_p."); | |
8596 | return NULL; | |
8597 | } | |
8598 | } | |
8599 | { | |
8600 | wxPy_BEGIN_ALLOW_THREADS; | |
8601 | wxGLContext_SwapBuffers(_arg0); | |
8602 | ||
8603 | wxPy_END_ALLOW_THREADS; | |
8604 | } Py_INCREF(Py_None); | |
8605 | _resultobj = Py_None; | |
8606 | return _resultobj; | |
8607 | } | |
8608 | ||
8609 | #define wxGLContext_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
efc5f224 | 8610 | static PyObject *_wrap_wxGLContext_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8611 | PyObject * _resultobj; |
8612 | wxWindow * _result; | |
8613 | wxGLContext * _arg0; | |
8614 | PyObject * _argo0 = 0; | |
efc5f224 | 8615 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
8616 | char _ptemp[128]; |
8617 | ||
8618 | self = self; | |
efc5f224 | 8619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_GetWindow",_kwnames,&_argo0)) |
325274bb RD |
8620 | return NULL; |
8621 | if (_argo0) { | |
8622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) { | |
8624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_GetWindow. Expected _wxGLContext_p."); | |
8625 | return NULL; | |
8626 | } | |
8627 | } | |
8628 | { | |
8629 | wxPy_BEGIN_ALLOW_THREADS; | |
8630 | _result = (wxWindow *)wxGLContext_GetWindow(_arg0); | |
8631 | ||
8632 | wxPy_END_ALLOW_THREADS; | |
8633 | } if (_result) { | |
8634 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
8635 | _resultobj = Py_BuildValue("s",_ptemp); | |
8636 | } else { | |
8637 | Py_INCREF(Py_None); | |
8638 | _resultobj = Py_None; | |
8639 | } | |
8640 | return _resultobj; | |
8641 | } | |
8642 | ||
8643 | static void *SwigwxGLCanvasTowxScrolledWindow(void *ptr) { | |
8644 | wxGLCanvas *src; | |
8645 | wxScrolledWindow *dest; | |
8646 | src = (wxGLCanvas *) ptr; | |
8647 | dest = (wxScrolledWindow *) src; | |
8648 | return (void *) dest; | |
8649 | } | |
8650 | ||
8651 | static void *SwigwxGLCanvasTowxPanel(void *ptr) { | |
8652 | wxGLCanvas *src; | |
8653 | wxPanel *dest; | |
8654 | src = (wxGLCanvas *) ptr; | |
8655 | dest = (wxPanel *) src; | |
8656 | return (void *) dest; | |
8657 | } | |
8658 | ||
8659 | static void *SwigwxGLCanvasTowxWindow(void *ptr) { | |
8660 | wxGLCanvas *src; | |
8661 | wxWindow *dest; | |
8662 | src = (wxGLCanvas *) ptr; | |
8663 | dest = (wxWindow *) src; | |
8664 | return (void *) dest; | |
8665 | } | |
8666 | ||
8667 | static void *SwigwxGLCanvasTowxEvtHandler(void *ptr) { | |
8668 | wxGLCanvas *src; | |
8669 | wxEvtHandler *dest; | |
8670 | src = (wxGLCanvas *) ptr; | |
8671 | dest = (wxEvtHandler *) src; | |
8672 | return (void *) dest; | |
8673 | } | |
8674 | ||
8675 | #define new_wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) | |
efc5f224 | 8676 | static PyObject *_wrap_new_wxGLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8677 | PyObject * _resultobj; |
8678 | wxGLCanvas * _result; | |
8679 | wxWindow * _arg0; | |
8680 | wxWindowID _arg1 = (wxWindowID ) -1; | |
8681 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
8682 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
8683 | long _arg4 = (long ) 0; | |
8684 | char * _arg5 = (char *) "GLCanvas"; | |
8685 | int * _arg6 = (int *) 0; | |
8686 | wxPalette * _arg7 = (wxPalette *) &wxNullPalette; | |
8687 | PyObject * _argo0 = 0; | |
8688 | PyObject * _argo2 = 0; | |
8689 | PyObject * _argo3 = 0; | |
8690 | PyObject * _argo6 = 0; | |
8691 | PyObject * _argo7 = 0; | |
efc5f224 | 8692 | char *_kwnames[] = { "parent","id","pos","size","style","name","attribList","palette", NULL }; |
325274bb RD |
8693 | char _ptemp[128]; |
8694 | ||
8695 | self = self; | |
efc5f224 | 8696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlsOO:new_wxGLCanvas",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5,&_argo6,&_argo7)) |
325274bb RD |
8697 | return NULL; |
8698 | if (_argo0) { | |
8699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGLCanvas. Expected _wxWindow_p."); | |
8702 | return NULL; | |
8703 | } | |
8704 | } | |
8705 | if (_argo2) { | |
8706 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8707 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) { | |
8708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGLCanvas. Expected _wxPoint_p."); | |
8709 | return NULL; | |
8710 | } | |
8711 | } | |
8712 | if (_argo3) { | |
8713 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
8714 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) { | |
8715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGLCanvas. Expected _wxSize_p."); | |
8716 | return NULL; | |
8717 | } | |
8718 | } | |
8719 | if (_argo6) { | |
8720 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
8721 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_int_p")) { | |
8722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGLCanvas. Expected _int_p."); | |
8723 | return NULL; | |
8724 | } | |
8725 | } | |
8726 | if (_argo7) { | |
8727 | if (_argo7 == Py_None) { _arg7 = NULL; } | |
8728 | else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxPalette_p")) { | |
8729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxGLCanvas. Expected _wxPalette_p."); | |
8730 | return NULL; | |
8731 | } | |
8732 | } | |
8733 | { | |
8734 | wxPy_BEGIN_ALLOW_THREADS; | |
8735 | _result = (wxGLCanvas *)new_wxGLCanvas(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7); | |
8736 | ||
8737 | wxPy_END_ALLOW_THREADS; | |
8738 | } if (_result) { | |
8739 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLCanvas_p"); | |
8740 | _resultobj = Py_BuildValue("s",_ptemp); | |
8741 | } else { | |
8742 | Py_INCREF(Py_None); | |
8743 | _resultobj = Py_None; | |
8744 | } | |
8745 | return _resultobj; | |
8746 | } | |
8747 | ||
8748 | #define wxGLCanvas_SetCurrent(_swigobj) (_swigobj->SetCurrent()) | |
efc5f224 | 8749 | static PyObject *_wrap_wxGLCanvas_SetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8750 | PyObject * _resultobj; |
8751 | wxGLCanvas * _arg0; | |
8752 | PyObject * _argo0 = 0; | |
efc5f224 | 8753 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
8754 | |
8755 | self = self; | |
efc5f224 | 8756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_SetCurrent",_kwnames,&_argo0)) |
325274bb RD |
8757 | return NULL; |
8758 | if (_argo0) { | |
8759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) { | |
8761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SetCurrent. Expected _wxGLCanvas_p."); | |
8762 | return NULL; | |
8763 | } | |
8764 | } | |
8765 | { | |
8766 | wxPy_BEGIN_ALLOW_THREADS; | |
8767 | wxGLCanvas_SetCurrent(_arg0); | |
8768 | ||
8769 | wxPy_END_ALLOW_THREADS; | |
8770 | } Py_INCREF(Py_None); | |
8771 | _resultobj = Py_None; | |
8772 | return _resultobj; | |
8773 | } | |
8774 | ||
8775 | #define wxGLCanvas_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
efc5f224 | 8776 | static PyObject *_wrap_wxGLCanvas_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8777 | PyObject * _resultobj; |
8778 | wxGLCanvas * _arg0; | |
8779 | char * _arg1; | |
8780 | PyObject * _argo0 = 0; | |
efc5f224 | 8781 | char *_kwnames[] = { "self","colour", NULL }; |
325274bb RD |
8782 | |
8783 | self = self; | |
efc5f224 | 8784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxGLCanvas_SetColour",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
8785 | return NULL; |
8786 | if (_argo0) { | |
8787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) { | |
8789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SetColour. Expected _wxGLCanvas_p."); | |
8790 | return NULL; | |
8791 | } | |
8792 | } | |
8793 | { | |
8794 | wxPy_BEGIN_ALLOW_THREADS; | |
8795 | wxGLCanvas_SetColour(_arg0,_arg1); | |
8796 | ||
8797 | wxPy_END_ALLOW_THREADS; | |
8798 | } Py_INCREF(Py_None); | |
8799 | _resultobj = Py_None; | |
8800 | return _resultobj; | |
8801 | } | |
8802 | ||
8803 | #define wxGLCanvas_SwapBuffers(_swigobj) (_swigobj->SwapBuffers()) | |
efc5f224 | 8804 | static PyObject *_wrap_wxGLCanvas_SwapBuffers(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8805 | PyObject * _resultobj; |
8806 | wxGLCanvas * _arg0; | |
8807 | PyObject * _argo0 = 0; | |
efc5f224 | 8808 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
8809 | |
8810 | self = self; | |
efc5f224 | 8811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_SwapBuffers",_kwnames,&_argo0)) |
325274bb RD |
8812 | return NULL; |
8813 | if (_argo0) { | |
8814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) { | |
8816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SwapBuffers. Expected _wxGLCanvas_p."); | |
8817 | return NULL; | |
8818 | } | |
8819 | } | |
8820 | { | |
8821 | wxPy_BEGIN_ALLOW_THREADS; | |
8822 | wxGLCanvas_SwapBuffers(_arg0); | |
8823 | ||
8824 | wxPy_END_ALLOW_THREADS; | |
8825 | } Py_INCREF(Py_None); | |
8826 | _resultobj = Py_None; | |
8827 | return _resultobj; | |
8828 | } | |
8829 | ||
8830 | #define wxGLCanvas_GetContext(_swigobj) (_swigobj->GetContext()) | |
efc5f224 | 8831 | static PyObject *_wrap_wxGLCanvas_GetContext(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
8832 | PyObject * _resultobj; |
8833 | wxGLContext * _result; | |
8834 | wxGLCanvas * _arg0; | |
8835 | PyObject * _argo0 = 0; | |
efc5f224 | 8836 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
8837 | char _ptemp[128]; |
8838 | ||
8839 | self = self; | |
efc5f224 | 8840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_GetContext",_kwnames,&_argo0)) |
325274bb RD |
8841 | return NULL; |
8842 | if (_argo0) { | |
8843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) { | |
8845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_GetContext. Expected _wxGLCanvas_p."); | |
8846 | return NULL; | |
8847 | } | |
8848 | } | |
8849 | { | |
8850 | wxPy_BEGIN_ALLOW_THREADS; | |
8851 | _result = (wxGLContext *)wxGLCanvas_GetContext(_arg0); | |
8852 | ||
8853 | wxPy_END_ALLOW_THREADS; | |
8854 | } if (_result) { | |
8855 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLContext_p"); | |
8856 | _resultobj = Py_BuildValue("s",_ptemp); | |
8857 | } else { | |
8858 | Py_INCREF(Py_None); | |
8859 | _resultobj = Py_None; | |
8860 | } | |
8861 | return _resultobj; | |
8862 | } | |
8863 | ||
8864 | static PyMethodDef glcanvascMethods[] = { | |
efc5f224 RD |
8865 | { "wxGLCanvas_GetContext", (PyCFunction) _wrap_wxGLCanvas_GetContext, METH_VARARGS | METH_KEYWORDS }, |
8866 | { "wxGLCanvas_SwapBuffers", (PyCFunction) _wrap_wxGLCanvas_SwapBuffers, METH_VARARGS | METH_KEYWORDS }, | |
8867 | { "wxGLCanvas_SetColour", (PyCFunction) _wrap_wxGLCanvas_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
8868 | { "wxGLCanvas_SetCurrent", (PyCFunction) _wrap_wxGLCanvas_SetCurrent, METH_VARARGS | METH_KEYWORDS }, | |
8869 | { "new_wxGLCanvas", (PyCFunction) _wrap_new_wxGLCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8870 | { "wxGLContext_GetWindow", (PyCFunction) _wrap_wxGLContext_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
8871 | { "wxGLContext_SwapBuffers", (PyCFunction) _wrap_wxGLContext_SwapBuffers, METH_VARARGS | METH_KEYWORDS }, | |
8872 | { "wxGLContext_SetColour", (PyCFunction) _wrap_wxGLContext_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
8873 | { "wxGLContext_SetCurrent", (PyCFunction) _wrap_wxGLContext_SetCurrent, METH_VARARGS | METH_KEYWORDS }, | |
8874 | { "delete_wxGLContext", (PyCFunction) _wrap_delete_wxGLContext, METH_VARARGS | METH_KEYWORDS }, | |
8875 | { "new_wxGLContext", (PyCFunction) _wrap_new_wxGLContext, METH_VARARGS | METH_KEYWORDS }, | |
8876 | { "glViewport", (PyCFunction) _wrap_glViewport, METH_VARARGS | METH_KEYWORDS }, | |
8877 | { "glVertexPointer", (PyCFunction) _wrap_glVertexPointer, METH_VARARGS | METH_KEYWORDS }, | |
8878 | { "glVertex4sv", (PyCFunction) _wrap_glVertex4sv, METH_VARARGS | METH_KEYWORDS }, | |
8879 | { "glVertex4s", (PyCFunction) _wrap_glVertex4s, METH_VARARGS | METH_KEYWORDS }, | |
8880 | { "glVertex4iv", (PyCFunction) _wrap_glVertex4iv, METH_VARARGS | METH_KEYWORDS }, | |
8881 | { "glVertex4i", (PyCFunction) _wrap_glVertex4i, METH_VARARGS | METH_KEYWORDS }, | |
8882 | { "glVertex4fv", (PyCFunction) _wrap_glVertex4fv, METH_VARARGS | METH_KEYWORDS }, | |
8883 | { "glVertex4f", (PyCFunction) _wrap_glVertex4f, METH_VARARGS | METH_KEYWORDS }, | |
8884 | { "glVertex4dv", (PyCFunction) _wrap_glVertex4dv, METH_VARARGS | METH_KEYWORDS }, | |
8885 | { "glVertex4d", (PyCFunction) _wrap_glVertex4d, METH_VARARGS | METH_KEYWORDS }, | |
8886 | { "glVertex3sv", (PyCFunction) _wrap_glVertex3sv, METH_VARARGS | METH_KEYWORDS }, | |
8887 | { "glVertex3s", (PyCFunction) _wrap_glVertex3s, METH_VARARGS | METH_KEYWORDS }, | |
8888 | { "glVertex3iv", (PyCFunction) _wrap_glVertex3iv, METH_VARARGS | METH_KEYWORDS }, | |
8889 | { "glVertex3i", (PyCFunction) _wrap_glVertex3i, METH_VARARGS | METH_KEYWORDS }, | |
8890 | { "glVertex3fv", (PyCFunction) _wrap_glVertex3fv, METH_VARARGS | METH_KEYWORDS }, | |
8891 | { "glVertex3f", (PyCFunction) _wrap_glVertex3f, METH_VARARGS | METH_KEYWORDS }, | |
8892 | { "glVertex3dv", (PyCFunction) _wrap_glVertex3dv, METH_VARARGS | METH_KEYWORDS }, | |
8893 | { "glVertex3d", (PyCFunction) _wrap_glVertex3d, METH_VARARGS | METH_KEYWORDS }, | |
8894 | { "glVertex2sv", (PyCFunction) _wrap_glVertex2sv, METH_VARARGS | METH_KEYWORDS }, | |
8895 | { "glVertex2s", (PyCFunction) _wrap_glVertex2s, METH_VARARGS | METH_KEYWORDS }, | |
8896 | { "glVertex2iv", (PyCFunction) _wrap_glVertex2iv, METH_VARARGS | METH_KEYWORDS }, | |
8897 | { "glVertex2i", (PyCFunction) _wrap_glVertex2i, METH_VARARGS | METH_KEYWORDS }, | |
8898 | { "glVertex2fv", (PyCFunction) _wrap_glVertex2fv, METH_VARARGS | METH_KEYWORDS }, | |
8899 | { "glVertex2f", (PyCFunction) _wrap_glVertex2f, METH_VARARGS | METH_KEYWORDS }, | |
8900 | { "glVertex2dv", (PyCFunction) _wrap_glVertex2dv, METH_VARARGS | METH_KEYWORDS }, | |
8901 | { "glVertex2d", (PyCFunction) _wrap_glVertex2d, METH_VARARGS | METH_KEYWORDS }, | |
8902 | { "glTranslatef", (PyCFunction) _wrap_glTranslatef, METH_VARARGS | METH_KEYWORDS }, | |
8903 | { "glTranslated", (PyCFunction) _wrap_glTranslated, METH_VARARGS | METH_KEYWORDS }, | |
8904 | { "glTexSubImage2D", (PyCFunction) _wrap_glTexSubImage2D, METH_VARARGS | METH_KEYWORDS }, | |
8905 | { "glTexSubImage1D", (PyCFunction) _wrap_glTexSubImage1D, METH_VARARGS | METH_KEYWORDS }, | |
8906 | { "glTexParameteriv", (PyCFunction) _wrap_glTexParameteriv, METH_VARARGS | METH_KEYWORDS }, | |
8907 | { "glTexParameteri", (PyCFunction) _wrap_glTexParameteri, METH_VARARGS | METH_KEYWORDS }, | |
8908 | { "glTexParameterfv", (PyCFunction) _wrap_glTexParameterfv, METH_VARARGS | METH_KEYWORDS }, | |
8909 | { "glTexParameterf", (PyCFunction) _wrap_glTexParameterf, METH_VARARGS | METH_KEYWORDS }, | |
8910 | { "glTexImage2D", (PyCFunction) _wrap_glTexImage2D, METH_VARARGS | METH_KEYWORDS }, | |
8911 | { "glTexImage1D", (PyCFunction) _wrap_glTexImage1D, METH_VARARGS | METH_KEYWORDS }, | |
8912 | { "glTexGeniv", (PyCFunction) _wrap_glTexGeniv, METH_VARARGS | METH_KEYWORDS }, | |
8913 | { "glTexGeni", (PyCFunction) _wrap_glTexGeni, METH_VARARGS | METH_KEYWORDS }, | |
8914 | { "glTexGenfv", (PyCFunction) _wrap_glTexGenfv, METH_VARARGS | METH_KEYWORDS }, | |
8915 | { "glTexGenf", (PyCFunction) _wrap_glTexGenf, METH_VARARGS | METH_KEYWORDS }, | |
8916 | { "glTexGendv", (PyCFunction) _wrap_glTexGendv, METH_VARARGS | METH_KEYWORDS }, | |
8917 | { "glTexGend", (PyCFunction) _wrap_glTexGend, METH_VARARGS | METH_KEYWORDS }, | |
8918 | { "glTexEnviv", (PyCFunction) _wrap_glTexEnviv, METH_VARARGS | METH_KEYWORDS }, | |
8919 | { "glTexEnvi", (PyCFunction) _wrap_glTexEnvi, METH_VARARGS | METH_KEYWORDS }, | |
8920 | { "glTexEnvfv", (PyCFunction) _wrap_glTexEnvfv, METH_VARARGS | METH_KEYWORDS }, | |
8921 | { "glTexEnvf", (PyCFunction) _wrap_glTexEnvf, METH_VARARGS | METH_KEYWORDS }, | |
8922 | { "glTexCoordPointer", (PyCFunction) _wrap_glTexCoordPointer, METH_VARARGS | METH_KEYWORDS }, | |
8923 | { "glTexCoord4sv", (PyCFunction) _wrap_glTexCoord4sv, METH_VARARGS | METH_KEYWORDS }, | |
8924 | { "glTexCoord4s", (PyCFunction) _wrap_glTexCoord4s, METH_VARARGS | METH_KEYWORDS }, | |
8925 | { "glTexCoord4iv", (PyCFunction) _wrap_glTexCoord4iv, METH_VARARGS | METH_KEYWORDS }, | |
8926 | { "glTexCoord4i", (PyCFunction) _wrap_glTexCoord4i, METH_VARARGS | METH_KEYWORDS }, | |
8927 | { "glTexCoord4fv", (PyCFunction) _wrap_glTexCoord4fv, METH_VARARGS | METH_KEYWORDS }, | |
8928 | { "glTexCoord4f", (PyCFunction) _wrap_glTexCoord4f, METH_VARARGS | METH_KEYWORDS }, | |
8929 | { "glTexCoord4dv", (PyCFunction) _wrap_glTexCoord4dv, METH_VARARGS | METH_KEYWORDS }, | |
8930 | { "glTexCoord4d", (PyCFunction) _wrap_glTexCoord4d, METH_VARARGS | METH_KEYWORDS }, | |
8931 | { "glTexCoord3sv", (PyCFunction) _wrap_glTexCoord3sv, METH_VARARGS | METH_KEYWORDS }, | |
8932 | { "glTexCoord3s", (PyCFunction) _wrap_glTexCoord3s, METH_VARARGS | METH_KEYWORDS }, | |
8933 | { "glTexCoord3iv", (PyCFunction) _wrap_glTexCoord3iv, METH_VARARGS | METH_KEYWORDS }, | |
8934 | { "glTexCoord3i", (PyCFunction) _wrap_glTexCoord3i, METH_VARARGS | METH_KEYWORDS }, | |
8935 | { "glTexCoord3fv", (PyCFunction) _wrap_glTexCoord3fv, METH_VARARGS | METH_KEYWORDS }, | |
8936 | { "glTexCoord3f", (PyCFunction) _wrap_glTexCoord3f, METH_VARARGS | METH_KEYWORDS }, | |
8937 | { "glTexCoord3dv", (PyCFunction) _wrap_glTexCoord3dv, METH_VARARGS | METH_KEYWORDS }, | |
8938 | { "glTexCoord3d", (PyCFunction) _wrap_glTexCoord3d, METH_VARARGS | METH_KEYWORDS }, | |
8939 | { "glTexCoord2sv", (PyCFunction) _wrap_glTexCoord2sv, METH_VARARGS | METH_KEYWORDS }, | |
8940 | { "glTexCoord2s", (PyCFunction) _wrap_glTexCoord2s, METH_VARARGS | METH_KEYWORDS }, | |
8941 | { "glTexCoord2iv", (PyCFunction) _wrap_glTexCoord2iv, METH_VARARGS | METH_KEYWORDS }, | |
8942 | { "glTexCoord2i", (PyCFunction) _wrap_glTexCoord2i, METH_VARARGS | METH_KEYWORDS }, | |
8943 | { "glTexCoord2fv", (PyCFunction) _wrap_glTexCoord2fv, METH_VARARGS | METH_KEYWORDS }, | |
8944 | { "glTexCoord2f", (PyCFunction) _wrap_glTexCoord2f, METH_VARARGS | METH_KEYWORDS }, | |
8945 | { "glTexCoord2dv", (PyCFunction) _wrap_glTexCoord2dv, METH_VARARGS | METH_KEYWORDS }, | |
8946 | { "glTexCoord2d", (PyCFunction) _wrap_glTexCoord2d, METH_VARARGS | METH_KEYWORDS }, | |
8947 | { "glTexCoord1sv", (PyCFunction) _wrap_glTexCoord1sv, METH_VARARGS | METH_KEYWORDS }, | |
8948 | { "glTexCoord1s", (PyCFunction) _wrap_glTexCoord1s, METH_VARARGS | METH_KEYWORDS }, | |
8949 | { "glTexCoord1iv", (PyCFunction) _wrap_glTexCoord1iv, METH_VARARGS | METH_KEYWORDS }, | |
8950 | { "glTexCoord1i", (PyCFunction) _wrap_glTexCoord1i, METH_VARARGS | METH_KEYWORDS }, | |
8951 | { "glTexCoord1fv", (PyCFunction) _wrap_glTexCoord1fv, METH_VARARGS | METH_KEYWORDS }, | |
8952 | { "glTexCoord1f", (PyCFunction) _wrap_glTexCoord1f, METH_VARARGS | METH_KEYWORDS }, | |
8953 | { "glTexCoord1dv", (PyCFunction) _wrap_glTexCoord1dv, METH_VARARGS | METH_KEYWORDS }, | |
8954 | { "glTexCoord1d", (PyCFunction) _wrap_glTexCoord1d, METH_VARARGS | METH_KEYWORDS }, | |
8955 | { "glStencilOp", (PyCFunction) _wrap_glStencilOp, METH_VARARGS | METH_KEYWORDS }, | |
8956 | { "glStencilMask", (PyCFunction) _wrap_glStencilMask, METH_VARARGS | METH_KEYWORDS }, | |
8957 | { "glStencilFunc", (PyCFunction) _wrap_glStencilFunc, METH_VARARGS | METH_KEYWORDS }, | |
8958 | { "glShadeModel", (PyCFunction) _wrap_glShadeModel, METH_VARARGS | METH_KEYWORDS }, | |
8959 | { "glSelectBuffer", (PyCFunction) _wrap_glSelectBuffer, METH_VARARGS | METH_KEYWORDS }, | |
8960 | { "glScissor", (PyCFunction) _wrap_glScissor, METH_VARARGS | METH_KEYWORDS }, | |
8961 | { "glScalef", (PyCFunction) _wrap_glScalef, METH_VARARGS | METH_KEYWORDS }, | |
8962 | { "glScaled", (PyCFunction) _wrap_glScaled, METH_VARARGS | METH_KEYWORDS }, | |
8963 | { "glRotatef", (PyCFunction) _wrap_glRotatef, METH_VARARGS | METH_KEYWORDS }, | |
8964 | { "glRotated", (PyCFunction) _wrap_glRotated, METH_VARARGS | METH_KEYWORDS }, | |
8965 | { "glRenderMode", (PyCFunction) _wrap_glRenderMode, METH_VARARGS | METH_KEYWORDS }, | |
8966 | { "glRectsv", (PyCFunction) _wrap_glRectsv, METH_VARARGS | METH_KEYWORDS }, | |
8967 | { "glRects", (PyCFunction) _wrap_glRects, METH_VARARGS | METH_KEYWORDS }, | |
8968 | { "glRectiv", (PyCFunction) _wrap_glRectiv, METH_VARARGS | METH_KEYWORDS }, | |
8969 | { "glRecti", (PyCFunction) _wrap_glRecti, METH_VARARGS | METH_KEYWORDS }, | |
8970 | { "glRectfv", (PyCFunction) _wrap_glRectfv, METH_VARARGS | METH_KEYWORDS }, | |
8971 | { "glRectf", (PyCFunction) _wrap_glRectf, METH_VARARGS | METH_KEYWORDS }, | |
8972 | { "glRectdv", (PyCFunction) _wrap_glRectdv, METH_VARARGS | METH_KEYWORDS }, | |
8973 | { "glRectd", (PyCFunction) _wrap_glRectd, METH_VARARGS | METH_KEYWORDS }, | |
8974 | { "glReadPixels", (PyCFunction) _wrap_glReadPixels, METH_VARARGS | METH_KEYWORDS }, | |
8975 | { "glReadBuffer", (PyCFunction) _wrap_glReadBuffer, METH_VARARGS | METH_KEYWORDS }, | |
8976 | { "glRasterPos4sv", (PyCFunction) _wrap_glRasterPos4sv, METH_VARARGS | METH_KEYWORDS }, | |
8977 | { "glRasterPos4s", (PyCFunction) _wrap_glRasterPos4s, METH_VARARGS | METH_KEYWORDS }, | |
8978 | { "glRasterPos4iv", (PyCFunction) _wrap_glRasterPos4iv, METH_VARARGS | METH_KEYWORDS }, | |
8979 | { "glRasterPos4i", (PyCFunction) _wrap_glRasterPos4i, METH_VARARGS | METH_KEYWORDS }, | |
8980 | { "glRasterPos4fv", (PyCFunction) _wrap_glRasterPos4fv, METH_VARARGS | METH_KEYWORDS }, | |
8981 | { "glRasterPos4f", (PyCFunction) _wrap_glRasterPos4f, METH_VARARGS | METH_KEYWORDS }, | |
8982 | { "glRasterPos4dv", (PyCFunction) _wrap_glRasterPos4dv, METH_VARARGS | METH_KEYWORDS }, | |
8983 | { "glRasterPos4d", (PyCFunction) _wrap_glRasterPos4d, METH_VARARGS | METH_KEYWORDS }, | |
8984 | { "glRasterPos3sv", (PyCFunction) _wrap_glRasterPos3sv, METH_VARARGS | METH_KEYWORDS }, | |
8985 | { "glRasterPos3s", (PyCFunction) _wrap_glRasterPos3s, METH_VARARGS | METH_KEYWORDS }, | |
8986 | { "glRasterPos3iv", (PyCFunction) _wrap_glRasterPos3iv, METH_VARARGS | METH_KEYWORDS }, | |
8987 | { "glRasterPos3i", (PyCFunction) _wrap_glRasterPos3i, METH_VARARGS | METH_KEYWORDS }, | |
8988 | { "glRasterPos3fv", (PyCFunction) _wrap_glRasterPos3fv, METH_VARARGS | METH_KEYWORDS }, | |
8989 | { "glRasterPos3f", (PyCFunction) _wrap_glRasterPos3f, METH_VARARGS | METH_KEYWORDS }, | |
8990 | { "glRasterPos3dv", (PyCFunction) _wrap_glRasterPos3dv, METH_VARARGS | METH_KEYWORDS }, | |
8991 | { "glRasterPos3d", (PyCFunction) _wrap_glRasterPos3d, METH_VARARGS | METH_KEYWORDS }, | |
8992 | { "glRasterPos2sv", (PyCFunction) _wrap_glRasterPos2sv, METH_VARARGS | METH_KEYWORDS }, | |
8993 | { "glRasterPos2s", (PyCFunction) _wrap_glRasterPos2s, METH_VARARGS | METH_KEYWORDS }, | |
8994 | { "glRasterPos2iv", (PyCFunction) _wrap_glRasterPos2iv, METH_VARARGS | METH_KEYWORDS }, | |
8995 | { "glRasterPos2i", (PyCFunction) _wrap_glRasterPos2i, METH_VARARGS | METH_KEYWORDS }, | |
8996 | { "glRasterPos2fv", (PyCFunction) _wrap_glRasterPos2fv, METH_VARARGS | METH_KEYWORDS }, | |
8997 | { "glRasterPos2f", (PyCFunction) _wrap_glRasterPos2f, METH_VARARGS | METH_KEYWORDS }, | |
8998 | { "glRasterPos2dv", (PyCFunction) _wrap_glRasterPos2dv, METH_VARARGS | METH_KEYWORDS }, | |
8999 | { "glRasterPos2d", (PyCFunction) _wrap_glRasterPos2d, METH_VARARGS | METH_KEYWORDS }, | |
9000 | { "glPushName", (PyCFunction) _wrap_glPushName, METH_VARARGS | METH_KEYWORDS }, | |
9001 | { "glPushMatrix", (PyCFunction) _wrap_glPushMatrix, METH_VARARGS | METH_KEYWORDS }, | |
9002 | { "glPushClientAttrib", (PyCFunction) _wrap_glPushClientAttrib, METH_VARARGS | METH_KEYWORDS }, | |
9003 | { "glPushAttrib", (PyCFunction) _wrap_glPushAttrib, METH_VARARGS | METH_KEYWORDS }, | |
9004 | { "glPrioritizeTextures", (PyCFunction) _wrap_glPrioritizeTextures, METH_VARARGS | METH_KEYWORDS }, | |
9005 | { "glPopName", (PyCFunction) _wrap_glPopName, METH_VARARGS | METH_KEYWORDS }, | |
9006 | { "glPopMatrix", (PyCFunction) _wrap_glPopMatrix, METH_VARARGS | METH_KEYWORDS }, | |
9007 | { "glPopClientAttrib", (PyCFunction) _wrap_glPopClientAttrib, METH_VARARGS | METH_KEYWORDS }, | |
9008 | { "glPopAttrib", (PyCFunction) _wrap_glPopAttrib, METH_VARARGS | METH_KEYWORDS }, | |
9009 | { "glPolygonStipple", (PyCFunction) _wrap_glPolygonStipple, METH_VARARGS | METH_KEYWORDS }, | |
9010 | { "glPolygonOffset", (PyCFunction) _wrap_glPolygonOffset, METH_VARARGS | METH_KEYWORDS }, | |
9011 | { "glPolygonMode", (PyCFunction) _wrap_glPolygonMode, METH_VARARGS | METH_KEYWORDS }, | |
9012 | { "glPointSize", (PyCFunction) _wrap_glPointSize, METH_VARARGS | METH_KEYWORDS }, | |
9013 | { "glPixelZoom", (PyCFunction) _wrap_glPixelZoom, METH_VARARGS | METH_KEYWORDS }, | |
9014 | { "glPixelTransferi", (PyCFunction) _wrap_glPixelTransferi, METH_VARARGS | METH_KEYWORDS }, | |
9015 | { "glPixelTransferf", (PyCFunction) _wrap_glPixelTransferf, METH_VARARGS | METH_KEYWORDS }, | |
9016 | { "glPixelStorei", (PyCFunction) _wrap_glPixelStorei, METH_VARARGS | METH_KEYWORDS }, | |
9017 | { "glPixelStoref", (PyCFunction) _wrap_glPixelStoref, METH_VARARGS | METH_KEYWORDS }, | |
9018 | { "glPixelMapusv", (PyCFunction) _wrap_glPixelMapusv, METH_VARARGS | METH_KEYWORDS }, | |
9019 | { "glPixelMapuiv", (PyCFunction) _wrap_glPixelMapuiv, METH_VARARGS | METH_KEYWORDS }, | |
9020 | { "glPixelMapfv", (PyCFunction) _wrap_glPixelMapfv, METH_VARARGS | METH_KEYWORDS }, | |
9021 | { "glPassThrough", (PyCFunction) _wrap_glPassThrough, METH_VARARGS | METH_KEYWORDS }, | |
9022 | { "glOrtho", (PyCFunction) _wrap_glOrtho, METH_VARARGS | METH_KEYWORDS }, | |
9023 | { "glNormalPointer", (PyCFunction) _wrap_glNormalPointer, METH_VARARGS | METH_KEYWORDS }, | |
9024 | { "glNormal3sv", (PyCFunction) _wrap_glNormal3sv, METH_VARARGS | METH_KEYWORDS }, | |
9025 | { "glNormal3s", (PyCFunction) _wrap_glNormal3s, METH_VARARGS | METH_KEYWORDS }, | |
9026 | { "glNormal3iv", (PyCFunction) _wrap_glNormal3iv, METH_VARARGS | METH_KEYWORDS }, | |
9027 | { "glNormal3i", (PyCFunction) _wrap_glNormal3i, METH_VARARGS | METH_KEYWORDS }, | |
9028 | { "glNormal3fv", (PyCFunction) _wrap_glNormal3fv, METH_VARARGS | METH_KEYWORDS }, | |
9029 | { "glNormal3f", (PyCFunction) _wrap_glNormal3f, METH_VARARGS | METH_KEYWORDS }, | |
9030 | { "glNormal3dv", (PyCFunction) _wrap_glNormal3dv, METH_VARARGS | METH_KEYWORDS }, | |
9031 | { "glNormal3d", (PyCFunction) _wrap_glNormal3d, METH_VARARGS | METH_KEYWORDS }, | |
9032 | { "glNormal3bv", (PyCFunction) _wrap_glNormal3bv, METH_VARARGS | METH_KEYWORDS }, | |
9033 | { "glNormal3b", (PyCFunction) _wrap_glNormal3b, METH_VARARGS | METH_KEYWORDS }, | |
9034 | { "glNewList", (PyCFunction) _wrap_glNewList, METH_VARARGS | METH_KEYWORDS }, | |
9035 | { "glMultMatrixf", (PyCFunction) _wrap_glMultMatrixf, METH_VARARGS | METH_KEYWORDS }, | |
9036 | { "glMultMatrixd", (PyCFunction) _wrap_glMultMatrixd, METH_VARARGS | METH_KEYWORDS }, | |
9037 | { "glMatrixMode", (PyCFunction) _wrap_glMatrixMode, METH_VARARGS | METH_KEYWORDS }, | |
9038 | { "glMaterialiv", (PyCFunction) _wrap_glMaterialiv, METH_VARARGS | METH_KEYWORDS }, | |
9039 | { "glMateriali", (PyCFunction) _wrap_glMateriali, METH_VARARGS | METH_KEYWORDS }, | |
9040 | { "glMaterialfv", (PyCFunction) _wrap_glMaterialfv, METH_VARARGS | METH_KEYWORDS }, | |
9041 | { "glMaterialf", (PyCFunction) _wrap_glMaterialf, METH_VARARGS | METH_KEYWORDS }, | |
9042 | { "glMapGrid2f", (PyCFunction) _wrap_glMapGrid2f, METH_VARARGS | METH_KEYWORDS }, | |
9043 | { "glMapGrid2d", (PyCFunction) _wrap_glMapGrid2d, METH_VARARGS | METH_KEYWORDS }, | |
9044 | { "glMapGrid1f", (PyCFunction) _wrap_glMapGrid1f, METH_VARARGS | METH_KEYWORDS }, | |
9045 | { "glMapGrid1d", (PyCFunction) _wrap_glMapGrid1d, METH_VARARGS | METH_KEYWORDS }, | |
9046 | { "glMap2f", (PyCFunction) _wrap_glMap2f, METH_VARARGS | METH_KEYWORDS }, | |
9047 | { "glMap2d", (PyCFunction) _wrap_glMap2d, METH_VARARGS | METH_KEYWORDS }, | |
9048 | { "glMap1f", (PyCFunction) _wrap_glMap1f, METH_VARARGS | METH_KEYWORDS }, | |
9049 | { "glMap1d", (PyCFunction) _wrap_glMap1d, METH_VARARGS | METH_KEYWORDS }, | |
9050 | { "glLogicOp", (PyCFunction) _wrap_glLogicOp, METH_VARARGS | METH_KEYWORDS }, | |
9051 | { "glLoadName", (PyCFunction) _wrap_glLoadName, METH_VARARGS | METH_KEYWORDS }, | |
9052 | { "glLoadMatrixf", (PyCFunction) _wrap_glLoadMatrixf, METH_VARARGS | METH_KEYWORDS }, | |
9053 | { "glLoadMatrixd", (PyCFunction) _wrap_glLoadMatrixd, METH_VARARGS | METH_KEYWORDS }, | |
9054 | { "glLoadIdentity", (PyCFunction) _wrap_glLoadIdentity, METH_VARARGS | METH_KEYWORDS }, | |
9055 | { "glListBase", (PyCFunction) _wrap_glListBase, METH_VARARGS | METH_KEYWORDS }, | |
9056 | { "glLineWidth", (PyCFunction) _wrap_glLineWidth, METH_VARARGS | METH_KEYWORDS }, | |
9057 | { "glLineStipple", (PyCFunction) _wrap_glLineStipple, METH_VARARGS | METH_KEYWORDS }, | |
9058 | { "glLightiv", (PyCFunction) _wrap_glLightiv, METH_VARARGS | METH_KEYWORDS }, | |
9059 | { "glLighti", (PyCFunction) _wrap_glLighti, METH_VARARGS | METH_KEYWORDS }, | |
9060 | { "glLightfv", (PyCFunction) _wrap_glLightfv, METH_VARARGS | METH_KEYWORDS }, | |
9061 | { "glLightf", (PyCFunction) _wrap_glLightf, METH_VARARGS | METH_KEYWORDS }, | |
9062 | { "glLightModeliv", (PyCFunction) _wrap_glLightModeliv, METH_VARARGS | METH_KEYWORDS }, | |
9063 | { "glLightModeli", (PyCFunction) _wrap_glLightModeli, METH_VARARGS | METH_KEYWORDS }, | |
9064 | { "glLightModelfv", (PyCFunction) _wrap_glLightModelfv, METH_VARARGS | METH_KEYWORDS }, | |
9065 | { "glLightModelf", (PyCFunction) _wrap_glLightModelf, METH_VARARGS | METH_KEYWORDS }, | |
9066 | { "glIsTexture", (PyCFunction) _wrap_glIsTexture, METH_VARARGS | METH_KEYWORDS }, | |
9067 | { "glIsList", (PyCFunction) _wrap_glIsList, METH_VARARGS | METH_KEYWORDS }, | |
9068 | { "glIsEnabled", (PyCFunction) _wrap_glIsEnabled, METH_VARARGS | METH_KEYWORDS }, | |
9069 | { "glInterleavedArrays", (PyCFunction) _wrap_glInterleavedArrays, METH_VARARGS | METH_KEYWORDS }, | |
9070 | { "glInitNames", (PyCFunction) _wrap_glInitNames, METH_VARARGS | METH_KEYWORDS }, | |
9071 | { "glIndexubv", (PyCFunction) _wrap_glIndexubv, METH_VARARGS | METH_KEYWORDS }, | |
9072 | { "glIndexub", (PyCFunction) _wrap_glIndexub, METH_VARARGS | METH_KEYWORDS }, | |
9073 | { "glIndexsv", (PyCFunction) _wrap_glIndexsv, METH_VARARGS | METH_KEYWORDS }, | |
9074 | { "glIndexs", (PyCFunction) _wrap_glIndexs, METH_VARARGS | METH_KEYWORDS }, | |
9075 | { "glIndexiv", (PyCFunction) _wrap_glIndexiv, METH_VARARGS | METH_KEYWORDS }, | |
9076 | { "glIndexi", (PyCFunction) _wrap_glIndexi, METH_VARARGS | METH_KEYWORDS }, | |
9077 | { "glIndexfv", (PyCFunction) _wrap_glIndexfv, METH_VARARGS | METH_KEYWORDS }, | |
9078 | { "glIndexf", (PyCFunction) _wrap_glIndexf, METH_VARARGS | METH_KEYWORDS }, | |
9079 | { "glIndexdv", (PyCFunction) _wrap_glIndexdv, METH_VARARGS | METH_KEYWORDS }, | |
9080 | { "glIndexd", (PyCFunction) _wrap_glIndexd, METH_VARARGS | METH_KEYWORDS }, | |
9081 | { "glIndexPointer", (PyCFunction) _wrap_glIndexPointer, METH_VARARGS | METH_KEYWORDS }, | |
9082 | { "glIndexMask", (PyCFunction) _wrap_glIndexMask, METH_VARARGS | METH_KEYWORDS }, | |
9083 | { "glHint", (PyCFunction) _wrap_glHint, METH_VARARGS | METH_KEYWORDS }, | |
9084 | { "glGetTexParameteriv", (PyCFunction) _wrap_glGetTexParameteriv, METH_VARARGS | METH_KEYWORDS }, | |
9085 | { "glGetTexParameterfv", (PyCFunction) _wrap_glGetTexParameterfv, METH_VARARGS | METH_KEYWORDS }, | |
9086 | { "glGetTexLevelParameteriv", (PyCFunction) _wrap_glGetTexLevelParameteriv, METH_VARARGS | METH_KEYWORDS }, | |
9087 | { "glGetTexLevelParameterfv", (PyCFunction) _wrap_glGetTexLevelParameterfv, METH_VARARGS | METH_KEYWORDS }, | |
9088 | { "glGetTexImage", (PyCFunction) _wrap_glGetTexImage, METH_VARARGS | METH_KEYWORDS }, | |
9089 | { "glGetTexGeniv", (PyCFunction) _wrap_glGetTexGeniv, METH_VARARGS | METH_KEYWORDS }, | |
9090 | { "glGetTexGenfv", (PyCFunction) _wrap_glGetTexGenfv, METH_VARARGS | METH_KEYWORDS }, | |
9091 | { "glGetTexGendv", (PyCFunction) _wrap_glGetTexGendv, METH_VARARGS | METH_KEYWORDS }, | |
9092 | { "glGetTexEnviv", (PyCFunction) _wrap_glGetTexEnviv, METH_VARARGS | METH_KEYWORDS }, | |
9093 | { "glGetTexEnvfv", (PyCFunction) _wrap_glGetTexEnvfv, METH_VARARGS | METH_KEYWORDS }, | |
9094 | { "glGetString", (PyCFunction) _wrap_glGetString, METH_VARARGS | METH_KEYWORDS }, | |
9095 | { "glGetPolygonStipple", (PyCFunction) _wrap_glGetPolygonStipple, METH_VARARGS | METH_KEYWORDS }, | |
9096 | { "glGetPointerv", (PyCFunction) _wrap_glGetPointerv, METH_VARARGS | METH_KEYWORDS }, | |
9097 | { "glGetPixelMapusv", (PyCFunction) _wrap_glGetPixelMapusv, METH_VARARGS | METH_KEYWORDS }, | |
9098 | { "glGetPixelMapuiv", (PyCFunction) _wrap_glGetPixelMapuiv, METH_VARARGS | METH_KEYWORDS }, | |
9099 | { "glGetPixelMapfv", (PyCFunction) _wrap_glGetPixelMapfv, METH_VARARGS | METH_KEYWORDS }, | |
9100 | { "glGetMaterialiv", (PyCFunction) _wrap_glGetMaterialiv, METH_VARARGS | METH_KEYWORDS }, | |
9101 | { "glGetMaterialfv", (PyCFunction) _wrap_glGetMaterialfv, METH_VARARGS | METH_KEYWORDS }, | |
9102 | { "glGetMapiv", (PyCFunction) _wrap_glGetMapiv, METH_VARARGS | METH_KEYWORDS }, | |
9103 | { "glGetMapfv", (PyCFunction) _wrap_glGetMapfv, METH_VARARGS | METH_KEYWORDS }, | |
9104 | { "glGetMapdv", (PyCFunction) _wrap_glGetMapdv, METH_VARARGS | METH_KEYWORDS }, | |
9105 | { "glGetLightiv", (PyCFunction) _wrap_glGetLightiv, METH_VARARGS | METH_KEYWORDS }, | |
9106 | { "glGetLightfv", (PyCFunction) _wrap_glGetLightfv, METH_VARARGS | METH_KEYWORDS }, | |
9107 | { "glGetIntegerv", (PyCFunction) _wrap_glGetIntegerv, METH_VARARGS | METH_KEYWORDS }, | |
9108 | { "glGetFloatv", (PyCFunction) _wrap_glGetFloatv, METH_VARARGS | METH_KEYWORDS }, | |
9109 | { "glGetError", (PyCFunction) _wrap_glGetError, METH_VARARGS | METH_KEYWORDS }, | |
9110 | { "glGetDoublev", (PyCFunction) _wrap_glGetDoublev, METH_VARARGS | METH_KEYWORDS }, | |
9111 | { "glGetClipPlane", (PyCFunction) _wrap_glGetClipPlane, METH_VARARGS | METH_KEYWORDS }, | |
9112 | { "glGetBooleanv", (PyCFunction) _wrap_glGetBooleanv, METH_VARARGS | METH_KEYWORDS }, | |
9113 | { "glGenTextures", (PyCFunction) _wrap_glGenTextures, METH_VARARGS | METH_KEYWORDS }, | |
9114 | { "glGenLists", (PyCFunction) _wrap_glGenLists, METH_VARARGS | METH_KEYWORDS }, | |
9115 | { "glFrustum", (PyCFunction) _wrap_glFrustum, METH_VARARGS | METH_KEYWORDS }, | |
9116 | { "glFrontFace", (PyCFunction) _wrap_glFrontFace, METH_VARARGS | METH_KEYWORDS }, | |
9117 | { "glFogiv", (PyCFunction) _wrap_glFogiv, METH_VARARGS | METH_KEYWORDS }, | |
9118 | { "glFogi", (PyCFunction) _wrap_glFogi, METH_VARARGS | METH_KEYWORDS }, | |
9119 | { "glFogfv", (PyCFunction) _wrap_glFogfv, METH_VARARGS | METH_KEYWORDS }, | |
9120 | { "glFogf", (PyCFunction) _wrap_glFogf, METH_VARARGS | METH_KEYWORDS }, | |
9121 | { "glFlush", (PyCFunction) _wrap_glFlush, METH_VARARGS | METH_KEYWORDS }, | |
9122 | { "glFinish", (PyCFunction) _wrap_glFinish, METH_VARARGS | METH_KEYWORDS }, | |
9123 | { "glFeedbackBuffer", (PyCFunction) _wrap_glFeedbackBuffer, METH_VARARGS | METH_KEYWORDS }, | |
9124 | { "glEvalPoint2", (PyCFunction) _wrap_glEvalPoint2, METH_VARARGS | METH_KEYWORDS }, | |
9125 | { "glEvalPoint1", (PyCFunction) _wrap_glEvalPoint1, METH_VARARGS | METH_KEYWORDS }, | |
9126 | { "glEvalMesh2", (PyCFunction) _wrap_glEvalMesh2, METH_VARARGS | METH_KEYWORDS }, | |
9127 | { "glEvalMesh1", (PyCFunction) _wrap_glEvalMesh1, METH_VARARGS | METH_KEYWORDS }, | |
9128 | { "glEvalCoord2fv", (PyCFunction) _wrap_glEvalCoord2fv, METH_VARARGS | METH_KEYWORDS }, | |
9129 | { "glEvalCoord2f", (PyCFunction) _wrap_glEvalCoord2f, METH_VARARGS | METH_KEYWORDS }, | |
9130 | { "glEvalCoord2dv", (PyCFunction) _wrap_glEvalCoord2dv, METH_VARARGS | METH_KEYWORDS }, | |
9131 | { "glEvalCoord2d", (PyCFunction) _wrap_glEvalCoord2d, METH_VARARGS | METH_KEYWORDS }, | |
9132 | { "glEvalCoord1fv", (PyCFunction) _wrap_glEvalCoord1fv, METH_VARARGS | METH_KEYWORDS }, | |
9133 | { "glEvalCoord1f", (PyCFunction) _wrap_glEvalCoord1f, METH_VARARGS | METH_KEYWORDS }, | |
9134 | { "glEvalCoord1dv", (PyCFunction) _wrap_glEvalCoord1dv, METH_VARARGS | METH_KEYWORDS }, | |
9135 | { "glEvalCoord1d", (PyCFunction) _wrap_glEvalCoord1d, METH_VARARGS | METH_KEYWORDS }, | |
9136 | { "glEndList", (PyCFunction) _wrap_glEndList, METH_VARARGS | METH_KEYWORDS }, | |
9137 | { "glEnd", (PyCFunction) _wrap_glEnd, METH_VARARGS | METH_KEYWORDS }, | |
9138 | { "glEnableClientState", (PyCFunction) _wrap_glEnableClientState, METH_VARARGS | METH_KEYWORDS }, | |
9139 | { "glEnable", (PyCFunction) _wrap_glEnable, METH_VARARGS | METH_KEYWORDS }, | |
9140 | { "glEdgeFlagv", (PyCFunction) _wrap_glEdgeFlagv, METH_VARARGS | METH_KEYWORDS }, | |
9141 | { "glEdgeFlagPointer", (PyCFunction) _wrap_glEdgeFlagPointer, METH_VARARGS | METH_KEYWORDS }, | |
9142 | { "glEdgeFlag", (PyCFunction) _wrap_glEdgeFlag, METH_VARARGS | METH_KEYWORDS }, | |
9143 | { "glDrawPixels", (PyCFunction) _wrap_glDrawPixels, METH_VARARGS | METH_KEYWORDS }, | |
9144 | { "glDrawElements", (PyCFunction) _wrap_glDrawElements, METH_VARARGS | METH_KEYWORDS }, | |
9145 | { "glDrawBuffer", (PyCFunction) _wrap_glDrawBuffer, METH_VARARGS | METH_KEYWORDS }, | |
9146 | { "glDrawArrays", (PyCFunction) _wrap_glDrawArrays, METH_VARARGS | METH_KEYWORDS }, | |
9147 | { "glDisableClientState", (PyCFunction) _wrap_glDisableClientState, METH_VARARGS | METH_KEYWORDS }, | |
9148 | { "glDisable", (PyCFunction) _wrap_glDisable, METH_VARARGS | METH_KEYWORDS }, | |
9149 | { "glDepthRange", (PyCFunction) _wrap_glDepthRange, METH_VARARGS | METH_KEYWORDS }, | |
9150 | { "glDepthMask", (PyCFunction) _wrap_glDepthMask, METH_VARARGS | METH_KEYWORDS }, | |
9151 | { "glDepthFunc", (PyCFunction) _wrap_glDepthFunc, METH_VARARGS | METH_KEYWORDS }, | |
9152 | { "glDeleteTextures", (PyCFunction) _wrap_glDeleteTextures, METH_VARARGS | METH_KEYWORDS }, | |
9153 | { "glDeleteLists", (PyCFunction) _wrap_glDeleteLists, METH_VARARGS | METH_KEYWORDS }, | |
9154 | { "glCullFace", (PyCFunction) _wrap_glCullFace, METH_VARARGS | METH_KEYWORDS }, | |
9155 | { "glCopyTexSubImage2D", (PyCFunction) _wrap_glCopyTexSubImage2D, METH_VARARGS | METH_KEYWORDS }, | |
9156 | { "glCopyTexSubImage1D", (PyCFunction) _wrap_glCopyTexSubImage1D, METH_VARARGS | METH_KEYWORDS }, | |
9157 | { "glCopyTexImage2D", (PyCFunction) _wrap_glCopyTexImage2D, METH_VARARGS | METH_KEYWORDS }, | |
9158 | { "glCopyTexImage1D", (PyCFunction) _wrap_glCopyTexImage1D, METH_VARARGS | METH_KEYWORDS }, | |
9159 | { "glCopyPixels", (PyCFunction) _wrap_glCopyPixels, METH_VARARGS | METH_KEYWORDS }, | |
9160 | { "glColorPointer", (PyCFunction) _wrap_glColorPointer, METH_VARARGS | METH_KEYWORDS }, | |
9161 | { "glColorMaterial", (PyCFunction) _wrap_glColorMaterial, METH_VARARGS | METH_KEYWORDS }, | |
9162 | { "glColorMask", (PyCFunction) _wrap_glColorMask, METH_VARARGS | METH_KEYWORDS }, | |
9163 | { "glColor4usv", (PyCFunction) _wrap_glColor4usv, METH_VARARGS | METH_KEYWORDS }, | |
9164 | { "glColor4us", (PyCFunction) _wrap_glColor4us, METH_VARARGS | METH_KEYWORDS }, | |
9165 | { "glColor4uiv", (PyCFunction) _wrap_glColor4uiv, METH_VARARGS | METH_KEYWORDS }, | |
9166 | { "glColor4ui", (PyCFunction) _wrap_glColor4ui, METH_VARARGS | METH_KEYWORDS }, | |
9167 | { "glColor4ubv", (PyCFunction) _wrap_glColor4ubv, METH_VARARGS | METH_KEYWORDS }, | |
9168 | { "glColor4ub", (PyCFunction) _wrap_glColor4ub, METH_VARARGS | METH_KEYWORDS }, | |
9169 | { "glColor4sv", (PyCFunction) _wrap_glColor4sv, METH_VARARGS | METH_KEYWORDS }, | |
9170 | { "glColor4s", (PyCFunction) _wrap_glColor4s, METH_VARARGS | METH_KEYWORDS }, | |
9171 | { "glColor4iv", (PyCFunction) _wrap_glColor4iv, METH_VARARGS | METH_KEYWORDS }, | |
9172 | { "glColor4i", (PyCFunction) _wrap_glColor4i, METH_VARARGS | METH_KEYWORDS }, | |
9173 | { "glColor4fv", (PyCFunction) _wrap_glColor4fv, METH_VARARGS | METH_KEYWORDS }, | |
9174 | { "glColor4f", (PyCFunction) _wrap_glColor4f, METH_VARARGS | METH_KEYWORDS }, | |
9175 | { "glColor4dv", (PyCFunction) _wrap_glColor4dv, METH_VARARGS | METH_KEYWORDS }, | |
9176 | { "glColor4d", (PyCFunction) _wrap_glColor4d, METH_VARARGS | METH_KEYWORDS }, | |
9177 | { "glColor4bv", (PyCFunction) _wrap_glColor4bv, METH_VARARGS | METH_KEYWORDS }, | |
9178 | { "glColor4b", (PyCFunction) _wrap_glColor4b, METH_VARARGS | METH_KEYWORDS }, | |
9179 | { "glColor3usv", (PyCFunction) _wrap_glColor3usv, METH_VARARGS | METH_KEYWORDS }, | |
9180 | { "glColor3us", (PyCFunction) _wrap_glColor3us, METH_VARARGS | METH_KEYWORDS }, | |
9181 | { "glColor3uiv", (PyCFunction) _wrap_glColor3uiv, METH_VARARGS | METH_KEYWORDS }, | |
9182 | { "glColor3ui", (PyCFunction) _wrap_glColor3ui, METH_VARARGS | METH_KEYWORDS }, | |
9183 | { "glColor3ubv", (PyCFunction) _wrap_glColor3ubv, METH_VARARGS | METH_KEYWORDS }, | |
9184 | { "glColor3ub", (PyCFunction) _wrap_glColor3ub, METH_VARARGS | METH_KEYWORDS }, | |
9185 | { "glColor3sv", (PyCFunction) _wrap_glColor3sv, METH_VARARGS | METH_KEYWORDS }, | |
9186 | { "glColor3s", (PyCFunction) _wrap_glColor3s, METH_VARARGS | METH_KEYWORDS }, | |
9187 | { "glColor3iv", (PyCFunction) _wrap_glColor3iv, METH_VARARGS | METH_KEYWORDS }, | |
9188 | { "glColor3i", (PyCFunction) _wrap_glColor3i, METH_VARARGS | METH_KEYWORDS }, | |
9189 | { "glColor3fv", (PyCFunction) _wrap_glColor3fv, METH_VARARGS | METH_KEYWORDS }, | |
9190 | { "glColor3f", (PyCFunction) _wrap_glColor3f, METH_VARARGS | METH_KEYWORDS }, | |
9191 | { "glColor3dv", (PyCFunction) _wrap_glColor3dv, METH_VARARGS | METH_KEYWORDS }, | |
9192 | { "glColor3d", (PyCFunction) _wrap_glColor3d, METH_VARARGS | METH_KEYWORDS }, | |
9193 | { "glColor3bv", (PyCFunction) _wrap_glColor3bv, METH_VARARGS | METH_KEYWORDS }, | |
9194 | { "glColor3b", (PyCFunction) _wrap_glColor3b, METH_VARARGS | METH_KEYWORDS }, | |
9195 | { "glClipPlane", (PyCFunction) _wrap_glClipPlane, METH_VARARGS | METH_KEYWORDS }, | |
9196 | { "glClearStencil", (PyCFunction) _wrap_glClearStencil, METH_VARARGS | METH_KEYWORDS }, | |
9197 | { "glClearIndex", (PyCFunction) _wrap_glClearIndex, METH_VARARGS | METH_KEYWORDS }, | |
9198 | { "glClearDepth", (PyCFunction) _wrap_glClearDepth, METH_VARARGS | METH_KEYWORDS }, | |
9199 | { "glClearColor", (PyCFunction) _wrap_glClearColor, METH_VARARGS | METH_KEYWORDS }, | |
9200 | { "glClearAccum", (PyCFunction) _wrap_glClearAccum, METH_VARARGS | METH_KEYWORDS }, | |
9201 | { "glClear", (PyCFunction) _wrap_glClear, METH_VARARGS | METH_KEYWORDS }, | |
9202 | { "glCallLists", (PyCFunction) _wrap_glCallLists, METH_VARARGS | METH_KEYWORDS }, | |
9203 | { "glCallList", (PyCFunction) _wrap_glCallList, METH_VARARGS | METH_KEYWORDS }, | |
9204 | { "glBlendFunc", (PyCFunction) _wrap_glBlendFunc, METH_VARARGS | METH_KEYWORDS }, | |
9205 | { "glBitmap", (PyCFunction) _wrap_glBitmap, METH_VARARGS | METH_KEYWORDS }, | |
9206 | { "glBindTexture", (PyCFunction) _wrap_glBindTexture, METH_VARARGS | METH_KEYWORDS }, | |
9207 | { "glBegin", (PyCFunction) _wrap_glBegin, METH_VARARGS | METH_KEYWORDS }, | |
9208 | { "glArrayElement", (PyCFunction) _wrap_glArrayElement, METH_VARARGS | METH_KEYWORDS }, | |
9209 | { "glAreTexturesResident", (PyCFunction) _wrap_glAreTexturesResident, METH_VARARGS | METH_KEYWORDS }, | |
9210 | { "glAlphaFunc", (PyCFunction) _wrap_glAlphaFunc, METH_VARARGS | METH_KEYWORDS }, | |
9211 | { "glAccum", (PyCFunction) _wrap_glAccum, METH_VARARGS | METH_KEYWORDS }, | |
9212 | { "glAddSwapHintRectWin", (PyCFunction) _wrap_glAddSwapHintRectWin, METH_VARARGS | METH_KEYWORDS }, | |
9213 | { "glIndexMaterialSGI", (PyCFunction) _wrap_glIndexMaterialSGI, METH_VARARGS | METH_KEYWORDS }, | |
9214 | { "glIndexFuncSGI", (PyCFunction) _wrap_glIndexFuncSGI, METH_VARARGS | METH_KEYWORDS }, | |
9215 | { "glCullParameterfvSGI", (PyCFunction) _wrap_glCullParameterfvSGI, METH_VARARGS | METH_KEYWORDS }, | |
9216 | { "glCullParameterdvSGI", (PyCFunction) _wrap_glCullParameterdvSGI, METH_VARARGS | METH_KEYWORDS }, | |
9217 | { "glUnlockArraysSGI", (PyCFunction) _wrap_glUnlockArraysSGI, METH_VARARGS | METH_KEYWORDS }, | |
9218 | { "glLockArraysSGI", (PyCFunction) _wrap_glLockArraysSGI, METH_VARARGS | METH_KEYWORDS }, | |
9219 | { "glGetColorTavleParameterivEXT", (PyCFunction) _wrap_glGetColorTavleParameterivEXT, METH_VARARGS | METH_KEYWORDS }, | |
9220 | { "glGetColorTableParamaterfvEXT", (PyCFunction) _wrap_glGetColorTableParamaterfvEXT, METH_VARARGS | METH_KEYWORDS }, | |
9221 | { "glGetColorTableEXT", (PyCFunction) _wrap_glGetColorTableEXT, METH_VARARGS | METH_KEYWORDS }, | |
9222 | { "glCopyColorTableEXT", (PyCFunction) _wrap_glCopyColorTableEXT, METH_VARARGS | METH_KEYWORDS }, | |
9223 | { "glColorTableEXT", (PyCFunction) _wrap_glColorTableEXT, METH_VARARGS | METH_KEYWORDS }, | |
9224 | { "glColorSubtableEXT", (PyCFunction) _wrap_glColorSubtableEXT, METH_VARARGS | METH_KEYWORDS }, | |
9225 | { "glVertexPointerEXT", (PyCFunction) _wrap_glVertexPointerEXT, METH_VARARGS | METH_KEYWORDS }, | |
9226 | { "glTexCoordPointerEXT", (PyCFunction) _wrap_glTexCoordPointerEXT, METH_VARARGS | METH_KEYWORDS }, | |
9227 | { "glNormalPointerEXT", (PyCFunction) _wrap_glNormalPointerEXT, METH_VARARGS | METH_KEYWORDS }, | |
9228 | { "glIndexPointerEXT", (PyCFunction) _wrap_glIndexPointerEXT, METH_VARARGS | METH_KEYWORDS }, | |
9229 | { "glGetPointervEXT", (PyCFunction) _wrap_glGetPointervEXT, METH_VARARGS | METH_KEYWORDS }, | |
9230 | { "glEdgeFlagPointerEXT", (PyCFunction) _wrap_glEdgeFlagPointerEXT, METH_VARARGS | METH_KEYWORDS }, | |
9231 | { "glDrawArraysEXT", (PyCFunction) _wrap_glDrawArraysEXT, METH_VARARGS | METH_KEYWORDS }, | |
9232 | { "glColorPointerEXT", (PyCFunction) _wrap_glColorPointerEXT, METH_VARARGS | METH_KEYWORDS }, | |
9233 | { "glArrayElementEXT", (PyCFunction) _wrap_glArrayElementEXT, METH_VARARGS | METH_KEYWORDS }, | |
325274bb RD |
9234 | { NULL, NULL } |
9235 | }; | |
9236 | #ifdef __cplusplus | |
9237 | } | |
9238 | #endif | |
9239 | /* | |
9240 | * This table is used by the pointer type-checker | |
9241 | */ | |
9242 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
9243 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
9244 | { "_wxEvent","_class_wxEvent",0}, | |
9245 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
9246 | { "_GLfloat","_GLclampf",0}, | |
9247 | { "_GLfloat","_float",0}, | |
9248 | { "_signed_long","_long",0}, | |
9249 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
9250 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
9251 | { "_wxBMPHandler","_class_wxBMPHandler",0}, | |
9252 | { "_wxImage","_class_wxImage",0}, | |
9253 | { "_double","_GLclampd",0}, | |
9254 | { "_double","_GLdouble",0}, | |
9255 | { "_wxPrintQuality","_GLuint",0}, | |
9256 | { "_wxPrintQuality","_GLsizei",0}, | |
9257 | { "_wxPrintQuality","_GLint",0}, | |
9258 | { "_wxPrintQuality","_GLbitfield",0}, | |
9259 | { "_wxPrintQuality","_GLenum",0}, | |
9260 | { "_wxPrintQuality","_int",0}, | |
9261 | { "_wxPrintQuality","_signed_int",0}, | |
9262 | { "_wxPrintQuality","_unsigned_int",0}, | |
9263 | { "_wxPrintQuality","_wxWindowID",0}, | |
9264 | { "_wxPrintQuality","_uint",0}, | |
9265 | { "_wxPrintQuality","_EBool",0}, | |
9266 | { "_wxPrintQuality","_size_t",0}, | |
9267 | { "_wxFontData","_class_wxFontData",0}, | |
9268 | { "___wxPyCleanup","_class___wxPyCleanup",0}, | |
9269 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
9270 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
9271 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
9272 | { "_class_wxEvtHandler","_class_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler}, | |
9273 | { "_class_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler}, | |
9274 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
9275 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
9276 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
9277 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
9278 | { "_wxCursor","_class_wxCursor",0}, | |
9279 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
9280 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
9281 | { "_GLsizei","_GLuint",0}, | |
9282 | { "_GLsizei","_int",0}, | |
9283 | { "_GLsizei","_signed_int",0}, | |
9284 | { "_GLsizei","_unsigned_int",0}, | |
9285 | { "_GLsizei","_wxWindowID",0}, | |
9286 | { "_GLsizei","_uint",0}, | |
9287 | { "_GLsizei","_EBool",0}, | |
9288 | { "_GLsizei","_size_t",0}, | |
9289 | { "_GLsizei","_wxPrintQuality",0}, | |
9290 | { "_GLsizei","_GLenum",0}, | |
9291 | { "_GLsizei","_GLbitfield",0}, | |
9292 | { "_GLsizei","_GLint",0}, | |
9293 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, | |
9294 | { "_wxMask","_class_wxMask",0}, | |
9295 | { "_wxToolTip","_class_wxToolTip",0}, | |
9296 | { "_wxGrid","_class_wxGrid",0}, | |
9297 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
9298 | { "_class_wxColourData","_wxColourData",0}, | |
9299 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
9300 | { "_wxPrinter","_class_wxPrinter",0}, | |
9301 | { "_GLbyte","_signed_char",0}, | |
9302 | { "_wxPen","_class_wxPen",0}, | |
9303 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
9304 | { "_byte","_GLubyte",0}, | |
9305 | { "_byte","_GLboolean",0}, | |
9306 | { "_byte","_unsigned_char",0}, | |
9307 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
9308 | { "_wxChoice","_class_wxChoice",0}, | |
9309 | { "_wxSlider","_class_wxSlider",0}, | |
9310 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
9311 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
9312 | { "_long","_wxDash",0}, | |
9313 | { "_long","_unsigned_long",0}, | |
9314 | { "_long","_signed_long",0}, | |
9315 | { "_wxImageList","_class_wxImageList",0}, | |
9316 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
9317 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
9318 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
9319 | { "_GLenum","_GLuint",0}, | |
9320 | { "_GLenum","_GLsizei",0}, | |
9321 | { "_GLenum","_GLint",0}, | |
9322 | { "_GLenum","_GLbitfield",0}, | |
9323 | { "_GLenum","_unsigned_int",0}, | |
9324 | { "_GLenum","_int",0}, | |
9325 | { "_GLenum","_wxWindowID",0}, | |
9326 | { "_GLenum","_uint",0}, | |
9327 | { "_GLenum","_size_t",0}, | |
9328 | { "_GLenum","_wxPrintQuality",0}, | |
9329 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
9330 | { "_wxGLContext","_class_wxGLContext",0}, | |
9331 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
9332 | { "_class_wxGauge","_wxGauge",0}, | |
9333 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
9334 | { "_float","_GLclampf",0}, | |
9335 | { "_float","_GLfloat",0}, | |
9336 | { "_wxDC","_class_wxDC",0}, | |
9337 | { "_wxListEvent","_class_wxListEvent",0}, | |
9338 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
9339 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
9340 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
9341 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
9342 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
9343 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
9344 | { "_size_t","_GLuint",0}, | |
9345 | { "_size_t","_GLsizei",0}, | |
9346 | { "_size_t","_GLint",0}, | |
9347 | { "_size_t","_GLbitfield",0}, | |
9348 | { "_size_t","_GLenum",0}, | |
9349 | { "_size_t","_wxPrintQuality",0}, | |
9350 | { "_size_t","_unsigned_int",0}, | |
9351 | { "_size_t","_int",0}, | |
9352 | { "_size_t","_wxWindowID",0}, | |
9353 | { "_size_t","_uint",0}, | |
9354 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
9355 | { "_wxPrinterDC","_class_wxPrinterDC",0}, | |
9356 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
9357 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
9358 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
9359 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
9360 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
9361 | { "_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel}, | |
9362 | { "_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel}, | |
9363 | { "_wxPanel","_class_wxPanel",0}, | |
9364 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
9365 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
9366 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
9367 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
9368 | { "_signed_char","_GLbyte",0}, | |
9369 | { "_class_wxMask","_wxMask",0}, | |
9370 | { "_class_wxToolTip","_wxToolTip",0}, | |
9371 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
9372 | { "_class_wxGrid","_wxGrid",0}, | |
9373 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
9374 | { "_wxColour","_class_wxColour",0}, | |
9375 | { "_class_wxDialog","_wxDialog",0}, | |
9376 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
9377 | { "_class_wxPrinter","_wxPrinter",0}, | |
9378 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
9379 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
9380 | { "_wxToolBar","_class_wxToolBar",0}, | |
9381 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
9382 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
9383 | { "_wxBrush","_class_wxBrush",0}, | |
9384 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
9385 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
9386 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
9387 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
9388 | { "_GLuint","_unsigned_int",0}, | |
9389 | { "_GLuint","_int",0}, | |
9390 | { "_GLuint","_wxWindowID",0}, | |
9391 | { "_GLuint","_uint",0}, | |
9392 | { "_GLuint","_size_t",0}, | |
9393 | { "_GLuint","_wxPrintQuality",0}, | |
9394 | { "_GLuint","_GLenum",0}, | |
9395 | { "_GLuint","_GLbitfield",0}, | |
9396 | { "_GLuint","_GLint",0}, | |
9397 | { "_GLuint","_GLsizei",0}, | |
9398 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
9399 | { "_uint","_GLuint",0}, | |
9400 | { "_uint","_GLsizei",0}, | |
9401 | { "_uint","_GLint",0}, | |
9402 | { "_uint","_GLbitfield",0}, | |
9403 | { "_uint","_GLenum",0}, | |
9404 | { "_uint","_wxPrintQuality",0}, | |
9405 | { "_uint","_size_t",0}, | |
9406 | { "_uint","_unsigned_int",0}, | |
9407 | { "_uint","_int",0}, | |
9408 | { "_uint","_wxWindowID",0}, | |
9409 | { "_class_wxEvent","_wxEvent",0}, | |
9410 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
9411 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
9412 | { "_wxGridEvent","_class_wxGridEvent",0}, | |
9413 | { "_wxRect","_class_wxRect",0}, | |
9414 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
9415 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
9416 | { "_class_wxImage","_wxImage",0}, | |
9417 | { "_GLclampd","_double",0}, | |
9418 | { "_GLclampd","_GLdouble",0}, | |
9419 | { "_wxPoint","_class_wxPoint",0}, | |
9420 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
9421 | { "_class_wxButton","_wxButton",0}, | |
9422 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
9423 | { "_class_wxFontData","_wxFontData",0}, | |
9424 | { "_class___wxPyCleanup","___wxPyCleanup",0}, | |
9425 | { "_GLclampf","_float",0}, | |
9426 | { "_GLclampf","_GLfloat",0}, | |
9427 | { "_wxBitmap","_class_wxBitmap",0}, | |
9428 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, | |
9429 | { "_wxPrintDialog","_class_wxPrintDialog",0}, | |
9430 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
9431 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
9432 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
9433 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
9434 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
9435 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
9436 | { "_wxPrintData","_class_wxPrintData",0}, | |
9437 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
9438 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
9439 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
9440 | { "_GLbitfield","_GLuint",0}, | |
9441 | { "_GLbitfield","_GLsizei",0}, | |
9442 | { "_GLbitfield","_GLint",0}, | |
9443 | { "_GLbitfield","_unsigned_int",0}, | |
9444 | { "_GLbitfield","_int",0}, | |
9445 | { "_GLbitfield","_wxWindowID",0}, | |
9446 | { "_GLbitfield","_uint",0}, | |
9447 | { "_GLbitfield","_size_t",0}, | |
9448 | { "_GLbitfield","_wxPrintQuality",0}, | |
9449 | { "_GLbitfield","_GLenum",0}, | |
9450 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
9451 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
9452 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
9453 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
9454 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
9455 | { "_wxListItem","_class_wxListItem",0}, | |
9456 | { "_class_wxToolBar","_wxToolBar",0}, | |
9457 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
9458 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
9459 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
9460 | { "_EBool","_GLsizei",0}, | |
9461 | { "_EBool","_GLint",0}, | |
9462 | { "_EBool","_wxPrintQuality",0}, | |
9463 | { "_EBool","_signed_int",0}, | |
9464 | { "_EBool","_int",0}, | |
9465 | { "_EBool","_wxWindowID",0}, | |
9466 | { "_class_wxRegion","_wxRegion",0}, | |
9467 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
9468 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
9469 | { "_wxStaticText","_class_wxStaticText",0}, | |
9470 | { "_wxFont","_class_wxFont",0}, | |
9471 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
9472 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
9473 | { "_wxNotebook","_class_wxNotebook",0}, | |
9474 | { "_unsigned_long","_wxDash",0}, | |
9475 | { "_unsigned_long","_long",0}, | |
9476 | { "_class_wxRect","_wxRect",0}, | |
9477 | { "_class_wxDC","_wxDC",0}, | |
9478 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
9479 | { "_wxPyApp","_class_wxPyApp",0}, | |
9480 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
9481 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
9482 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
9483 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
9484 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
9485 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
9486 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
9487 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
9488 | { "_class_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel}, | |
9489 | { "_class_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel}, | |
9490 | { "_class_wxPanel","_wxPanel",0}, | |
9491 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
9492 | { "_wxComboBox","_class_wxComboBox",0}, | |
9493 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
9494 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
9495 | { "_signed_int","_GLsizei",0}, | |
9496 | { "_signed_int","_GLint",0}, | |
9497 | { "_signed_int","_wxPrintQuality",0}, | |
9498 | { "_signed_int","_EBool",0}, | |
9499 | { "_signed_int","_wxWindowID",0}, | |
9500 | { "_signed_int","_int",0}, | |
9501 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
9502 | { "_GLboolean","_GLubyte",0}, | |
9503 | { "_GLboolean","_unsigned_char",0}, | |
9504 | { "_GLboolean","_byte",0}, | |
9505 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
9506 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
9507 | { "_wxMenu","_class_wxMenu",0}, | |
9508 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
9509 | { "_wxListBox","_class_wxListBox",0}, | |
9510 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
9511 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
9512 | { "_WXTYPE","_GLushort",0}, | |
9513 | { "_WXTYPE","_GLshort",0}, | |
9514 | { "_WXTYPE","_short",0}, | |
9515 | { "_WXTYPE","_signed_short",0}, | |
9516 | { "_WXTYPE","_unsigned_short",0}, | |
9517 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
9518 | { "_GLshort","_GLushort",0}, | |
9519 | { "_GLshort","_short",0}, | |
9520 | { "_GLshort","_signed_short",0}, | |
9521 | { "_GLshort","_unsigned_short",0}, | |
9522 | { "_GLshort","_WXTYPE",0}, | |
9523 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
9524 | { "_class_wxBrush","_wxBrush",0}, | |
9525 | { "_unsigned_short","_GLushort",0}, | |
9526 | { "_unsigned_short","_GLshort",0}, | |
9527 | { "_unsigned_short","_WXTYPE",0}, | |
9528 | { "_unsigned_short","_short",0}, | |
9529 | { "_class_wxWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxWindow}, | |
9530 | { "_class_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow}, | |
9531 | { "_class_wxWindow","_wxWindow",0}, | |
9532 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
9533 | { "_class_wxStaticText","_wxStaticText",0}, | |
9534 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
9535 | { "_GLushort","_unsigned_short",0}, | |
9536 | { "_GLushort","_short",0}, | |
9537 | { "_GLushort","_WXTYPE",0}, | |
9538 | { "_GLushort","_GLshort",0}, | |
9539 | { "_class_wxFont","_wxFont",0}, | |
9540 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
9541 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
9542 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
9543 | { "_wxClientDC","_class_wxClientDC",0}, | |
9544 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
9545 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
9546 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
9547 | { "_wxGLCanvas","_class_wxGLCanvas",0}, | |
9548 | { "_class_wxPoint","_wxPoint",0}, | |
9549 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
9550 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
9551 | { "_wxGridCell","_class_wxGridCell",0}, | |
9552 | { "_signed_short","_GLshort",0}, | |
9553 | { "_signed_short","_WXTYPE",0}, | |
9554 | { "_signed_short","_short",0}, | |
9555 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
9556 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, | |
9557 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
9558 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
9559 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
9560 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
9561 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
9562 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
9563 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
9564 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
9565 | { "_class_wxCursor","_wxCursor",0}, | |
9566 | { "_class_wxImageHandler","_wxImageHandler",0}, | |
9567 | { "_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow}, | |
9568 | { "_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow}, | |
9569 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
9570 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
9571 | { "_unsigned_char","_GLubyte",0}, | |
9572 | { "_unsigned_char","_GLboolean",0}, | |
9573 | { "_unsigned_char","_byte",0}, | |
9574 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
9575 | { "_class_wxMenu","_wxMenu",0}, | |
9576 | { "_wxControl","_class_wxControl",0}, | |
9577 | { "_class_wxListBox","_wxListBox",0}, | |
9578 | { "_unsigned_int","_GLuint",0}, | |
9579 | { "_unsigned_int","_GLsizei",0}, | |
9580 | { "_unsigned_int","_GLint",0}, | |
9581 | { "_unsigned_int","_GLbitfield",0}, | |
9582 | { "_unsigned_int","_GLenum",0}, | |
9583 | { "_unsigned_int","_wxPrintQuality",0}, | |
9584 | { "_unsigned_int","_size_t",0}, | |
9585 | { "_unsigned_int","_uint",0}, | |
9586 | { "_unsigned_int","_wxWindowID",0}, | |
9587 | { "_unsigned_int","_int",0}, | |
9588 | { "_wxIcon","_class_wxIcon",0}, | |
9589 | { "_wxDialog","_class_wxDialog",0}, | |
9590 | { "_class_wxListItem","_wxListItem",0}, | |
9591 | { "_GLdouble","_GLclampd",0}, | |
9592 | { "_GLdouble","_double",0}, | |
9593 | { "_class_wxPen","_wxPen",0}, | |
9594 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
9595 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
9596 | { "_short","_GLushort",0}, | |
9597 | { "_short","_GLshort",0}, | |
9598 | { "_short","_WXTYPE",0}, | |
9599 | { "_short","_unsigned_short",0}, | |
9600 | { "_short","_signed_short",0}, | |
9601 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
9602 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
9603 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
9604 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
9605 | { "_class_wxChoice","_wxChoice",0}, | |
9606 | { "_class_wxSlider","_wxSlider",0}, | |
9607 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
9608 | { "_class_wxImageList","_wxImageList",0}, | |
9609 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
9610 | { "_wxFrame","_class_wxFrame",0}, | |
9611 | { "_class_wxGLContext","_wxGLContext",0}, | |
9612 | { "_class_wxNotebook","_wxNotebook",0}, | |
9613 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
9614 | { "_wxWindowID","_GLuint",0}, | |
9615 | { "_wxWindowID","_GLsizei",0}, | |
9616 | { "_wxWindowID","_GLint",0}, | |
9617 | { "_wxWindowID","_GLbitfield",0}, | |
9618 | { "_wxWindowID","_GLenum",0}, | |
9619 | { "_wxWindowID","_wxPrintQuality",0}, | |
9620 | { "_wxWindowID","_size_t",0}, | |
9621 | { "_wxWindowID","_EBool",0}, | |
9622 | { "_wxWindowID","_uint",0}, | |
9623 | { "_wxWindowID","_int",0}, | |
9624 | { "_wxWindowID","_signed_int",0}, | |
9625 | { "_wxWindowID","_unsigned_int",0}, | |
9626 | { "_int","_GLuint",0}, | |
9627 | { "_int","_GLsizei",0}, | |
9628 | { "_int","_GLint",0}, | |
9629 | { "_int","_GLbitfield",0}, | |
9630 | { "_int","_GLenum",0}, | |
9631 | { "_int","_wxPrintQuality",0}, | |
9632 | { "_int","_size_t",0}, | |
9633 | { "_int","_EBool",0}, | |
9634 | { "_int","_uint",0}, | |
9635 | { "_int","_wxWindowID",0}, | |
9636 | { "_int","_unsigned_int",0}, | |
9637 | { "_int","_signed_int",0}, | |
9638 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
9639 | { "_class_wxListEvent","_wxListEvent",0}, | |
9640 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
9641 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
9642 | { "_wxButton","_class_wxButton",0}, | |
9643 | { "_class_wxPyApp","_wxPyApp",0}, | |
9644 | { "_wxSize","_class_wxSize",0}, | |
9645 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
9646 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
9647 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
9648 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
9649 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
9650 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
9651 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
9652 | { "_class_wxComboBox","_wxComboBox",0}, | |
9653 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
9654 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
9655 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
9656 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
9657 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
9658 | { "_class_wxControl","_wxControl",0}, | |
9659 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
9660 | { "_class_wxIcon","_wxIcon",0}, | |
9661 | { "_class_wxColour","_wxColour",0}, | |
9662 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
9663 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
9664 | { "_wxPalette","_class_wxPalette",0}, | |
9665 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
9666 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
9667 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
9668 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
9669 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
9670 | { "_wxRegion","_class_wxRegion",0}, | |
9671 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
9672 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
9673 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
9674 | { "_GLint","_GLuint",0}, | |
9675 | { "_GLint","_GLsizei",0}, | |
9676 | { "_GLint","_int",0}, | |
9677 | { "_GLint","_signed_int",0}, | |
9678 | { "_GLint","_unsigned_int",0}, | |
9679 | { "_GLint","_wxWindowID",0}, | |
9680 | { "_GLint","_uint",0}, | |
9681 | { "_GLint","_EBool",0}, | |
9682 | { "_GLint","_size_t",0}, | |
9683 | { "_GLint","_wxPrintQuality",0}, | |
9684 | { "_GLint","_GLenum",0}, | |
9685 | { "_GLint","_GLbitfield",0}, | |
9686 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
9687 | { "_wxGauge","_class_wxGauge",0}, | |
9688 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
9689 | { "_class_wxGridEvent","_wxGridEvent",0}, | |
9690 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
9691 | { "_GLubyte","_unsigned_char",0}, | |
9692 | { "_GLubyte","_byte",0}, | |
9693 | { "_GLubyte","_GLboolean",0}, | |
9694 | { "_class_wxClientDC","_wxClientDC",0}, | |
9695 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
9696 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
9697 | { "_class_wxGLCanvas","_wxGLCanvas",0}, | |
9698 | { "_class_wxGridCell","_wxGridCell",0}, | |
9699 | { "_class_wxSize","_wxSize",0}, | |
9700 | { "_class_wxBitmap","_wxBitmap",0}, | |
9701 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
9702 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
9703 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
9704 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
9705 | { "_wxEvtHandler","_class_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler}, | |
9706 | { "_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler}, | |
9707 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
9708 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
9709 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
9710 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
9711 | { "_class_wxPrintData","_wxPrintData",0}, | |
9712 | { "_wxDash","_unsigned_long",0}, | |
9713 | { "_wxDash","_long",0}, | |
9714 | { "_class_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow}, | |
9715 | { "_class_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow}, | |
9716 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
9717 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
9718 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
9719 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
9720 | { "_wxColourData","_class_wxColourData",0}, | |
9721 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
9722 | { "_class_wxPalette","_wxPalette",0}, | |
9723 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
9724 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
9725 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
9726 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
9727 | { "_wxWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxWindow}, | |
9728 | { "_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow}, | |
9729 | { "_wxWindow","_class_wxWindow",0}, | |
9730 | { "_class_wxFrame","_wxFrame",0}, | |
9731 | {0,0,0}}; | |
9732 | ||
9733 | static PyObject *SWIG_globals; | |
9734 | #ifdef __cplusplus | |
9735 | extern "C" | |
9736 | #endif | |
9737 | SWIGEXPORT(void) initglcanvasc() { | |
9738 | PyObject *m, *d; | |
9739 | SWIG_globals = SWIG_newvarlink(); | |
9740 | m = Py_InitModule("glcanvasc", glcanvascMethods); | |
9741 | d = PyModule_GetDict(m); | |
9742 | PyDict_SetItemString(d,"GL_2D", PyInt_FromLong((long) GL_2D)); | |
9743 | PyDict_SetItemString(d,"GL_2_BYTES", PyInt_FromLong((long) GL_2_BYTES)); | |
9744 | PyDict_SetItemString(d,"GL_3D", PyInt_FromLong((long) GL_3D)); | |
9745 | PyDict_SetItemString(d,"GL_3D_COLOR", PyInt_FromLong((long) GL_3D_COLOR)); | |
9746 | PyDict_SetItemString(d,"GL_3D_COLOR_TEXTURE", PyInt_FromLong((long) GL_3D_COLOR_TEXTURE)); | |
9747 | PyDict_SetItemString(d,"GL_3_BYTES", PyInt_FromLong((long) GL_3_BYTES)); | |
9748 | PyDict_SetItemString(d,"GL_4D_COLOR_TEXTURE", PyInt_FromLong((long) GL_4D_COLOR_TEXTURE)); | |
9749 | PyDict_SetItemString(d,"GL_4_BYTES", PyInt_FromLong((long) GL_4_BYTES)); | |
9750 | PyDict_SetItemString(d,"GL_ACCUM", PyInt_FromLong((long) GL_ACCUM)); | |
9751 | PyDict_SetItemString(d,"GL_ACCUM_ALPHA_BITS", PyInt_FromLong((long) GL_ACCUM_ALPHA_BITS)); | |
9752 | PyDict_SetItemString(d,"GL_ACCUM_BLUE_BITS", PyInt_FromLong((long) GL_ACCUM_BLUE_BITS)); | |
9753 | PyDict_SetItemString(d,"GL_ACCUM_BUFFER_BIT", PyInt_FromLong((long) GL_ACCUM_BUFFER_BIT)); | |
9754 | PyDict_SetItemString(d,"GL_ACCUM_CLEAR_VALUE", PyInt_FromLong((long) GL_ACCUM_CLEAR_VALUE)); | |
9755 | PyDict_SetItemString(d,"GL_ACCUM_GREEN_BITS", PyInt_FromLong((long) GL_ACCUM_GREEN_BITS)); | |
9756 | PyDict_SetItemString(d,"GL_ACCUM_RED_BITS", PyInt_FromLong((long) GL_ACCUM_RED_BITS)); | |
9757 | PyDict_SetItemString(d,"GL_ADD", PyInt_FromLong((long) GL_ADD)); | |
9758 | PyDict_SetItemString(d,"GL_ALL_ATTRIB_BITS", PyInt_FromLong((long) GL_ALL_ATTRIB_BITS)); | |
9759 | PyDict_SetItemString(d,"GL_ALPHA", PyInt_FromLong((long) GL_ALPHA)); | |
9760 | PyDict_SetItemString(d,"GL_ALPHA12", PyInt_FromLong((long) GL_ALPHA12)); | |
9761 | PyDict_SetItemString(d,"GL_ALPHA16", PyInt_FromLong((long) GL_ALPHA16)); | |
9762 | PyDict_SetItemString(d,"GL_ALPHA4", PyInt_FromLong((long) GL_ALPHA4)); | |
9763 | PyDict_SetItemString(d,"GL_ALPHA8", PyInt_FromLong((long) GL_ALPHA8)); | |
9764 | PyDict_SetItemString(d,"GL_ALPHA_BIAS", PyInt_FromLong((long) GL_ALPHA_BIAS)); | |
9765 | PyDict_SetItemString(d,"GL_ALPHA_BITS", PyInt_FromLong((long) GL_ALPHA_BITS)); | |
9766 | PyDict_SetItemString(d,"GL_ALPHA_SCALE", PyInt_FromLong((long) GL_ALPHA_SCALE)); | |
9767 | PyDict_SetItemString(d,"GL_ALPHA_TEST", PyInt_FromLong((long) GL_ALPHA_TEST)); | |
9768 | PyDict_SetItemString(d,"GL_ALPHA_TEST_FUNC", PyInt_FromLong((long) GL_ALPHA_TEST_FUNC)); | |
9769 | PyDict_SetItemString(d,"GL_ALPHA_TEST_REF", PyInt_FromLong((long) GL_ALPHA_TEST_REF)); | |
9770 | PyDict_SetItemString(d,"GL_ALWAYS", PyInt_FromLong((long) GL_ALWAYS)); | |
9771 | PyDict_SetItemString(d,"GL_AMBIENT", PyInt_FromLong((long) GL_AMBIENT)); | |
9772 | PyDict_SetItemString(d,"GL_AMBIENT_AND_DIFFUSE", PyInt_FromLong((long) GL_AMBIENT_AND_DIFFUSE)); | |
9773 | PyDict_SetItemString(d,"GL_AND", PyInt_FromLong((long) GL_AND)); | |
9774 | PyDict_SetItemString(d,"GL_AND_INVERTED", PyInt_FromLong((long) GL_AND_INVERTED)); | |
9775 | PyDict_SetItemString(d,"GL_AND_REVERSE", PyInt_FromLong((long) GL_AND_REVERSE)); | |
9776 | PyDict_SetItemString(d,"GL_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_ATTRIB_STACK_DEPTH)); | |
9777 | PyDict_SetItemString(d,"GL_AUTO_NORMAL", PyInt_FromLong((long) GL_AUTO_NORMAL)); | |
9778 | PyDict_SetItemString(d,"GL_AUX0", PyInt_FromLong((long) GL_AUX0)); | |
9779 | PyDict_SetItemString(d,"GL_AUX1", PyInt_FromLong((long) GL_AUX1)); | |
9780 | PyDict_SetItemString(d,"GL_AUX2", PyInt_FromLong((long) GL_AUX2)); | |
9781 | PyDict_SetItemString(d,"GL_AUX3", PyInt_FromLong((long) GL_AUX3)); | |
9782 | PyDict_SetItemString(d,"GL_AUX_BUFFERS", PyInt_FromLong((long) GL_AUX_BUFFERS)); | |
9783 | PyDict_SetItemString(d,"GL_BACK", PyInt_FromLong((long) GL_BACK)); | |
9784 | PyDict_SetItemString(d,"GL_BACK_LEFT", PyInt_FromLong((long) GL_BACK_LEFT)); | |
9785 | PyDict_SetItemString(d,"GL_BACK_RIGHT", PyInt_FromLong((long) GL_BACK_RIGHT)); | |
9786 | PyDict_SetItemString(d,"GL_BGRA_EXT", PyInt_FromLong((long) GL_BGRA_EXT)); | |
9787 | PyDict_SetItemString(d,"GL_BGR_EXT", PyInt_FromLong((long) GL_BGR_EXT)); | |
9788 | PyDict_SetItemString(d,"GL_BITMAP", PyInt_FromLong((long) GL_BITMAP)); | |
9789 | PyDict_SetItemString(d,"GL_BITMAP_TOKEN", PyInt_FromLong((long) GL_BITMAP_TOKEN)); | |
9790 | PyDict_SetItemString(d,"GL_BLEND", PyInt_FromLong((long) GL_BLEND)); | |
9791 | PyDict_SetItemString(d,"GL_BLEND_DST", PyInt_FromLong((long) GL_BLEND_DST)); | |
9792 | PyDict_SetItemString(d,"GL_BLEND_SRC", PyInt_FromLong((long) GL_BLEND_SRC)); | |
9793 | PyDict_SetItemString(d,"GL_BLUE", PyInt_FromLong((long) GL_BLUE)); | |
9794 | PyDict_SetItemString(d,"GL_BLUE_BIAS", PyInt_FromLong((long) GL_BLUE_BIAS)); | |
9795 | PyDict_SetItemString(d,"GL_BLUE_BITS", PyInt_FromLong((long) GL_BLUE_BITS)); | |
9796 | PyDict_SetItemString(d,"GL_BLUE_SCALE", PyInt_FromLong((long) GL_BLUE_SCALE)); | |
9797 | PyDict_SetItemString(d,"GL_BYTE", PyInt_FromLong((long) GL_BYTE)); | |
9798 | PyDict_SetItemString(d,"GL_C3F_V3F", PyInt_FromLong((long) GL_C3F_V3F)); | |
9799 | PyDict_SetItemString(d,"GL_C4F_N3F_V3F", PyInt_FromLong((long) GL_C4F_N3F_V3F)); | |
9800 | PyDict_SetItemString(d,"GL_C4UB_V2F", PyInt_FromLong((long) GL_C4UB_V2F)); | |
9801 | PyDict_SetItemString(d,"GL_C4UB_V3F", PyInt_FromLong((long) GL_C4UB_V3F)); | |
9802 | PyDict_SetItemString(d,"GL_CCW", PyInt_FromLong((long) GL_CCW)); | |
9803 | PyDict_SetItemString(d,"GL_CLAMP", PyInt_FromLong((long) GL_CLAMP)); | |
9804 | PyDict_SetItemString(d,"GL_CLEAR", PyInt_FromLong((long) GL_CLEAR)); | |
9805 | PyDict_SetItemString(d,"GL_CLIENT_ALL_ATTRIB_BITS", PyInt_FromLong((long) GL_CLIENT_ALL_ATTRIB_BITS)); | |
9806 | PyDict_SetItemString(d,"GL_CLIENT_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_CLIENT_ATTRIB_STACK_DEPTH)); | |
9807 | PyDict_SetItemString(d,"GL_CLIENT_PIXEL_STORE_BIT", PyInt_FromLong((long) GL_CLIENT_PIXEL_STORE_BIT)); | |
9808 | PyDict_SetItemString(d,"GL_CLIENT_VERTEX_ARRAY_BIT", PyInt_FromLong((long) GL_CLIENT_VERTEX_ARRAY_BIT)); | |
9809 | PyDict_SetItemString(d,"GL_CLIP_PLANE0", PyInt_FromLong((long) GL_CLIP_PLANE0)); | |
9810 | PyDict_SetItemString(d,"GL_CLIP_PLANE1", PyInt_FromLong((long) GL_CLIP_PLANE1)); | |
9811 | PyDict_SetItemString(d,"GL_CLIP_PLANE2", PyInt_FromLong((long) GL_CLIP_PLANE2)); | |
9812 | PyDict_SetItemString(d,"GL_CLIP_PLANE3", PyInt_FromLong((long) GL_CLIP_PLANE3)); | |
9813 | PyDict_SetItemString(d,"GL_CLIP_PLANE4", PyInt_FromLong((long) GL_CLIP_PLANE4)); | |
9814 | PyDict_SetItemString(d,"GL_CLIP_PLANE5", PyInt_FromLong((long) GL_CLIP_PLANE5)); | |
9815 | PyDict_SetItemString(d,"GL_COEFF", PyInt_FromLong((long) GL_COEFF)); | |
9816 | PyDict_SetItemString(d,"GL_COLOR", PyInt_FromLong((long) GL_COLOR)); | |
9817 | PyDict_SetItemString(d,"GL_COLOR_ARRAY", PyInt_FromLong((long) GL_COLOR_ARRAY)); | |
9818 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_COUNT_EXT)); | |
9819 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_EXT)); | |
9820 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_POINTER", PyInt_FromLong((long) GL_COLOR_ARRAY_POINTER)); | |
9821 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_POINTER_EXT)); | |
9822 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_SIZE", PyInt_FromLong((long) GL_COLOR_ARRAY_SIZE)); | |
9823 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_SIZE_EXT)); | |
9824 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_STRIDE", PyInt_FromLong((long) GL_COLOR_ARRAY_STRIDE)); | |
9825 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_STRIDE_EXT)); | |
9826 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_TYPE", PyInt_FromLong((long) GL_COLOR_ARRAY_TYPE)); | |
9827 | PyDict_SetItemString(d,"GL_COLOR_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_COLOR_ARRAY_TYPE_EXT)); | |
9828 | PyDict_SetItemString(d,"GL_COLOR_BUFFER_BIT", PyInt_FromLong((long) GL_COLOR_BUFFER_BIT)); | |
9829 | PyDict_SetItemString(d,"GL_COLOR_CLEAR_VALUE", PyInt_FromLong((long) GL_COLOR_CLEAR_VALUE)); | |
9830 | PyDict_SetItemString(d,"GL_COLOR_INDEX", PyInt_FromLong((long) GL_COLOR_INDEX)); | |
9831 | PyDict_SetItemString(d,"GL_COLOR_INDEX12_EXT", PyInt_FromLong((long) GL_COLOR_INDEX12_EXT)); | |
9832 | PyDict_SetItemString(d,"GL_COLOR_INDEX16_EXT", PyInt_FromLong((long) GL_COLOR_INDEX16_EXT)); | |
9833 | PyDict_SetItemString(d,"GL_COLOR_INDEX1_EXT", PyInt_FromLong((long) GL_COLOR_INDEX1_EXT)); | |
9834 | PyDict_SetItemString(d,"GL_COLOR_INDEX2_EXT", PyInt_FromLong((long) GL_COLOR_INDEX2_EXT)); | |
9835 | PyDict_SetItemString(d,"GL_COLOR_INDEX4_EXT", PyInt_FromLong((long) GL_COLOR_INDEX4_EXT)); | |
9836 | PyDict_SetItemString(d,"GL_COLOR_INDEX8_EXT", PyInt_FromLong((long) GL_COLOR_INDEX8_EXT)); | |
9837 | PyDict_SetItemString(d,"GL_COLOR_INDEXES", PyInt_FromLong((long) GL_COLOR_INDEXES)); | |
9838 | PyDict_SetItemString(d,"GL_COLOR_LOGIC_OP", PyInt_FromLong((long) GL_COLOR_LOGIC_OP)); | |
9839 | PyDict_SetItemString(d,"GL_COLOR_MATERIAL", PyInt_FromLong((long) GL_COLOR_MATERIAL)); | |
9840 | PyDict_SetItemString(d,"GL_COLOR_MATERIAL_FACE", PyInt_FromLong((long) GL_COLOR_MATERIAL_FACE)); | |
9841 | PyDict_SetItemString(d,"GL_COLOR_MATERIAL_PARAMETER", PyInt_FromLong((long) GL_COLOR_MATERIAL_PARAMETER)); | |
9842 | PyDict_SetItemString(d,"GL_COLOR_TABLE_ALPHA_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_ALPHA_SIZE_EXT)); | |
9843 | PyDict_SetItemString(d,"GL_COLOR_TABLE_BLUE_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_BLUE_SIZE_EXT)); | |
9844 | PyDict_SetItemString(d,"GL_COLOR_TABLE_FORMAT_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_FORMAT_EXT)); | |
9845 | PyDict_SetItemString(d,"GL_COLOR_TABLE_GREEN_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_GREEN_SIZE_EXT)); | |
9846 | PyDict_SetItemString(d,"GL_COLOR_TABLE_INTENSITY_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_INTENSITY_SIZE_EXT)); | |
9847 | PyDict_SetItemString(d,"GL_COLOR_TABLE_LUMINANCE_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_LUMINANCE_SIZE_EXT)); | |
9848 | PyDict_SetItemString(d,"GL_COLOR_TABLE_RED_SIZE_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_RED_SIZE_EXT)); | |
9849 | PyDict_SetItemString(d,"GL_COLOR_TABLE_WIDTH_EXT", PyInt_FromLong((long) GL_COLOR_TABLE_WIDTH_EXT)); | |
9850 | PyDict_SetItemString(d,"GL_COLOR_WRITEMASK", PyInt_FromLong((long) GL_COLOR_WRITEMASK)); | |
9851 | PyDict_SetItemString(d,"GL_COMPILE", PyInt_FromLong((long) GL_COMPILE)); | |
9852 | PyDict_SetItemString(d,"GL_COMPILE_AND_EXECUTE", PyInt_FromLong((long) GL_COMPILE_AND_EXECUTE)); | |
9853 | PyDict_SetItemString(d,"GL_CONSTANT_ATTENUATION", PyInt_FromLong((long) GL_CONSTANT_ATTENUATION)); | |
9854 | PyDict_SetItemString(d,"GL_COPY", PyInt_FromLong((long) GL_COPY)); | |
9855 | PyDict_SetItemString(d,"GL_COPY_INVERTED", PyInt_FromLong((long) GL_COPY_INVERTED)); | |
9856 | PyDict_SetItemString(d,"GL_COPY_PIXEL_TOKEN", PyInt_FromLong((long) GL_COPY_PIXEL_TOKEN)); | |
9857 | PyDict_SetItemString(d,"GL_CULL_FACE", PyInt_FromLong((long) GL_CULL_FACE)); | |
9858 | PyDict_SetItemString(d,"GL_CULL_FACE_MODE", PyInt_FromLong((long) GL_CULL_FACE_MODE)); | |
9859 | PyDict_SetItemString(d,"GL_CURRENT_BIT", PyInt_FromLong((long) GL_CURRENT_BIT)); | |
9860 | PyDict_SetItemString(d,"GL_CURRENT_COLOR", PyInt_FromLong((long) GL_CURRENT_COLOR)); | |
9861 | PyDict_SetItemString(d,"GL_CURRENT_INDEX", PyInt_FromLong((long) GL_CURRENT_INDEX)); | |
9862 | PyDict_SetItemString(d,"GL_CURRENT_NORMAL", PyInt_FromLong((long) GL_CURRENT_NORMAL)); | |
9863 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_COLOR", PyInt_FromLong((long) GL_CURRENT_RASTER_COLOR)); | |
9864 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_DISTANCE", PyInt_FromLong((long) GL_CURRENT_RASTER_DISTANCE)); | |
9865 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_INDEX", PyInt_FromLong((long) GL_CURRENT_RASTER_INDEX)); | |
9866 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_POSITION", PyInt_FromLong((long) GL_CURRENT_RASTER_POSITION)); | |
9867 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_POSITION_VALID", PyInt_FromLong((long) GL_CURRENT_RASTER_POSITION_VALID)); | |
9868 | PyDict_SetItemString(d,"GL_CURRENT_RASTER_TEXTURE_COORDS", PyInt_FromLong((long) GL_CURRENT_RASTER_TEXTURE_COORDS)); | |
9869 | PyDict_SetItemString(d,"GL_CURRENT_TEXTURE_COORDS", PyInt_FromLong((long) GL_CURRENT_TEXTURE_COORDS)); | |
9870 | PyDict_SetItemString(d,"GL_CW", PyInt_FromLong((long) GL_CW)); | |
9871 | PyDict_SetItemString(d,"GL_DECAL", PyInt_FromLong((long) GL_DECAL)); | |
9872 | PyDict_SetItemString(d,"GL_DECR", PyInt_FromLong((long) GL_DECR)); | |
9873 | PyDict_SetItemString(d,"GL_DEPTH", PyInt_FromLong((long) GL_DEPTH)); | |
9874 | PyDict_SetItemString(d,"GL_DEPTH_BIAS", PyInt_FromLong((long) GL_DEPTH_BIAS)); | |
9875 | PyDict_SetItemString(d,"GL_DEPTH_BITS", PyInt_FromLong((long) GL_DEPTH_BITS)); | |
9876 | PyDict_SetItemString(d,"GL_DEPTH_BUFFER_BIT", PyInt_FromLong((long) GL_DEPTH_BUFFER_BIT)); | |
9877 | PyDict_SetItemString(d,"GL_DEPTH_CLEAR_VALUE", PyInt_FromLong((long) GL_DEPTH_CLEAR_VALUE)); | |
9878 | PyDict_SetItemString(d,"GL_DEPTH_COMPONENT", PyInt_FromLong((long) GL_DEPTH_COMPONENT)); | |
9879 | PyDict_SetItemString(d,"GL_DEPTH_FUNC", PyInt_FromLong((long) GL_DEPTH_FUNC)); | |
9880 | PyDict_SetItemString(d,"GL_DEPTH_RANGE", PyInt_FromLong((long) GL_DEPTH_RANGE)); | |
9881 | PyDict_SetItemString(d,"GL_DEPTH_SCALE", PyInt_FromLong((long) GL_DEPTH_SCALE)); | |
9882 | PyDict_SetItemString(d,"GL_DEPTH_TEST", PyInt_FromLong((long) GL_DEPTH_TEST)); | |
9883 | PyDict_SetItemString(d,"GL_DEPTH_WRITEMASK", PyInt_FromLong((long) GL_DEPTH_WRITEMASK)); | |
9884 | PyDict_SetItemString(d,"GL_DIFFUSE", PyInt_FromLong((long) GL_DIFFUSE)); | |
9885 | PyDict_SetItemString(d,"GL_DITHER", PyInt_FromLong((long) GL_DITHER)); | |
9886 | PyDict_SetItemString(d,"GL_DOMAIN", PyInt_FromLong((long) GL_DOMAIN)); | |
9887 | PyDict_SetItemString(d,"GL_DONT_CARE", PyInt_FromLong((long) GL_DONT_CARE)); | |
9888 | PyDict_SetItemString(d,"GL_DOUBLE", PyInt_FromLong((long) GL_DOUBLE)); | |
9889 | PyDict_SetItemString(d,"GL_DOUBLEBUFFER", PyInt_FromLong((long) GL_DOUBLEBUFFER)); | |
9890 | PyDict_SetItemString(d,"GL_DOUBLE_EXT", PyInt_FromLong((long) GL_DOUBLE_EXT)); | |
9891 | PyDict_SetItemString(d,"GL_DRAW_BUFFER", PyInt_FromLong((long) GL_DRAW_BUFFER)); | |
9892 | PyDict_SetItemString(d,"GL_DRAW_PIXEL_TOKEN", PyInt_FromLong((long) GL_DRAW_PIXEL_TOKEN)); | |
9893 | PyDict_SetItemString(d,"GL_DST_ALPHA", PyInt_FromLong((long) GL_DST_ALPHA)); | |
9894 | PyDict_SetItemString(d,"GL_DST_COLOR", PyInt_FromLong((long) GL_DST_COLOR)); | |
9895 | PyDict_SetItemString(d,"GL_EDGE_FLAG", PyInt_FromLong((long) GL_EDGE_FLAG)); | |
9896 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY)); | |
9897 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_COUNT_EXT)); | |
9898 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_EXT)); | |
9899 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_POINTER", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_POINTER)); | |
9900 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_POINTER_EXT)); | |
9901 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_STRIDE", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_STRIDE)); | |
9902 | PyDict_SetItemString(d,"GL_EDGE_FLAG_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_EDGE_FLAG_ARRAY_STRIDE_EXT)); | |
9903 | PyDict_SetItemString(d,"GL_EMISSION", PyInt_FromLong((long) GL_EMISSION)); | |
9904 | PyDict_SetItemString(d,"GL_ENABLE_BIT", PyInt_FromLong((long) GL_ENABLE_BIT)); | |
9905 | PyDict_SetItemString(d,"GL_EQUAL", PyInt_FromLong((long) GL_EQUAL)); | |
9906 | PyDict_SetItemString(d,"GL_EQUIV", PyInt_FromLong((long) GL_EQUIV)); | |
9907 | PyDict_SetItemString(d,"GL_EVAL_BIT", PyInt_FromLong((long) GL_EVAL_BIT)); | |
9908 | PyDict_SetItemString(d,"GL_EXP", PyInt_FromLong((long) GL_EXP)); | |
9909 | PyDict_SetItemString(d,"GL_EXP2", PyInt_FromLong((long) GL_EXP2)); | |
9910 | PyDict_SetItemString(d,"GL_EXTENSIONS", PyInt_FromLong((long) GL_EXTENSIONS)); | |
9911 | PyDict_SetItemString(d,"GL_EXT_bgra", PyInt_FromLong((long) GL_EXT_bgra)); | |
9912 | PyDict_SetItemString(d,"GL_EXT_paletted_texture", PyInt_FromLong((long) GL_EXT_paletted_texture)); | |
9913 | PyDict_SetItemString(d,"GL_EXT_vertex_array", PyInt_FromLong((long) GL_EXT_vertex_array)); | |
9914 | PyDict_SetItemString(d,"GL_EYE_LINEAR", PyInt_FromLong((long) GL_EYE_LINEAR)); | |
9915 | PyDict_SetItemString(d,"GL_EYE_PLANE", PyInt_FromLong((long) GL_EYE_PLANE)); | |
9916 | PyDict_SetItemString(d,"GL_FALSE", PyInt_FromLong((long) GL_FALSE)); | |
9917 | PyDict_SetItemString(d,"GL_FASTEST", PyInt_FromLong((long) GL_FASTEST)); | |
9918 | PyDict_SetItemString(d,"GL_FEEDBACK", PyInt_FromLong((long) GL_FEEDBACK)); | |
9919 | PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_POINTER", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_POINTER)); | |
9920 | PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_SIZE", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_SIZE)); | |
9921 | PyDict_SetItemString(d,"GL_FEEDBACK_BUFFER_TYPE", PyInt_FromLong((long) GL_FEEDBACK_BUFFER_TYPE)); | |
9922 | PyDict_SetItemString(d,"GL_FILL", PyInt_FromLong((long) GL_FILL)); | |
9923 | PyDict_SetItemString(d,"GL_FLAT", PyInt_FromLong((long) GL_FLAT)); | |
9924 | PyDict_SetItemString(d,"GL_FLOAT", PyInt_FromLong((long) GL_FLOAT)); | |
9925 | PyDict_SetItemString(d,"GL_FOG", PyInt_FromLong((long) GL_FOG)); | |
9926 | PyDict_SetItemString(d,"GL_FOG_BIT", PyInt_FromLong((long) GL_FOG_BIT)); | |
9927 | PyDict_SetItemString(d,"GL_FOG_COLOR", PyInt_FromLong((long) GL_FOG_COLOR)); | |
9928 | PyDict_SetItemString(d,"GL_FOG_DENSITY", PyInt_FromLong((long) GL_FOG_DENSITY)); | |
9929 | PyDict_SetItemString(d,"GL_FOG_END", PyInt_FromLong((long) GL_FOG_END)); | |
9930 | PyDict_SetItemString(d,"GL_FOG_HINT", PyInt_FromLong((long) GL_FOG_HINT)); | |
9931 | PyDict_SetItemString(d,"GL_FOG_INDEX", PyInt_FromLong((long) GL_FOG_INDEX)); | |
9932 | PyDict_SetItemString(d,"GL_FOG_MODE", PyInt_FromLong((long) GL_FOG_MODE)); | |
9933 | PyDict_SetItemString(d,"GL_FOG_START", PyInt_FromLong((long) GL_FOG_START)); | |
9934 | PyDict_SetItemString(d,"GL_FRONT", PyInt_FromLong((long) GL_FRONT)); | |
9935 | PyDict_SetItemString(d,"GL_FRONT_AND_BACK", PyInt_FromLong((long) GL_FRONT_AND_BACK)); | |
9936 | PyDict_SetItemString(d,"GL_FRONT_FACE", PyInt_FromLong((long) GL_FRONT_FACE)); | |
9937 | PyDict_SetItemString(d,"GL_FRONT_LEFT", PyInt_FromLong((long) GL_FRONT_LEFT)); | |
9938 | PyDict_SetItemString(d,"GL_FRONT_RIGHT", PyInt_FromLong((long) GL_FRONT_RIGHT)); | |
9939 | PyDict_SetItemString(d,"GL_GEQUAL", PyInt_FromLong((long) GL_GEQUAL)); | |
9940 | PyDict_SetItemString(d,"GL_GREATER", PyInt_FromLong((long) GL_GREATER)); | |
9941 | PyDict_SetItemString(d,"GL_GREEN", PyInt_FromLong((long) GL_GREEN)); | |
9942 | PyDict_SetItemString(d,"GL_GREEN_BIAS", PyInt_FromLong((long) GL_GREEN_BIAS)); | |
9943 | PyDict_SetItemString(d,"GL_GREEN_BITS", PyInt_FromLong((long) GL_GREEN_BITS)); | |
9944 | PyDict_SetItemString(d,"GL_GREEN_SCALE", PyInt_FromLong((long) GL_GREEN_SCALE)); | |
9945 | PyDict_SetItemString(d,"GL_HINT_BIT", PyInt_FromLong((long) GL_HINT_BIT)); | |
9946 | PyDict_SetItemString(d,"GL_INCR", PyInt_FromLong((long) GL_INCR)); | |
9947 | PyDict_SetItemString(d,"GL_INDEX_ARRAY", PyInt_FromLong((long) GL_INDEX_ARRAY)); | |
9948 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_COUNT_EXT)); | |
9949 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_EXT)); | |
9950 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_POINTER", PyInt_FromLong((long) GL_INDEX_ARRAY_POINTER)); | |
9951 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_POINTER_EXT)); | |
9952 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_STRIDE", PyInt_FromLong((long) GL_INDEX_ARRAY_STRIDE)); | |
9953 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_STRIDE_EXT)); | |
9954 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_TYPE", PyInt_FromLong((long) GL_INDEX_ARRAY_TYPE)); | |
9955 | PyDict_SetItemString(d,"GL_INDEX_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_INDEX_ARRAY_TYPE_EXT)); | |
9956 | PyDict_SetItemString(d,"GL_INDEX_BITS", PyInt_FromLong((long) GL_INDEX_BITS)); | |
9957 | PyDict_SetItemString(d,"GL_INDEX_CLEAR_VALUE", PyInt_FromLong((long) GL_INDEX_CLEAR_VALUE)); | |
9958 | PyDict_SetItemString(d,"GL_INDEX_LOGIC_OP", PyInt_FromLong((long) GL_INDEX_LOGIC_OP)); | |
9959 | PyDict_SetItemString(d,"GL_INDEX_MODE", PyInt_FromLong((long) GL_INDEX_MODE)); | |
9960 | PyDict_SetItemString(d,"GL_INDEX_OFFSET", PyInt_FromLong((long) GL_INDEX_OFFSET)); | |
9961 | PyDict_SetItemString(d,"GL_INDEX_SHIFT", PyInt_FromLong((long) GL_INDEX_SHIFT)); | |
9962 | PyDict_SetItemString(d,"GL_INDEX_WRITEMASK", PyInt_FromLong((long) GL_INDEX_WRITEMASK)); | |
9963 | PyDict_SetItemString(d,"GL_INT", PyInt_FromLong((long) GL_INT)); | |
9964 | PyDict_SetItemString(d,"GL_INTENSITY", PyInt_FromLong((long) GL_INTENSITY)); | |
9965 | PyDict_SetItemString(d,"GL_INTENSITY12", PyInt_FromLong((long) GL_INTENSITY12)); | |
9966 | PyDict_SetItemString(d,"GL_INTENSITY16", PyInt_FromLong((long) GL_INTENSITY16)); | |
9967 | PyDict_SetItemString(d,"GL_INTENSITY4", PyInt_FromLong((long) GL_INTENSITY4)); | |
9968 | PyDict_SetItemString(d,"GL_INTENSITY8", PyInt_FromLong((long) GL_INTENSITY8)); | |
9969 | PyDict_SetItemString(d,"GL_INVALID_ENUM", PyInt_FromLong((long) GL_INVALID_ENUM)); | |
9970 | PyDict_SetItemString(d,"GL_INVALID_OPERATION", PyInt_FromLong((long) GL_INVALID_OPERATION)); | |
9971 | PyDict_SetItemString(d,"GL_INVALID_VALUE", PyInt_FromLong((long) GL_INVALID_VALUE)); | |
9972 | PyDict_SetItemString(d,"GL_INVERT", PyInt_FromLong((long) GL_INVERT)); | |
9973 | PyDict_SetItemString(d,"GL_KEEP", PyInt_FromLong((long) GL_KEEP)); | |
9974 | PyDict_SetItemString(d,"GL_LEFT", PyInt_FromLong((long) GL_LEFT)); | |
9975 | PyDict_SetItemString(d,"GL_LEQUAL", PyInt_FromLong((long) GL_LEQUAL)); | |
9976 | PyDict_SetItemString(d,"GL_LESS", PyInt_FromLong((long) GL_LESS)); | |
9977 | PyDict_SetItemString(d,"GL_LIGHT0", PyInt_FromLong((long) GL_LIGHT0)); | |
9978 | PyDict_SetItemString(d,"GL_LIGHT1", PyInt_FromLong((long) GL_LIGHT1)); | |
9979 | PyDict_SetItemString(d,"GL_LIGHT2", PyInt_FromLong((long) GL_LIGHT2)); | |
9980 | PyDict_SetItemString(d,"GL_LIGHT3", PyInt_FromLong((long) GL_LIGHT3)); | |
9981 | PyDict_SetItemString(d,"GL_LIGHT4", PyInt_FromLong((long) GL_LIGHT4)); | |
9982 | PyDict_SetItemString(d,"GL_LIGHT5", PyInt_FromLong((long) GL_LIGHT5)); | |
9983 | PyDict_SetItemString(d,"GL_LIGHT6", PyInt_FromLong((long) GL_LIGHT6)); | |
9984 | PyDict_SetItemString(d,"GL_LIGHT7", PyInt_FromLong((long) GL_LIGHT7)); | |
9985 | PyDict_SetItemString(d,"GL_LIGHTING", PyInt_FromLong((long) GL_LIGHTING)); | |
9986 | PyDict_SetItemString(d,"GL_LIGHTING_BIT", PyInt_FromLong((long) GL_LIGHTING_BIT)); | |
9987 | PyDict_SetItemString(d,"GL_LIGHT_MODEL_AMBIENT", PyInt_FromLong((long) GL_LIGHT_MODEL_AMBIENT)); | |
9988 | PyDict_SetItemString(d,"GL_LIGHT_MODEL_LOCAL_VIEWER", PyInt_FromLong((long) GL_LIGHT_MODEL_LOCAL_VIEWER)); | |
9989 | PyDict_SetItemString(d,"GL_LIGHT_MODEL_TWO_SIDE", PyInt_FromLong((long) GL_LIGHT_MODEL_TWO_SIDE)); | |
9990 | PyDict_SetItemString(d,"GL_LINE", PyInt_FromLong((long) GL_LINE)); | |
9991 | PyDict_SetItemString(d,"GL_LINEAR", PyInt_FromLong((long) GL_LINEAR)); | |
9992 | PyDict_SetItemString(d,"GL_LINEAR_ATTENUATION", PyInt_FromLong((long) GL_LINEAR_ATTENUATION)); | |
9993 | PyDict_SetItemString(d,"GL_LINEAR_MIPMAP_LINEAR", PyInt_FromLong((long) GL_LINEAR_MIPMAP_LINEAR)); | |
9994 | PyDict_SetItemString(d,"GL_LINEAR_MIPMAP_NEAREST", PyInt_FromLong((long) GL_LINEAR_MIPMAP_NEAREST)); | |
9995 | PyDict_SetItemString(d,"GL_LINES", PyInt_FromLong((long) GL_LINES)); | |
9996 | PyDict_SetItemString(d,"GL_LINE_BIT", PyInt_FromLong((long) GL_LINE_BIT)); | |
9997 | PyDict_SetItemString(d,"GL_LINE_LOOP", PyInt_FromLong((long) GL_LINE_LOOP)); | |
9998 | PyDict_SetItemString(d,"GL_LINE_RESET_TOKEN", PyInt_FromLong((long) GL_LINE_RESET_TOKEN)); | |
9999 | PyDict_SetItemString(d,"GL_LINE_SMOOTH", PyInt_FromLong((long) GL_LINE_SMOOTH)); | |
10000 | PyDict_SetItemString(d,"GL_LINE_SMOOTH_HINT", PyInt_FromLong((long) GL_LINE_SMOOTH_HINT)); | |
10001 | PyDict_SetItemString(d,"GL_LINE_STIPPLE", PyInt_FromLong((long) GL_LINE_STIPPLE)); | |
10002 | PyDict_SetItemString(d,"GL_LINE_STIPPLE_PATTERN", PyInt_FromLong((long) GL_LINE_STIPPLE_PATTERN)); | |
10003 | PyDict_SetItemString(d,"GL_LINE_STIPPLE_REPEAT", PyInt_FromLong((long) GL_LINE_STIPPLE_REPEAT)); | |
10004 | PyDict_SetItemString(d,"GL_LINE_STRIP", PyInt_FromLong((long) GL_LINE_STRIP)); | |
10005 | PyDict_SetItemString(d,"GL_LINE_TOKEN", PyInt_FromLong((long) GL_LINE_TOKEN)); | |
10006 | PyDict_SetItemString(d,"GL_LINE_WIDTH", PyInt_FromLong((long) GL_LINE_WIDTH)); | |
10007 | PyDict_SetItemString(d,"GL_LINE_WIDTH_GRANULARITY", PyInt_FromLong((long) GL_LINE_WIDTH_GRANULARITY)); | |
10008 | PyDict_SetItemString(d,"GL_LINE_WIDTH_RANGE", PyInt_FromLong((long) GL_LINE_WIDTH_RANGE)); | |
10009 | PyDict_SetItemString(d,"GL_LIST_BASE", PyInt_FromLong((long) GL_LIST_BASE)); | |
10010 | PyDict_SetItemString(d,"GL_LIST_BIT", PyInt_FromLong((long) GL_LIST_BIT)); | |
10011 | PyDict_SetItemString(d,"GL_LIST_INDEX", PyInt_FromLong((long) GL_LIST_INDEX)); | |
10012 | PyDict_SetItemString(d,"GL_LIST_MODE", PyInt_FromLong((long) GL_LIST_MODE)); | |
10013 | PyDict_SetItemString(d,"GL_LOAD", PyInt_FromLong((long) GL_LOAD)); | |
10014 | PyDict_SetItemString(d,"GL_LOGIC_OP", PyInt_FromLong((long) GL_LOGIC_OP)); | |
10015 | PyDict_SetItemString(d,"GL_LOGIC_OP_MODE", PyInt_FromLong((long) GL_LOGIC_OP_MODE)); | |
10016 | PyDict_SetItemString(d,"GL_LUMINANCE", PyInt_FromLong((long) GL_LUMINANCE)); | |
10017 | PyDict_SetItemString(d,"GL_LUMINANCE12", PyInt_FromLong((long) GL_LUMINANCE12)); | |
10018 | PyDict_SetItemString(d,"GL_LUMINANCE12_ALPHA12", PyInt_FromLong((long) GL_LUMINANCE12_ALPHA12)); | |
10019 | PyDict_SetItemString(d,"GL_LUMINANCE12_ALPHA4", PyInt_FromLong((long) GL_LUMINANCE12_ALPHA4)); | |
10020 | PyDict_SetItemString(d,"GL_LUMINANCE16", PyInt_FromLong((long) GL_LUMINANCE16)); | |
10021 | PyDict_SetItemString(d,"GL_LUMINANCE16_ALPHA16", PyInt_FromLong((long) GL_LUMINANCE16_ALPHA16)); | |
10022 | PyDict_SetItemString(d,"GL_LUMINANCE4", PyInt_FromLong((long) GL_LUMINANCE4)); | |
10023 | PyDict_SetItemString(d,"GL_LUMINANCE4_ALPHA4", PyInt_FromLong((long) GL_LUMINANCE4_ALPHA4)); | |
10024 | PyDict_SetItemString(d,"GL_LUMINANCE6_ALPHA2", PyInt_FromLong((long) GL_LUMINANCE6_ALPHA2)); | |
10025 | PyDict_SetItemString(d,"GL_LUMINANCE8", PyInt_FromLong((long) GL_LUMINANCE8)); | |
10026 | PyDict_SetItemString(d,"GL_LUMINANCE8_ALPHA8", PyInt_FromLong((long) GL_LUMINANCE8_ALPHA8)); | |
10027 | PyDict_SetItemString(d,"GL_LUMINANCE_ALPHA", PyInt_FromLong((long) GL_LUMINANCE_ALPHA)); | |
10028 | PyDict_SetItemString(d,"GL_MAP1_COLOR_4", PyInt_FromLong((long) GL_MAP1_COLOR_4)); | |
10029 | PyDict_SetItemString(d,"GL_MAP1_GRID_DOMAIN", PyInt_FromLong((long) GL_MAP1_GRID_DOMAIN)); | |
10030 | PyDict_SetItemString(d,"GL_MAP1_GRID_SEGMENTS", PyInt_FromLong((long) GL_MAP1_GRID_SEGMENTS)); | |
10031 | PyDict_SetItemString(d,"GL_MAP1_INDEX", PyInt_FromLong((long) GL_MAP1_INDEX)); | |
10032 | PyDict_SetItemString(d,"GL_MAP1_NORMAL", PyInt_FromLong((long) GL_MAP1_NORMAL)); | |
10033 | PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_1", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_1)); | |
10034 | PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_2", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_2)); | |
10035 | PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_3", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_3)); | |
10036 | PyDict_SetItemString(d,"GL_MAP1_TEXTURE_COORD_4", PyInt_FromLong((long) GL_MAP1_TEXTURE_COORD_4)); | |
10037 | PyDict_SetItemString(d,"GL_MAP1_VERTEX_3", PyInt_FromLong((long) GL_MAP1_VERTEX_3)); | |
10038 | PyDict_SetItemString(d,"GL_MAP1_VERTEX_4", PyInt_FromLong((long) GL_MAP1_VERTEX_4)); | |
10039 | PyDict_SetItemString(d,"GL_MAP2_COLOR_4", PyInt_FromLong((long) GL_MAP2_COLOR_4)); | |
10040 | PyDict_SetItemString(d,"GL_MAP2_GRID_DOMAIN", PyInt_FromLong((long) GL_MAP2_GRID_DOMAIN)); | |
10041 | PyDict_SetItemString(d,"GL_MAP2_GRID_SEGMENTS", PyInt_FromLong((long) GL_MAP2_GRID_SEGMENTS)); | |
10042 | PyDict_SetItemString(d,"GL_MAP2_INDEX", PyInt_FromLong((long) GL_MAP2_INDEX)); | |
10043 | PyDict_SetItemString(d,"GL_MAP2_NORMAL", PyInt_FromLong((long) GL_MAP2_NORMAL)); | |
10044 | PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_1", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_1)); | |
10045 | PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_2", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_2)); | |
10046 | PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_3", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_3)); | |
10047 | PyDict_SetItemString(d,"GL_MAP2_TEXTURE_COORD_4", PyInt_FromLong((long) GL_MAP2_TEXTURE_COORD_4)); | |
10048 | PyDict_SetItemString(d,"GL_MAP2_VERTEX_3", PyInt_FromLong((long) GL_MAP2_VERTEX_3)); | |
10049 | PyDict_SetItemString(d,"GL_MAP2_VERTEX_4", PyInt_FromLong((long) GL_MAP2_VERTEX_4)); | |
10050 | PyDict_SetItemString(d,"GL_MAP_COLOR", PyInt_FromLong((long) GL_MAP_COLOR)); | |
10051 | PyDict_SetItemString(d,"GL_MAP_STENCIL", PyInt_FromLong((long) GL_MAP_STENCIL)); | |
10052 | PyDict_SetItemString(d,"GL_MATRIX_MODE", PyInt_FromLong((long) GL_MATRIX_MODE)); | |
10053 | PyDict_SetItemString(d,"GL_MAX_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_ATTRIB_STACK_DEPTH)); | |
10054 | PyDict_SetItemString(d,"GL_MAX_CLIENT_ATTRIB_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_CLIENT_ATTRIB_STACK_DEPTH)); | |
10055 | PyDict_SetItemString(d,"GL_MAX_CLIP_PLANES", PyInt_FromLong((long) GL_MAX_CLIP_PLANES)); | |
10056 | PyDict_SetItemString(d,"GL_MAX_EVAL_ORDER", PyInt_FromLong((long) GL_MAX_EVAL_ORDER)); | |
10057 | PyDict_SetItemString(d,"GL_MAX_LIGHTS", PyInt_FromLong((long) GL_MAX_LIGHTS)); | |
10058 | PyDict_SetItemString(d,"GL_MAX_LIST_NESTING", PyInt_FromLong((long) GL_MAX_LIST_NESTING)); | |
10059 | PyDict_SetItemString(d,"GL_MAX_MODELVIEW_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_MODELVIEW_STACK_DEPTH)); | |
10060 | PyDict_SetItemString(d,"GL_MAX_NAME_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_NAME_STACK_DEPTH)); | |
10061 | PyDict_SetItemString(d,"GL_MAX_PIXEL_MAP_TABLE", PyInt_FromLong((long) GL_MAX_PIXEL_MAP_TABLE)); | |
10062 | PyDict_SetItemString(d,"GL_MAX_PROJECTION_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_PROJECTION_STACK_DEPTH)); | |
10063 | PyDict_SetItemString(d,"GL_MAX_TEXTURE_SIZE", PyInt_FromLong((long) GL_MAX_TEXTURE_SIZE)); | |
10064 | PyDict_SetItemString(d,"GL_MAX_TEXTURE_STACK_DEPTH", PyInt_FromLong((long) GL_MAX_TEXTURE_STACK_DEPTH)); | |
10065 | PyDict_SetItemString(d,"GL_MAX_VIEWPORT_DIMS", PyInt_FromLong((long) GL_MAX_VIEWPORT_DIMS)); | |
10066 | PyDict_SetItemString(d,"GL_MODELVIEW", PyInt_FromLong((long) GL_MODELVIEW)); | |
10067 | PyDict_SetItemString(d,"GL_MODELVIEW_MATRIX", PyInt_FromLong((long) GL_MODELVIEW_MATRIX)); | |
10068 | PyDict_SetItemString(d,"GL_MODELVIEW_STACK_DEPTH", PyInt_FromLong((long) GL_MODELVIEW_STACK_DEPTH)); | |
10069 | PyDict_SetItemString(d,"GL_MODULATE", PyInt_FromLong((long) GL_MODULATE)); | |
10070 | PyDict_SetItemString(d,"GL_MULT", PyInt_FromLong((long) GL_MULT)); | |
10071 | PyDict_SetItemString(d,"GL_N3F_V3F", PyInt_FromLong((long) GL_N3F_V3F)); | |
10072 | PyDict_SetItemString(d,"GL_NAME_STACK_DEPTH", PyInt_FromLong((long) GL_NAME_STACK_DEPTH)); | |
10073 | PyDict_SetItemString(d,"GL_NAND", PyInt_FromLong((long) GL_NAND)); | |
10074 | PyDict_SetItemString(d,"GL_NEAREST", PyInt_FromLong((long) GL_NEAREST)); | |
10075 | PyDict_SetItemString(d,"GL_NEAREST_MIPMAP_LINEAR", PyInt_FromLong((long) GL_NEAREST_MIPMAP_LINEAR)); | |
10076 | PyDict_SetItemString(d,"GL_NEAREST_MIPMAP_NEAREST", PyInt_FromLong((long) GL_NEAREST_MIPMAP_NEAREST)); | |
10077 | PyDict_SetItemString(d,"GL_NEVER", PyInt_FromLong((long) GL_NEVER)); | |
10078 | PyDict_SetItemString(d,"GL_NICEST", PyInt_FromLong((long) GL_NICEST)); | |
10079 | PyDict_SetItemString(d,"GL_NONE", PyInt_FromLong((long) GL_NONE)); | |
10080 | PyDict_SetItemString(d,"GL_NOOP", PyInt_FromLong((long) GL_NOOP)); | |
10081 | PyDict_SetItemString(d,"GL_NOR", PyInt_FromLong((long) GL_NOR)); | |
10082 | PyDict_SetItemString(d,"GL_NORMALIZE", PyInt_FromLong((long) GL_NORMALIZE)); | |
10083 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY", PyInt_FromLong((long) GL_NORMAL_ARRAY)); | |
10084 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_COUNT_EXT)); | |
10085 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_EXT)); | |
10086 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_POINTER", PyInt_FromLong((long) GL_NORMAL_ARRAY_POINTER)); | |
10087 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_POINTER_EXT)); | |
10088 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_STRIDE", PyInt_FromLong((long) GL_NORMAL_ARRAY_STRIDE)); | |
10089 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_STRIDE_EXT)); | |
10090 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_TYPE", PyInt_FromLong((long) GL_NORMAL_ARRAY_TYPE)); | |
10091 | PyDict_SetItemString(d,"GL_NORMAL_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_NORMAL_ARRAY_TYPE_EXT)); | |
10092 | PyDict_SetItemString(d,"GL_NOTEQUAL", PyInt_FromLong((long) GL_NOTEQUAL)); | |
10093 | PyDict_SetItemString(d,"GL_NO_ERROR", PyInt_FromLong((long) GL_NO_ERROR)); | |
10094 | PyDict_SetItemString(d,"GL_OBJECT_LINEAR", PyInt_FromLong((long) GL_OBJECT_LINEAR)); | |
10095 | PyDict_SetItemString(d,"GL_OBJECT_PLANE", PyInt_FromLong((long) GL_OBJECT_PLANE)); | |
10096 | PyDict_SetItemString(d,"GL_ONE", PyInt_FromLong((long) GL_ONE)); | |
10097 | PyDict_SetItemString(d,"GL_ONE_MINUS_DST_ALPHA", PyInt_FromLong((long) GL_ONE_MINUS_DST_ALPHA)); | |
10098 | PyDict_SetItemString(d,"GL_ONE_MINUS_DST_COLOR", PyInt_FromLong((long) GL_ONE_MINUS_DST_COLOR)); | |
10099 | PyDict_SetItemString(d,"GL_ONE_MINUS_SRC_ALPHA", PyInt_FromLong((long) GL_ONE_MINUS_SRC_ALPHA)); | |
10100 | PyDict_SetItemString(d,"GL_ONE_MINUS_SRC_COLOR", PyInt_FromLong((long) GL_ONE_MINUS_SRC_COLOR)); | |
10101 | PyDict_SetItemString(d,"GL_OR", PyInt_FromLong((long) GL_OR)); | |
10102 | PyDict_SetItemString(d,"GL_ORDER", PyInt_FromLong((long) GL_ORDER)); | |
10103 | PyDict_SetItemString(d,"GL_OR_INVERTED", PyInt_FromLong((long) GL_OR_INVERTED)); | |
10104 | PyDict_SetItemString(d,"GL_OR_REVERSE", PyInt_FromLong((long) GL_OR_REVERSE)); | |
10105 | PyDict_SetItemString(d,"GL_OUT_OF_MEMORY", PyInt_FromLong((long) GL_OUT_OF_MEMORY)); | |
10106 | PyDict_SetItemString(d,"GL_PACK_ALIGNMENT", PyInt_FromLong((long) GL_PACK_ALIGNMENT)); | |
10107 | PyDict_SetItemString(d,"GL_PACK_LSB_FIRST", PyInt_FromLong((long) GL_PACK_LSB_FIRST)); | |
10108 | PyDict_SetItemString(d,"GL_PACK_ROW_LENGTH", PyInt_FromLong((long) GL_PACK_ROW_LENGTH)); | |
10109 | PyDict_SetItemString(d,"GL_PACK_SKIP_PIXELS", PyInt_FromLong((long) GL_PACK_SKIP_PIXELS)); | |
10110 | PyDict_SetItemString(d,"GL_PACK_SKIP_ROWS", PyInt_FromLong((long) GL_PACK_SKIP_ROWS)); | |
10111 | PyDict_SetItemString(d,"GL_PACK_SWAP_BYTES", PyInt_FromLong((long) GL_PACK_SWAP_BYTES)); | |
10112 | PyDict_SetItemString(d,"GL_PASS_THROUGH_TOKEN", PyInt_FromLong((long) GL_PASS_THROUGH_TOKEN)); | |
10113 | PyDict_SetItemString(d,"GL_PERSPECTIVE_CORRECTION_HINT", PyInt_FromLong((long) GL_PERSPECTIVE_CORRECTION_HINT)); | |
10114 | PyDict_SetItemString(d,"GL_PIXEL_MAP_A_TO_A", PyInt_FromLong((long) GL_PIXEL_MAP_A_TO_A)); | |
10115 | PyDict_SetItemString(d,"GL_PIXEL_MAP_A_TO_A_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_A_TO_A_SIZE)); | |
10116 | PyDict_SetItemString(d,"GL_PIXEL_MAP_B_TO_B", PyInt_FromLong((long) GL_PIXEL_MAP_B_TO_B)); | |
10117 | PyDict_SetItemString(d,"GL_PIXEL_MAP_B_TO_B_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_B_TO_B_SIZE)); | |
10118 | PyDict_SetItemString(d,"GL_PIXEL_MAP_G_TO_G", PyInt_FromLong((long) GL_PIXEL_MAP_G_TO_G)); | |
10119 | PyDict_SetItemString(d,"GL_PIXEL_MAP_G_TO_G_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_G_TO_G_SIZE)); | |
10120 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_A", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_A)); | |
10121 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_A_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_A_SIZE)); | |
10122 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_B", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_B)); | |
10123 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_B_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_B_SIZE)); | |
10124 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_G", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_G)); | |
10125 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_G_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_G_SIZE)); | |
10126 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_I", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_I)); | |
10127 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_I_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_I_SIZE)); | |
10128 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_R", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_R)); | |
10129 | PyDict_SetItemString(d,"GL_PIXEL_MAP_I_TO_R_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_I_TO_R_SIZE)); | |
10130 | PyDict_SetItemString(d,"GL_PIXEL_MAP_R_TO_R", PyInt_FromLong((long) GL_PIXEL_MAP_R_TO_R)); | |
10131 | PyDict_SetItemString(d,"GL_PIXEL_MAP_R_TO_R_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_R_TO_R_SIZE)); | |
10132 | PyDict_SetItemString(d,"GL_PIXEL_MAP_S_TO_S", PyInt_FromLong((long) GL_PIXEL_MAP_S_TO_S)); | |
10133 | PyDict_SetItemString(d,"GL_PIXEL_MAP_S_TO_S_SIZE", PyInt_FromLong((long) GL_PIXEL_MAP_S_TO_S_SIZE)); | |
10134 | PyDict_SetItemString(d,"GL_PIXEL_MODE_BIT", PyInt_FromLong((long) GL_PIXEL_MODE_BIT)); | |
10135 | PyDict_SetItemString(d,"GL_POINT", PyInt_FromLong((long) GL_POINT)); | |
10136 | PyDict_SetItemString(d,"GL_POINTS", PyInt_FromLong((long) GL_POINTS)); | |
10137 | PyDict_SetItemString(d,"GL_POINT_BIT", PyInt_FromLong((long) GL_POINT_BIT)); | |
10138 | PyDict_SetItemString(d,"GL_POINT_SIZE", PyInt_FromLong((long) GL_POINT_SIZE)); | |
10139 | PyDict_SetItemString(d,"GL_POINT_SIZE_GRANULARITY", PyInt_FromLong((long) GL_POINT_SIZE_GRANULARITY)); | |
10140 | PyDict_SetItemString(d,"GL_POINT_SIZE_RANGE", PyInt_FromLong((long) GL_POINT_SIZE_RANGE)); | |
10141 | PyDict_SetItemString(d,"GL_POINT_SMOOTH", PyInt_FromLong((long) GL_POINT_SMOOTH)); | |
10142 | PyDict_SetItemString(d,"GL_POINT_SMOOTH_HINT", PyInt_FromLong((long) GL_POINT_SMOOTH_HINT)); | |
10143 | PyDict_SetItemString(d,"GL_POINT_TOKEN", PyInt_FromLong((long) GL_POINT_TOKEN)); | |
10144 | PyDict_SetItemString(d,"GL_POLYGON", PyInt_FromLong((long) GL_POLYGON)); | |
10145 | PyDict_SetItemString(d,"GL_POLYGON_BIT", PyInt_FromLong((long) GL_POLYGON_BIT)); | |
10146 | PyDict_SetItemString(d,"GL_POLYGON_MODE", PyInt_FromLong((long) GL_POLYGON_MODE)); | |
10147 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_FACTOR", PyInt_FromLong((long) GL_POLYGON_OFFSET_FACTOR)); | |
10148 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_FILL", PyInt_FromLong((long) GL_POLYGON_OFFSET_FILL)); | |
10149 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_LINE", PyInt_FromLong((long) GL_POLYGON_OFFSET_LINE)); | |
10150 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_POINT", PyInt_FromLong((long) GL_POLYGON_OFFSET_POINT)); | |
10151 | PyDict_SetItemString(d,"GL_POLYGON_OFFSET_UNITS", PyInt_FromLong((long) GL_POLYGON_OFFSET_UNITS)); | |
10152 | PyDict_SetItemString(d,"GL_POLYGON_SMOOTH", PyInt_FromLong((long) GL_POLYGON_SMOOTH)); | |
10153 | PyDict_SetItemString(d,"GL_POLYGON_SMOOTH_HINT", PyInt_FromLong((long) GL_POLYGON_SMOOTH_HINT)); | |
10154 | PyDict_SetItemString(d,"GL_POLYGON_STIPPLE", PyInt_FromLong((long) GL_POLYGON_STIPPLE)); | |
10155 | PyDict_SetItemString(d,"GL_POLYGON_STIPPLE_BIT", PyInt_FromLong((long) GL_POLYGON_STIPPLE_BIT)); | |
10156 | PyDict_SetItemString(d,"GL_POLYGON_TOKEN", PyInt_FromLong((long) GL_POLYGON_TOKEN)); | |
10157 | PyDict_SetItemString(d,"GL_POSITION", PyInt_FromLong((long) GL_POSITION)); | |
10158 | PyDict_SetItemString(d,"GL_PROJECTION", PyInt_FromLong((long) GL_PROJECTION)); | |
10159 | PyDict_SetItemString(d,"GL_PROJECTION_MATRIX", PyInt_FromLong((long) GL_PROJECTION_MATRIX)); | |
10160 | PyDict_SetItemString(d,"GL_PROJECTION_STACK_DEPTH", PyInt_FromLong((long) GL_PROJECTION_STACK_DEPTH)); | |
10161 | PyDict_SetItemString(d,"GL_PROXY_TEXTURE_1D", PyInt_FromLong((long) GL_PROXY_TEXTURE_1D)); | |
10162 | PyDict_SetItemString(d,"GL_PROXY_TEXTURE_2D", PyInt_FromLong((long) GL_PROXY_TEXTURE_2D)); | |
10163 | PyDict_SetItemString(d,"GL_Q", PyInt_FromLong((long) GL_Q)); | |
10164 | PyDict_SetItemString(d,"GL_QUADRATIC_ATTENUATION", PyInt_FromLong((long) GL_QUADRATIC_ATTENUATION)); | |
10165 | PyDict_SetItemString(d,"GL_QUADS", PyInt_FromLong((long) GL_QUADS)); | |
10166 | PyDict_SetItemString(d,"GL_QUAD_STRIP", PyInt_FromLong((long) GL_QUAD_STRIP)); | |
10167 | PyDict_SetItemString(d,"GL_R", PyInt_FromLong((long) GL_R)); | |
10168 | PyDict_SetItemString(d,"GL_R3_G3_B2", PyInt_FromLong((long) GL_R3_G3_B2)); | |
10169 | PyDict_SetItemString(d,"GL_READ_BUFFER", PyInt_FromLong((long) GL_READ_BUFFER)); | |
10170 | PyDict_SetItemString(d,"GL_RED", PyInt_FromLong((long) GL_RED)); | |
10171 | PyDict_SetItemString(d,"GL_RED_BIAS", PyInt_FromLong((long) GL_RED_BIAS)); | |
10172 | PyDict_SetItemString(d,"GL_RED_BITS", PyInt_FromLong((long) GL_RED_BITS)); | |
10173 | PyDict_SetItemString(d,"GL_RED_SCALE", PyInt_FromLong((long) GL_RED_SCALE)); | |
10174 | PyDict_SetItemString(d,"GL_RENDER", PyInt_FromLong((long) GL_RENDER)); | |
10175 | PyDict_SetItemString(d,"GL_RENDERER", PyInt_FromLong((long) GL_RENDERER)); | |
10176 | PyDict_SetItemString(d,"GL_RENDER_MODE", PyInt_FromLong((long) GL_RENDER_MODE)); | |
10177 | PyDict_SetItemString(d,"GL_REPEAT", PyInt_FromLong((long) GL_REPEAT)); | |
10178 | PyDict_SetItemString(d,"GL_REPLACE", PyInt_FromLong((long) GL_REPLACE)); | |
10179 | PyDict_SetItemString(d,"GL_RETURN", PyInt_FromLong((long) GL_RETURN)); | |
10180 | PyDict_SetItemString(d,"GL_RGB", PyInt_FromLong((long) GL_RGB)); | |
10181 | PyDict_SetItemString(d,"GL_RGB10", PyInt_FromLong((long) GL_RGB10)); | |
10182 | PyDict_SetItemString(d,"GL_RGB10_A2", PyInt_FromLong((long) GL_RGB10_A2)); | |
10183 | PyDict_SetItemString(d,"GL_RGB12", PyInt_FromLong((long) GL_RGB12)); | |
10184 | PyDict_SetItemString(d,"GL_RGB16", PyInt_FromLong((long) GL_RGB16)); | |
10185 | PyDict_SetItemString(d,"GL_RGB4", PyInt_FromLong((long) GL_RGB4)); | |
10186 | PyDict_SetItemString(d,"GL_RGB5", PyInt_FromLong((long) GL_RGB5)); | |
10187 | PyDict_SetItemString(d,"GL_RGB5_A1", PyInt_FromLong((long) GL_RGB5_A1)); | |
10188 | PyDict_SetItemString(d,"GL_RGB8", PyInt_FromLong((long) GL_RGB8)); | |
10189 | PyDict_SetItemString(d,"GL_RGBA", PyInt_FromLong((long) GL_RGBA)); | |
10190 | PyDict_SetItemString(d,"GL_RGBA12", PyInt_FromLong((long) GL_RGBA12)); | |
10191 | PyDict_SetItemString(d,"GL_RGBA16", PyInt_FromLong((long) GL_RGBA16)); | |
10192 | PyDict_SetItemString(d,"GL_RGBA2", PyInt_FromLong((long) GL_RGBA2)); | |
10193 | PyDict_SetItemString(d,"GL_RGBA4", PyInt_FromLong((long) GL_RGBA4)); | |
10194 | PyDict_SetItemString(d,"GL_RGBA8", PyInt_FromLong((long) GL_RGBA8)); | |
10195 | PyDict_SetItemString(d,"GL_RGBA_MODE", PyInt_FromLong((long) GL_RGBA_MODE)); | |
10196 | PyDict_SetItemString(d,"GL_RIGHT", PyInt_FromLong((long) GL_RIGHT)); | |
10197 | PyDict_SetItemString(d,"GL_S", PyInt_FromLong((long) GL_S)); | |
10198 | PyDict_SetItemString(d,"GL_SCISSOR_BIT", PyInt_FromLong((long) GL_SCISSOR_BIT)); | |
10199 | PyDict_SetItemString(d,"GL_SCISSOR_BOX", PyInt_FromLong((long) GL_SCISSOR_BOX)); | |
10200 | PyDict_SetItemString(d,"GL_SCISSOR_TEST", PyInt_FromLong((long) GL_SCISSOR_TEST)); | |
10201 | PyDict_SetItemString(d,"GL_SELECT", PyInt_FromLong((long) GL_SELECT)); | |
10202 | PyDict_SetItemString(d,"GL_SELECTION_BUFFER_POINTER", PyInt_FromLong((long) GL_SELECTION_BUFFER_POINTER)); | |
10203 | PyDict_SetItemString(d,"GL_SELECTION_BUFFER_SIZE", PyInt_FromLong((long) GL_SELECTION_BUFFER_SIZE)); | |
10204 | PyDict_SetItemString(d,"GL_SET", PyInt_FromLong((long) GL_SET)); | |
10205 | PyDict_SetItemString(d,"GL_SHADE_MODEL", PyInt_FromLong((long) GL_SHADE_MODEL)); | |
10206 | PyDict_SetItemString(d,"GL_SHININESS", PyInt_FromLong((long) GL_SHININESS)); | |
10207 | PyDict_SetItemString(d,"GL_SHORT", PyInt_FromLong((long) GL_SHORT)); | |
10208 | PyDict_SetItemString(d,"GL_SMOOTH", PyInt_FromLong((long) GL_SMOOTH)); | |
10209 | PyDict_SetItemString(d,"GL_SPECULAR", PyInt_FromLong((long) GL_SPECULAR)); | |
10210 | PyDict_SetItemString(d,"GL_SPHERE_MAP", PyInt_FromLong((long) GL_SPHERE_MAP)); | |
10211 | PyDict_SetItemString(d,"GL_SPOT_CUTOFF", PyInt_FromLong((long) GL_SPOT_CUTOFF)); | |
10212 | PyDict_SetItemString(d,"GL_SPOT_DIRECTION", PyInt_FromLong((long) GL_SPOT_DIRECTION)); | |
10213 | PyDict_SetItemString(d,"GL_SPOT_EXPONENT", PyInt_FromLong((long) GL_SPOT_EXPONENT)); | |
10214 | PyDict_SetItemString(d,"GL_SRC_ALPHA", PyInt_FromLong((long) GL_SRC_ALPHA)); | |
10215 | PyDict_SetItemString(d,"GL_SRC_ALPHA_SATURATE", PyInt_FromLong((long) GL_SRC_ALPHA_SATURATE)); | |
10216 | PyDict_SetItemString(d,"GL_SRC_COLOR", PyInt_FromLong((long) GL_SRC_COLOR)); | |
10217 | PyDict_SetItemString(d,"GL_STACK_OVERFLOW", PyInt_FromLong((long) GL_STACK_OVERFLOW)); | |
10218 | PyDict_SetItemString(d,"GL_STACK_UNDERFLOW", PyInt_FromLong((long) GL_STACK_UNDERFLOW)); | |
10219 | PyDict_SetItemString(d,"GL_STENCIL", PyInt_FromLong((long) GL_STENCIL)); | |
10220 | PyDict_SetItemString(d,"GL_STENCIL_BITS", PyInt_FromLong((long) GL_STENCIL_BITS)); | |
10221 | PyDict_SetItemString(d,"GL_STENCIL_BUFFER_BIT", PyInt_FromLong((long) GL_STENCIL_BUFFER_BIT)); | |
10222 | PyDict_SetItemString(d,"GL_STENCIL_CLEAR_VALUE", PyInt_FromLong((long) GL_STENCIL_CLEAR_VALUE)); | |
10223 | PyDict_SetItemString(d,"GL_STENCIL_FAIL", PyInt_FromLong((long) GL_STENCIL_FAIL)); | |
10224 | PyDict_SetItemString(d,"GL_STENCIL_FUNC", PyInt_FromLong((long) GL_STENCIL_FUNC)); | |
10225 | PyDict_SetItemString(d,"GL_STENCIL_INDEX", PyInt_FromLong((long) GL_STENCIL_INDEX)); | |
10226 | PyDict_SetItemString(d,"GL_STENCIL_PASS_DEPTH_FAIL", PyInt_FromLong((long) GL_STENCIL_PASS_DEPTH_FAIL)); | |
10227 | PyDict_SetItemString(d,"GL_STENCIL_PASS_DEPTH_PASS", PyInt_FromLong((long) GL_STENCIL_PASS_DEPTH_PASS)); | |
10228 | PyDict_SetItemString(d,"GL_STENCIL_REF", PyInt_FromLong((long) GL_STENCIL_REF)); | |
10229 | PyDict_SetItemString(d,"GL_STENCIL_TEST", PyInt_FromLong((long) GL_STENCIL_TEST)); | |
10230 | PyDict_SetItemString(d,"GL_STENCIL_VALUE_MASK", PyInt_FromLong((long) GL_STENCIL_VALUE_MASK)); | |
10231 | PyDict_SetItemString(d,"GL_STENCIL_WRITEMASK", PyInt_FromLong((long) GL_STENCIL_WRITEMASK)); | |
10232 | PyDict_SetItemString(d,"GL_STEREO", PyInt_FromLong((long) GL_STEREO)); | |
10233 | PyDict_SetItemString(d,"GL_SUBPIXEL_BITS", PyInt_FromLong((long) GL_SUBPIXEL_BITS)); | |
10234 | PyDict_SetItemString(d,"GL_T", PyInt_FromLong((long) GL_T)); | |
10235 | PyDict_SetItemString(d,"GL_T2F_C3F_V3F", PyInt_FromLong((long) GL_T2F_C3F_V3F)); | |
10236 | PyDict_SetItemString(d,"GL_T2F_C4F_N3F_V3F", PyInt_FromLong((long) GL_T2F_C4F_N3F_V3F)); | |
10237 | PyDict_SetItemString(d,"GL_T2F_C4UB_V3F", PyInt_FromLong((long) GL_T2F_C4UB_V3F)); | |
10238 | PyDict_SetItemString(d,"GL_T2F_N3F_V3F", PyInt_FromLong((long) GL_T2F_N3F_V3F)); | |
10239 | PyDict_SetItemString(d,"GL_T2F_V3F", PyInt_FromLong((long) GL_T2F_V3F)); | |
10240 | PyDict_SetItemString(d,"GL_T4F_C4F_N3F_V4F", PyInt_FromLong((long) GL_T4F_C4F_N3F_V4F)); | |
10241 | PyDict_SetItemString(d,"GL_T4F_V4F", PyInt_FromLong((long) GL_T4F_V4F)); | |
10242 | PyDict_SetItemString(d,"GL_TEXTURE", PyInt_FromLong((long) GL_TEXTURE)); | |
10243 | PyDict_SetItemString(d,"GL_TEXTURE_1D", PyInt_FromLong((long) GL_TEXTURE_1D)); | |
10244 | PyDict_SetItemString(d,"GL_TEXTURE_2D", PyInt_FromLong((long) GL_TEXTURE_2D)); | |
10245 | PyDict_SetItemString(d,"GL_TEXTURE_ALPHA_SIZE", PyInt_FromLong((long) GL_TEXTURE_ALPHA_SIZE)); | |
10246 | PyDict_SetItemString(d,"GL_TEXTURE_BINDING_1D", PyInt_FromLong((long) GL_TEXTURE_BINDING_1D)); | |
10247 | PyDict_SetItemString(d,"GL_TEXTURE_BINDING_2D", PyInt_FromLong((long) GL_TEXTURE_BINDING_2D)); | |
10248 | PyDict_SetItemString(d,"GL_TEXTURE_BIT", PyInt_FromLong((long) GL_TEXTURE_BIT)); | |
10249 | PyDict_SetItemString(d,"GL_TEXTURE_BLUE_SIZE", PyInt_FromLong((long) GL_TEXTURE_BLUE_SIZE)); | |
10250 | PyDict_SetItemString(d,"GL_TEXTURE_BORDER", PyInt_FromLong((long) GL_TEXTURE_BORDER)); | |
10251 | PyDict_SetItemString(d,"GL_TEXTURE_BORDER_COLOR", PyInt_FromLong((long) GL_TEXTURE_BORDER_COLOR)); | |
10252 | PyDict_SetItemString(d,"GL_TEXTURE_COMPONENTS", PyInt_FromLong((long) GL_TEXTURE_COMPONENTS)); | |
10253 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY)); | |
10254 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_COUNT_EXT)); | |
10255 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_EXT)); | |
10256 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_POINTER", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_POINTER)); | |
10257 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_POINTER_EXT)); | |
10258 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_SIZE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_SIZE)); | |
10259 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_SIZE_EXT)); | |
10260 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_STRIDE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_STRIDE)); | |
10261 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_STRIDE_EXT)); | |
10262 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_TYPE", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_TYPE)); | |
10263 | PyDict_SetItemString(d,"GL_TEXTURE_COORD_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_TEXTURE_COORD_ARRAY_TYPE_EXT)); | |
10264 | PyDict_SetItemString(d,"GL_TEXTURE_ENV", PyInt_FromLong((long) GL_TEXTURE_ENV)); | |
10265 | PyDict_SetItemString(d,"GL_TEXTURE_ENV_COLOR", PyInt_FromLong((long) GL_TEXTURE_ENV_COLOR)); | |
10266 | PyDict_SetItemString(d,"GL_TEXTURE_ENV_MODE", PyInt_FromLong((long) GL_TEXTURE_ENV_MODE)); | |
10267 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_MODE", PyInt_FromLong((long) GL_TEXTURE_GEN_MODE)); | |
10268 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_Q", PyInt_FromLong((long) GL_TEXTURE_GEN_Q)); | |
10269 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_R", PyInt_FromLong((long) GL_TEXTURE_GEN_R)); | |
10270 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_S", PyInt_FromLong((long) GL_TEXTURE_GEN_S)); | |
10271 | PyDict_SetItemString(d,"GL_TEXTURE_GEN_T", PyInt_FromLong((long) GL_TEXTURE_GEN_T)); | |
10272 | PyDict_SetItemString(d,"GL_TEXTURE_GREEN_SIZE", PyInt_FromLong((long) GL_TEXTURE_GREEN_SIZE)); | |
10273 | PyDict_SetItemString(d,"GL_TEXTURE_HEIGHT", PyInt_FromLong((long) GL_TEXTURE_HEIGHT)); | |
10274 | PyDict_SetItemString(d,"GL_TEXTURE_INTENSITY_SIZE", PyInt_FromLong((long) GL_TEXTURE_INTENSITY_SIZE)); | |
10275 | PyDict_SetItemString(d,"GL_TEXTURE_INTERNAL_FORMAT", PyInt_FromLong((long) GL_TEXTURE_INTERNAL_FORMAT)); | |
10276 | PyDict_SetItemString(d,"GL_TEXTURE_LUMINANCE_SIZE", PyInt_FromLong((long) GL_TEXTURE_LUMINANCE_SIZE)); | |
10277 | PyDict_SetItemString(d,"GL_TEXTURE_MAG_FILTER", PyInt_FromLong((long) GL_TEXTURE_MAG_FILTER)); | |
10278 | PyDict_SetItemString(d,"GL_TEXTURE_MATRIX", PyInt_FromLong((long) GL_TEXTURE_MATRIX)); | |
10279 | PyDict_SetItemString(d,"GL_TEXTURE_MIN_FILTER", PyInt_FromLong((long) GL_TEXTURE_MIN_FILTER)); | |
10280 | PyDict_SetItemString(d,"GL_TEXTURE_PRIORITY", PyInt_FromLong((long) GL_TEXTURE_PRIORITY)); | |
10281 | PyDict_SetItemString(d,"GL_TEXTURE_RED_SIZE", PyInt_FromLong((long) GL_TEXTURE_RED_SIZE)); | |
10282 | PyDict_SetItemString(d,"GL_TEXTURE_RESIDENT", PyInt_FromLong((long) GL_TEXTURE_RESIDENT)); | |
10283 | PyDict_SetItemString(d,"GL_TEXTURE_STACK_DEPTH", PyInt_FromLong((long) GL_TEXTURE_STACK_DEPTH)); | |
10284 | PyDict_SetItemString(d,"GL_TEXTURE_WIDTH", PyInt_FromLong((long) GL_TEXTURE_WIDTH)); | |
10285 | PyDict_SetItemString(d,"GL_TEXTURE_WRAP_S", PyInt_FromLong((long) GL_TEXTURE_WRAP_S)); | |
10286 | PyDict_SetItemString(d,"GL_TEXTURE_WRAP_T", PyInt_FromLong((long) GL_TEXTURE_WRAP_T)); | |
10287 | PyDict_SetItemString(d,"GL_TRANSFORM_BIT", PyInt_FromLong((long) GL_TRANSFORM_BIT)); | |
10288 | PyDict_SetItemString(d,"GL_TRIANGLES", PyInt_FromLong((long) GL_TRIANGLES)); | |
10289 | PyDict_SetItemString(d,"GL_TRIANGLE_FAN", PyInt_FromLong((long) GL_TRIANGLE_FAN)); | |
10290 | PyDict_SetItemString(d,"GL_TRIANGLE_STRIP", PyInt_FromLong((long) GL_TRIANGLE_STRIP)); | |
10291 | PyDict_SetItemString(d,"GL_TRUE", PyInt_FromLong((long) GL_TRUE)); | |
10292 | PyDict_SetItemString(d,"GL_UNPACK_ALIGNMENT", PyInt_FromLong((long) GL_UNPACK_ALIGNMENT)); | |
10293 | PyDict_SetItemString(d,"GL_UNPACK_LSB_FIRST", PyInt_FromLong((long) GL_UNPACK_LSB_FIRST)); | |
10294 | PyDict_SetItemString(d,"GL_UNPACK_ROW_LENGTH", PyInt_FromLong((long) GL_UNPACK_ROW_LENGTH)); | |
10295 | PyDict_SetItemString(d,"GL_UNPACK_SKIP_PIXELS", PyInt_FromLong((long) GL_UNPACK_SKIP_PIXELS)); | |
10296 | PyDict_SetItemString(d,"GL_UNPACK_SKIP_ROWS", PyInt_FromLong((long) GL_UNPACK_SKIP_ROWS)); | |
10297 | PyDict_SetItemString(d,"GL_UNPACK_SWAP_BYTES", PyInt_FromLong((long) GL_UNPACK_SWAP_BYTES)); | |
10298 | PyDict_SetItemString(d,"GL_UNSIGNED_BYTE", PyInt_FromLong((long) GL_UNSIGNED_BYTE)); | |
10299 | PyDict_SetItemString(d,"GL_UNSIGNED_INT", PyInt_FromLong((long) GL_UNSIGNED_INT)); | |
10300 | PyDict_SetItemString(d,"GL_UNSIGNED_SHORT", PyInt_FromLong((long) GL_UNSIGNED_SHORT)); | |
10301 | PyDict_SetItemString(d,"GL_V2F", PyInt_FromLong((long) GL_V2F)); | |
10302 | PyDict_SetItemString(d,"GL_V3F", PyInt_FromLong((long) GL_V3F)); | |
10303 | PyDict_SetItemString(d,"GL_VENDOR", PyInt_FromLong((long) GL_VENDOR)); | |
10304 | PyDict_SetItemString(d,"GL_VERSION", PyInt_FromLong((long) GL_VERSION)); | |
10305 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY", PyInt_FromLong((long) GL_VERTEX_ARRAY)); | |
10306 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_COUNT_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_COUNT_EXT)); | |
10307 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_EXT)); | |
10308 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_POINTER", PyInt_FromLong((long) GL_VERTEX_ARRAY_POINTER)); | |
10309 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_POINTER_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_POINTER_EXT)); | |
10310 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_SIZE", PyInt_FromLong((long) GL_VERTEX_ARRAY_SIZE)); | |
10311 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_SIZE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_SIZE_EXT)); | |
10312 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_STRIDE", PyInt_FromLong((long) GL_VERTEX_ARRAY_STRIDE)); | |
10313 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_STRIDE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_STRIDE_EXT)); | |
10314 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_TYPE", PyInt_FromLong((long) GL_VERTEX_ARRAY_TYPE)); | |
10315 | PyDict_SetItemString(d,"GL_VERTEX_ARRAY_TYPE_EXT", PyInt_FromLong((long) GL_VERTEX_ARRAY_TYPE_EXT)); | |
10316 | PyDict_SetItemString(d,"GL_VIEWPORT", PyInt_FromLong((long) GL_VIEWPORT)); | |
10317 | PyDict_SetItemString(d,"GL_VIEWPORT_BIT", PyInt_FromLong((long) GL_VIEWPORT_BIT)); | |
10318 | PyDict_SetItemString(d,"GL_XOR", PyInt_FromLong((long) GL_XOR)); | |
10319 | PyDict_SetItemString(d,"GL_ZERO", PyInt_FromLong((long) GL_ZERO)); | |
10320 | PyDict_SetItemString(d,"GL_ZOOM_X", PyInt_FromLong((long) GL_ZOOM_X)); | |
10321 | PyDict_SetItemString(d,"GL_ZOOM_Y", PyInt_FromLong((long) GL_ZOOM_Y)); | |
10322 | ||
10323 | ||
10324 | wxClassInfo::CleanUpClasses(); | |
10325 | wxClassInfo::InitializeClasses(); | |
10326 | ||
10327 | { | |
10328 | int i; | |
10329 | for (i = 0; _swig_mapping[i].n1; i++) | |
10330 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
10331 | } | |
10332 | } |