]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/utils.cpp
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
[wxWidgets.git] / utils / wxPython / src / gtk / utils.cpp
1 /*
2 * FILE : gtk/utils.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initutilsc
53
54 #define SWIG_name "utilsc"
55
56 #include "helpers.h"
57 #include <wx/config.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 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
120 PyObject* ret = PyTuple_New(3);
121 if (ret) {
122 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
123 PyTuple_SET_ITEM(ret, 1, PyString_FromString(str));
124 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
125 }
126 return ret;
127 }
128 #define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
129 static PyObject *_wrap_new_wxConfig(PyObject *self, PyObject *args) {
130 PyObject * _resultobj;
131 wxConfig * _result;
132 wxString * _arg0 = &wxPyEmptyStr;
133 wxString * _arg1 = &wxPyEmptyStr;
134 wxString * _arg2 = &wxPyEmptyStr;
135 wxString * _arg3 = &wxPyEmptyStr;
136 long _arg4 = 0;
137 PyObject * _obj0 = 0;
138 PyObject * _obj1 = 0;
139 PyObject * _obj2 = 0;
140 PyObject * _obj3 = 0;
141 char _ptemp[128];
142
143 self = self;
144 if(!PyArg_ParseTuple(args,"|OOOOl:new_wxConfig",&_obj0,&_obj1,&_obj2,&_obj3,&_arg4))
145 return NULL;
146 if (_obj0)
147 {
148 if (!PyString_Check(_obj0)) {
149 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
150 return NULL;
151 }
152 _arg0 = new wxString(PyString_AsString(_obj0));
153 }
154 if (_obj1)
155 {
156 if (!PyString_Check(_obj1)) {
157 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
158 return NULL;
159 }
160 _arg1 = new wxString(PyString_AsString(_obj1));
161 }
162 if (_obj2)
163 {
164 if (!PyString_Check(_obj2)) {
165 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
166 return NULL;
167 }
168 _arg2 = new wxString(PyString_AsString(_obj2));
169 }
170 if (_obj3)
171 {
172 if (!PyString_Check(_obj3)) {
173 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
174 return NULL;
175 }
176 _arg3 = new wxString(PyString_AsString(_obj3));
177 }
178 _result = (wxConfig *)new_wxConfig(*_arg0,*_arg1,*_arg2,*_arg3,_arg4);
179 SWIG_MakePtr(_ptemp, (char *) _result,"_wxConfig_p");
180 _resultobj = Py_BuildValue("s",_ptemp);
181 {
182 if (_obj0)
183 delete _arg0;
184 }
185 {
186 if (_obj1)
187 delete _arg1;
188 }
189 {
190 if (_obj2)
191 delete _arg2;
192 }
193 {
194 if (_obj3)
195 delete _arg3;
196 }
197 return _resultobj;
198 }
199
200 #define delete_wxConfig(_swigobj) (delete _swigobj)
201 static PyObject *_wrap_delete_wxConfig(PyObject *self, PyObject *args) {
202 PyObject * _resultobj;
203 wxConfig * _arg0;
204 char * _argc0 = 0;
205
206 self = self;
207 if(!PyArg_ParseTuple(args,"s:delete_wxConfig",&_argc0))
208 return NULL;
209 if (_argc0) {
210 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxConfig. Expected _wxConfig_p.");
212 return NULL;
213 }
214 }
215 delete_wxConfig(_arg0);
216 Py_INCREF(Py_None);
217 _resultobj = Py_None;
218 return _resultobj;
219 }
220
221 #define wxConfig_DontCreateOnDemand(_swigobj) (_swigobj->DontCreateOnDemand())
222 static PyObject *_wrap_wxConfig_DontCreateOnDemand(PyObject *self, PyObject *args) {
223 PyObject * _resultobj;
224 wxConfig * _arg0;
225 char * _argc0 = 0;
226
227 self = self;
228 if(!PyArg_ParseTuple(args,"s:wxConfig_DontCreateOnDemand",&_argc0))
229 return NULL;
230 if (_argc0) {
231 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_DontCreateOnDemand. Expected _wxConfig_p.");
233 return NULL;
234 }
235 }
236 wxConfig_DontCreateOnDemand(_arg0);
237 Py_INCREF(Py_None);
238 _resultobj = Py_None;
239 return _resultobj;
240 }
241
242 #define wxConfig_DeleteAll(_swigobj) (_swigobj->DeleteAll())
243 static PyObject *_wrap_wxConfig_DeleteAll(PyObject *self, PyObject *args) {
244 PyObject * _resultobj;
245 bool _result;
246 wxConfig * _arg0;
247 char * _argc0 = 0;
248
249 self = self;
250 if(!PyArg_ParseTuple(args,"s:wxConfig_DeleteAll",&_argc0))
251 return NULL;
252 if (_argc0) {
253 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_DeleteAll. Expected _wxConfig_p.");
255 return NULL;
256 }
257 }
258 _result = (bool )wxConfig_DeleteAll(_arg0);
259 _resultobj = Py_BuildValue("i",_result);
260 return _resultobj;
261 }
262
263 #define wxConfig_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
264 static PyObject *_wrap_wxConfig_DeleteEntry(PyObject *self, PyObject *args) {
265 PyObject * _resultobj;
266 bool _result;
267 wxConfig * _arg0;
268 wxString * _arg1;
269 bool _arg2 = TRUE;
270 char * _argc0 = 0;
271 PyObject * _obj1 = 0;
272 int tempbool2;
273
274 self = self;
275 if(!PyArg_ParseTuple(args,"sO|i:wxConfig_DeleteEntry",&_argc0,&_obj1,&tempbool2))
276 return NULL;
277 if (_argc0) {
278 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_DeleteEntry. Expected _wxConfig_p.");
280 return NULL;
281 }
282 }
283 {
284 if (!PyString_Check(_obj1)) {
285 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
286 return NULL;
287 }
288 _arg1 = new wxString(PyString_AsString(_obj1));
289 }
290 _arg2 = (bool ) tempbool2;
291 _result = (bool )wxConfig_DeleteEntry(_arg0,*_arg1,_arg2);
292 _resultobj = Py_BuildValue("i",_result);
293 {
294 if (_obj1)
295 delete _arg1;
296 }
297 return _resultobj;
298 }
299
300 #define wxConfig_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
301 static PyObject *_wrap_wxConfig_DeleteGroup(PyObject *self, PyObject *args) {
302 PyObject * _resultobj;
303 bool _result;
304 wxConfig * _arg0;
305 wxString * _arg1;
306 char * _argc0 = 0;
307 PyObject * _obj1 = 0;
308
309 self = self;
310 if(!PyArg_ParseTuple(args,"sO:wxConfig_DeleteGroup",&_argc0,&_obj1))
311 return NULL;
312 if (_argc0) {
313 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_DeleteGroup. Expected _wxConfig_p.");
315 return NULL;
316 }
317 }
318 {
319 if (!PyString_Check(_obj1)) {
320 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
321 return NULL;
322 }
323 _arg1 = new wxString(PyString_AsString(_obj1));
324 }
325 _result = (bool )wxConfig_DeleteGroup(_arg0,*_arg1);
326 _resultobj = Py_BuildValue("i",_result);
327 {
328 if (_obj1)
329 delete _arg1;
330 }
331 return _resultobj;
332 }
333
334 #define wxConfig_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
335 static PyObject *_wrap_wxConfig_Exists(PyObject *self, PyObject *args) {
336 PyObject * _resultobj;
337 bool _result;
338 wxConfig * _arg0;
339 wxString * _arg1;
340 char * _argc0 = 0;
341 PyObject * _obj1 = 0;
342
343 self = self;
344 if(!PyArg_ParseTuple(args,"sO:wxConfig_Exists",&_argc0,&_obj1))
345 return NULL;
346 if (_argc0) {
347 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_Exists. Expected _wxConfig_p.");
349 return NULL;
350 }
351 }
352 {
353 if (!PyString_Check(_obj1)) {
354 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
355 return NULL;
356 }
357 _arg1 = new wxString(PyString_AsString(_obj1));
358 }
359 _result = (bool )wxConfig_Exists(_arg0,*_arg1);
360 _resultobj = Py_BuildValue("i",_result);
361 {
362 if (_obj1)
363 delete _arg1;
364 }
365 return _resultobj;
366 }
367
368 #define wxConfig_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
369 static PyObject *_wrap_wxConfig_Flush(PyObject *self, PyObject *args) {
370 PyObject * _resultobj;
371 bool _result;
372 wxConfig * _arg0;
373 bool _arg1 = FALSE;
374 char * _argc0 = 0;
375 int tempbool1;
376
377 self = self;
378 if(!PyArg_ParseTuple(args,"s|i:wxConfig_Flush",&_argc0,&tempbool1))
379 return NULL;
380 if (_argc0) {
381 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_Flush. Expected _wxConfig_p.");
383 return NULL;
384 }
385 }
386 _arg1 = (bool ) tempbool1;
387 _result = (bool )wxConfig_Flush(_arg0,_arg1);
388 _resultobj = Py_BuildValue("i",_result);
389 return _resultobj;
390 }
391
392 #define wxConfig_GetAppName(_swigobj) (_swigobj->GetAppName())
393 static PyObject *_wrap_wxConfig_GetAppName(PyObject *self, PyObject *args) {
394 PyObject * _resultobj;
395 wxString * _result;
396 wxConfig * _arg0;
397 char * _argc0 = 0;
398
399 self = self;
400 if(!PyArg_ParseTuple(args,"s:wxConfig_GetAppName",&_argc0))
401 return NULL;
402 if (_argc0) {
403 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetAppName. Expected _wxConfig_p.");
405 return NULL;
406 }
407 }
408 _result = new wxString (wxConfig_GetAppName(_arg0));
409 {
410 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
411 }
412 {
413 delete _result;
414 }
415 return _resultobj;
416 }
417
418 static PyObject * wxConfig_GetFirstGroup(wxConfig *self) {
419 bool cont;
420 long index = 0;
421 wxString value;
422
423 cont = self->GetFirstGroup(value, index);
424 return __EnumerationHelper(cont, value, index);
425 }
426 static PyObject *_wrap_wxConfig_GetFirstGroup(PyObject *self, PyObject *args) {
427 PyObject * _resultobj;
428 PyObject * _result;
429 wxConfig * _arg0;
430 char * _argc0 = 0;
431
432 self = self;
433 if(!PyArg_ParseTuple(args,"s:wxConfig_GetFirstGroup",&_argc0))
434 return NULL;
435 if (_argc0) {
436 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetFirstGroup. Expected _wxConfig_p.");
438 return NULL;
439 }
440 }
441 _result = (PyObject *)wxConfig_GetFirstGroup(_arg0);
442 {
443 _resultobj = _result;
444 }
445 return _resultobj;
446 }
447
448 static PyObject * wxConfig_GetFirstEntry(wxConfig *self) {
449 bool cont;
450 long index = 0;
451 wxString value;
452
453 cont = self->GetFirstEntry(value, index);
454 return __EnumerationHelper(cont, value, index);
455 }
456 static PyObject *_wrap_wxConfig_GetFirstEntry(PyObject *self, PyObject *args) {
457 PyObject * _resultobj;
458 PyObject * _result;
459 wxConfig * _arg0;
460 char * _argc0 = 0;
461
462 self = self;
463 if(!PyArg_ParseTuple(args,"s:wxConfig_GetFirstEntry",&_argc0))
464 return NULL;
465 if (_argc0) {
466 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetFirstEntry. Expected _wxConfig_p.");
468 return NULL;
469 }
470 }
471 _result = (PyObject *)wxConfig_GetFirstEntry(_arg0);
472 {
473 _resultobj = _result;
474 }
475 return _resultobj;
476 }
477
478 static PyObject * wxConfig_GetNextGroup(wxConfig *self,long index) {
479 bool cont;
480 wxString value;
481
482 cont = self->GetNextGroup(value, index);
483 return __EnumerationHelper(cont, value, index);
484 }
485 static PyObject *_wrap_wxConfig_GetNextGroup(PyObject *self, PyObject *args) {
486 PyObject * _resultobj;
487 PyObject * _result;
488 wxConfig * _arg0;
489 long _arg1;
490 char * _argc0 = 0;
491
492 self = self;
493 if(!PyArg_ParseTuple(args,"sl:wxConfig_GetNextGroup",&_argc0,&_arg1))
494 return NULL;
495 if (_argc0) {
496 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetNextGroup. Expected _wxConfig_p.");
498 return NULL;
499 }
500 }
501 _result = (PyObject *)wxConfig_GetNextGroup(_arg0,_arg1);
502 {
503 _resultobj = _result;
504 }
505 return _resultobj;
506 }
507
508 static PyObject * wxConfig_GetNextEntry(wxConfig *self,long index) {
509 bool cont;
510 wxString value;
511
512 cont = self->GetNextEntry(value, index);
513 return __EnumerationHelper(cont, value, index);
514 }
515 static PyObject *_wrap_wxConfig_GetNextEntry(PyObject *self, PyObject *args) {
516 PyObject * _resultobj;
517 PyObject * _result;
518 wxConfig * _arg0;
519 long _arg1;
520 char * _argc0 = 0;
521
522 self = self;
523 if(!PyArg_ParseTuple(args,"sl:wxConfig_GetNextEntry",&_argc0,&_arg1))
524 return NULL;
525 if (_argc0) {
526 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetNextEntry. Expected _wxConfig_p.");
528 return NULL;
529 }
530 }
531 _result = (PyObject *)wxConfig_GetNextEntry(_arg0,_arg1);
532 {
533 _resultobj = _result;
534 }
535 return _resultobj;
536 }
537
538 #define wxConfig_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
539 static PyObject *_wrap_wxConfig_GetNumberOfEntries(PyObject *self, PyObject *args) {
540 PyObject * _resultobj;
541 int _result;
542 wxConfig * _arg0;
543 bool _arg1 = FALSE;
544 char * _argc0 = 0;
545 int tempbool1;
546
547 self = self;
548 if(!PyArg_ParseTuple(args,"s|i:wxConfig_GetNumberOfEntries",&_argc0,&tempbool1))
549 return NULL;
550 if (_argc0) {
551 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetNumberOfEntries. Expected _wxConfig_p.");
553 return NULL;
554 }
555 }
556 _arg1 = (bool ) tempbool1;
557 _result = (int )wxConfig_GetNumberOfEntries(_arg0,_arg1);
558 _resultobj = Py_BuildValue("i",_result);
559 return _resultobj;
560 }
561
562 #define wxConfig_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
563 static PyObject *_wrap_wxConfig_GetNumberOfGroups(PyObject *self, PyObject *args) {
564 PyObject * _resultobj;
565 int _result;
566 wxConfig * _arg0;
567 bool _arg1 = FALSE;
568 char * _argc0 = 0;
569 int tempbool1;
570
571 self = self;
572 if(!PyArg_ParseTuple(args,"s|i:wxConfig_GetNumberOfGroups",&_argc0,&tempbool1))
573 return NULL;
574 if (_argc0) {
575 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetNumberOfGroups. Expected _wxConfig_p.");
577 return NULL;
578 }
579 }
580 _arg1 = (bool ) tempbool1;
581 _result = (int )wxConfig_GetNumberOfGroups(_arg0,_arg1);
582 _resultobj = Py_BuildValue("i",_result);
583 return _resultobj;
584 }
585
586 #define wxConfig_GetPath(_swigobj) (_swigobj->GetPath())
587 static PyObject *_wrap_wxConfig_GetPath(PyObject *self, PyObject *args) {
588 PyObject * _resultobj;
589 wxString * _result;
590 wxConfig * _arg0;
591 char * _argc0 = 0;
592
593 self = self;
594 if(!PyArg_ParseTuple(args,"s:wxConfig_GetPath",&_argc0))
595 return NULL;
596 if (_argc0) {
597 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetPath. Expected _wxConfig_p.");
599 return NULL;
600 }
601 }
602 _result = new wxString (wxConfig_GetPath(_arg0));
603 {
604 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
605 }
606 {
607 delete _result;
608 }
609 return _resultobj;
610 }
611
612 #define wxConfig_GetVendorName(_swigobj) (_swigobj->GetVendorName())
613 static PyObject *_wrap_wxConfig_GetVendorName(PyObject *self, PyObject *args) {
614 PyObject * _resultobj;
615 wxString * _result;
616 wxConfig * _arg0;
617 char * _argc0 = 0;
618
619 self = self;
620 if(!PyArg_ParseTuple(args,"s:wxConfig_GetVendorName",&_argc0))
621 return NULL;
622 if (_argc0) {
623 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_GetVendorName. Expected _wxConfig_p.");
625 return NULL;
626 }
627 }
628 _result = new wxString (wxConfig_GetVendorName(_arg0));
629 {
630 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
631 }
632 {
633 delete _result;
634 }
635 return _resultobj;
636 }
637
638 #define wxConfig_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
639 static PyObject *_wrap_wxConfig_HasEntry(PyObject *self, PyObject *args) {
640 PyObject * _resultobj;
641 bool _result;
642 wxConfig * _arg0;
643 wxString * _arg1;
644 char * _argc0 = 0;
645 PyObject * _obj1 = 0;
646
647 self = self;
648 if(!PyArg_ParseTuple(args,"sO:wxConfig_HasEntry",&_argc0,&_obj1))
649 return NULL;
650 if (_argc0) {
651 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_HasEntry. Expected _wxConfig_p.");
653 return NULL;
654 }
655 }
656 {
657 if (!PyString_Check(_obj1)) {
658 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
659 return NULL;
660 }
661 _arg1 = new wxString(PyString_AsString(_obj1));
662 }
663 _result = (bool )wxConfig_HasEntry(_arg0,*_arg1);
664 _resultobj = Py_BuildValue("i",_result);
665 {
666 if (_obj1)
667 delete _arg1;
668 }
669 return _resultobj;
670 }
671
672 #define wxConfig_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
673 static PyObject *_wrap_wxConfig_HasGroup(PyObject *self, PyObject *args) {
674 PyObject * _resultobj;
675 bool _result;
676 wxConfig * _arg0;
677 wxString * _arg1;
678 char * _argc0 = 0;
679 PyObject * _obj1 = 0;
680
681 self = self;
682 if(!PyArg_ParseTuple(args,"sO:wxConfig_HasGroup",&_argc0,&_obj1))
683 return NULL;
684 if (_argc0) {
685 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_HasGroup. Expected _wxConfig_p.");
687 return NULL;
688 }
689 }
690 {
691 if (!PyString_Check(_obj1)) {
692 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
693 return NULL;
694 }
695 _arg1 = new wxString(PyString_AsString(_obj1));
696 }
697 _result = (bool )wxConfig_HasGroup(_arg0,*_arg1);
698 _resultobj = Py_BuildValue("i",_result);
699 {
700 if (_obj1)
701 delete _arg1;
702 }
703 return _resultobj;
704 }
705
706 #define wxConfig_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
707 static PyObject *_wrap_wxConfig_IsExpandingEnvVars(PyObject *self, PyObject *args) {
708 PyObject * _resultobj;
709 bool _result;
710 wxConfig * _arg0;
711 char * _argc0 = 0;
712
713 self = self;
714 if(!PyArg_ParseTuple(args,"s:wxConfig_IsExpandingEnvVars",&_argc0))
715 return NULL;
716 if (_argc0) {
717 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_IsExpandingEnvVars. Expected _wxConfig_p.");
719 return NULL;
720 }
721 }
722 _result = (bool )wxConfig_IsExpandingEnvVars(_arg0);
723 _resultobj = Py_BuildValue("i",_result);
724 return _resultobj;
725 }
726
727 #define wxConfig_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
728 static PyObject *_wrap_wxConfig_IsRecordingDefaults(PyObject *self, PyObject *args) {
729 PyObject * _resultobj;
730 bool _result;
731 wxConfig * _arg0;
732 char * _argc0 = 0;
733
734 self = self;
735 if(!PyArg_ParseTuple(args,"s:wxConfig_IsRecordingDefaults",&_argc0))
736 return NULL;
737 if (_argc0) {
738 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_IsRecordingDefaults. Expected _wxConfig_p.");
740 return NULL;
741 }
742 }
743 _result = (bool )wxConfig_IsRecordingDefaults(_arg0);
744 _resultobj = Py_BuildValue("i",_result);
745 return _resultobj;
746 }
747
748 #define wxConfig_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
749 static PyObject *_wrap_wxConfig_Read(PyObject *self, PyObject *args) {
750 PyObject * _resultobj;
751 wxString * _result;
752 wxConfig * _arg0;
753 wxString * _arg1;
754 wxString * _arg2 = &wxPyEmptyStr;
755 char * _argc0 = 0;
756 PyObject * _obj1 = 0;
757 PyObject * _obj2 = 0;
758
759 self = self;
760 if(!PyArg_ParseTuple(args,"sO|O:wxConfig_Read",&_argc0,&_obj1,&_obj2))
761 return NULL;
762 if (_argc0) {
763 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_Read. Expected _wxConfig_p.");
765 return NULL;
766 }
767 }
768 {
769 if (!PyString_Check(_obj1)) {
770 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
771 return NULL;
772 }
773 _arg1 = new wxString(PyString_AsString(_obj1));
774 }
775 if (_obj2)
776 {
777 if (!PyString_Check(_obj2)) {
778 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
779 return NULL;
780 }
781 _arg2 = new wxString(PyString_AsString(_obj2));
782 }
783 _result = new wxString (wxConfig_Read(_arg0,*_arg1,*_arg2));
784 {
785 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
786 }
787 {
788 if (_obj1)
789 delete _arg1;
790 }
791 {
792 if (_obj2)
793 delete _arg2;
794 }
795 {
796 delete _result;
797 }
798 return _resultobj;
799 }
800
801 #define wxConfig_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
802 static PyObject *_wrap_wxConfig_ReadInt(PyObject *self, PyObject *args) {
803 PyObject * _resultobj;
804 long _result;
805 wxConfig * _arg0;
806 wxString * _arg1;
807 long _arg2 = 0;
808 char * _argc0 = 0;
809 PyObject * _obj1 = 0;
810
811 self = self;
812 if(!PyArg_ParseTuple(args,"sO|l:wxConfig_ReadInt",&_argc0,&_obj1,&_arg2))
813 return NULL;
814 if (_argc0) {
815 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_ReadInt. Expected _wxConfig_p.");
817 return NULL;
818 }
819 }
820 {
821 if (!PyString_Check(_obj1)) {
822 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
823 return NULL;
824 }
825 _arg1 = new wxString(PyString_AsString(_obj1));
826 }
827 _result = (long )wxConfig_ReadInt(_arg0,*_arg1,_arg2);
828 _resultobj = Py_BuildValue("l",_result);
829 {
830 if (_obj1)
831 delete _arg1;
832 }
833 return _resultobj;
834 }
835
836 #define wxConfig_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
837 static PyObject *_wrap_wxConfig_ReadFloat(PyObject *self, PyObject *args) {
838 PyObject * _resultobj;
839 double _result;
840 wxConfig * _arg0;
841 wxString * _arg1;
842 double _arg2 = 0.0;
843 char * _argc0 = 0;
844 PyObject * _obj1 = 0;
845
846 self = self;
847 if(!PyArg_ParseTuple(args,"sO|d:wxConfig_ReadFloat",&_argc0,&_obj1,&_arg2))
848 return NULL;
849 if (_argc0) {
850 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_ReadFloat. Expected _wxConfig_p.");
852 return NULL;
853 }
854 }
855 {
856 if (!PyString_Check(_obj1)) {
857 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
858 return NULL;
859 }
860 _arg1 = new wxString(PyString_AsString(_obj1));
861 }
862 _result = (double )wxConfig_ReadFloat(_arg0,*_arg1,_arg2);
863 _resultobj = Py_BuildValue("d",_result);
864 {
865 if (_obj1)
866 delete _arg1;
867 }
868 return _resultobj;
869 }
870
871 #define wxConfig_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
872 static PyObject *_wrap_wxConfig_SetAppName(PyObject *self, PyObject *args) {
873 PyObject * _resultobj;
874 wxConfig * _arg0;
875 wxString * _arg1;
876 char * _argc0 = 0;
877 PyObject * _obj1 = 0;
878
879 self = self;
880 if(!PyArg_ParseTuple(args,"sO:wxConfig_SetAppName",&_argc0,&_obj1))
881 return NULL;
882 if (_argc0) {
883 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetAppName. Expected _wxConfig_p.");
885 return NULL;
886 }
887 }
888 {
889 if (!PyString_Check(_obj1)) {
890 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
891 return NULL;
892 }
893 _arg1 = new wxString(PyString_AsString(_obj1));
894 }
895 wxConfig_SetAppName(_arg0,*_arg1);
896 Py_INCREF(Py_None);
897 _resultobj = Py_None;
898 {
899 if (_obj1)
900 delete _arg1;
901 }
902 return _resultobj;
903 }
904
905 #define wxConfig_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
906 static PyObject *_wrap_wxConfig_SetExpandEnvVars(PyObject *self, PyObject *args) {
907 PyObject * _resultobj;
908 wxConfig * _arg0;
909 bool _arg1 = TRUE;
910 char * _argc0 = 0;
911 int tempbool1;
912
913 self = self;
914 if(!PyArg_ParseTuple(args,"s|i:wxConfig_SetExpandEnvVars",&_argc0,&tempbool1))
915 return NULL;
916 if (_argc0) {
917 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetExpandEnvVars. Expected _wxConfig_p.");
919 return NULL;
920 }
921 }
922 _arg1 = (bool ) tempbool1;
923 wxConfig_SetExpandEnvVars(_arg0,_arg1);
924 Py_INCREF(Py_None);
925 _resultobj = Py_None;
926 return _resultobj;
927 }
928
929 #define wxConfig_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
930 static PyObject *_wrap_wxConfig_SetPath(PyObject *self, PyObject *args) {
931 PyObject * _resultobj;
932 wxConfig * _arg0;
933 wxString * _arg1;
934 char * _argc0 = 0;
935 PyObject * _obj1 = 0;
936
937 self = self;
938 if(!PyArg_ParseTuple(args,"sO:wxConfig_SetPath",&_argc0,&_obj1))
939 return NULL;
940 if (_argc0) {
941 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetPath. Expected _wxConfig_p.");
943 return NULL;
944 }
945 }
946 {
947 if (!PyString_Check(_obj1)) {
948 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
949 return NULL;
950 }
951 _arg1 = new wxString(PyString_AsString(_obj1));
952 }
953 wxConfig_SetPath(_arg0,*_arg1);
954 Py_INCREF(Py_None);
955 _resultobj = Py_None;
956 {
957 if (_obj1)
958 delete _arg1;
959 }
960 return _resultobj;
961 }
962
963 #define wxConfig_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
964 static PyObject *_wrap_wxConfig_SetRecordDefaults(PyObject *self, PyObject *args) {
965 PyObject * _resultobj;
966 wxConfig * _arg0;
967 bool _arg1 = TRUE;
968 char * _argc0 = 0;
969 int tempbool1;
970
971 self = self;
972 if(!PyArg_ParseTuple(args,"s|i:wxConfig_SetRecordDefaults",&_argc0,&tempbool1))
973 return NULL;
974 if (_argc0) {
975 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetRecordDefaults. Expected _wxConfig_p.");
977 return NULL;
978 }
979 }
980 _arg1 = (bool ) tempbool1;
981 wxConfig_SetRecordDefaults(_arg0,_arg1);
982 Py_INCREF(Py_None);
983 _resultobj = Py_None;
984 return _resultobj;
985 }
986
987 #define wxConfig_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
988 static PyObject *_wrap_wxConfig_SetVendorName(PyObject *self, PyObject *args) {
989 PyObject * _resultobj;
990 wxConfig * _arg0;
991 wxString * _arg1;
992 char * _argc0 = 0;
993 PyObject * _obj1 = 0;
994
995 self = self;
996 if(!PyArg_ParseTuple(args,"sO:wxConfig_SetVendorName",&_argc0,&_obj1))
997 return NULL;
998 if (_argc0) {
999 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetVendorName. Expected _wxConfig_p.");
1001 return NULL;
1002 }
1003 }
1004 {
1005 if (!PyString_Check(_obj1)) {
1006 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1007 return NULL;
1008 }
1009 _arg1 = new wxString(PyString_AsString(_obj1));
1010 }
1011 wxConfig_SetVendorName(_arg0,*_arg1);
1012 Py_INCREF(Py_None);
1013 _resultobj = Py_None;
1014 {
1015 if (_obj1)
1016 delete _arg1;
1017 }
1018 return _resultobj;
1019 }
1020
1021 #define wxConfig_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1022 static PyObject *_wrap_wxConfig_Write(PyObject *self, PyObject *args) {
1023 PyObject * _resultobj;
1024 bool _result;
1025 wxConfig * _arg0;
1026 wxString * _arg1;
1027 wxString * _arg2;
1028 char * _argc0 = 0;
1029 PyObject * _obj1 = 0;
1030 PyObject * _obj2 = 0;
1031
1032 self = self;
1033 if(!PyArg_ParseTuple(args,"sOO:wxConfig_Write",&_argc0,&_obj1,&_obj2))
1034 return NULL;
1035 if (_argc0) {
1036 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
1037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_Write. Expected _wxConfig_p.");
1038 return NULL;
1039 }
1040 }
1041 {
1042 if (!PyString_Check(_obj1)) {
1043 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1044 return NULL;
1045 }
1046 _arg1 = new wxString(PyString_AsString(_obj1));
1047 }
1048 {
1049 if (!PyString_Check(_obj2)) {
1050 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1051 return NULL;
1052 }
1053 _arg2 = new wxString(PyString_AsString(_obj2));
1054 }
1055 _result = (bool )wxConfig_Write(_arg0,*_arg1,*_arg2);
1056 _resultobj = Py_BuildValue("i",_result);
1057 {
1058 if (_obj1)
1059 delete _arg1;
1060 }
1061 {
1062 if (_obj2)
1063 delete _arg2;
1064 }
1065 return _resultobj;
1066 }
1067
1068 #define wxConfig_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1069 static PyObject *_wrap_wxConfig_WriteInt(PyObject *self, PyObject *args) {
1070 PyObject * _resultobj;
1071 bool _result;
1072 wxConfig * _arg0;
1073 wxString * _arg1;
1074 long _arg2;
1075 char * _argc0 = 0;
1076 PyObject * _obj1 = 0;
1077
1078 self = self;
1079 if(!PyArg_ParseTuple(args,"sOl:wxConfig_WriteInt",&_argc0,&_obj1,&_arg2))
1080 return NULL;
1081 if (_argc0) {
1082 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
1083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_WriteInt. Expected _wxConfig_p.");
1084 return NULL;
1085 }
1086 }
1087 {
1088 if (!PyString_Check(_obj1)) {
1089 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1090 return NULL;
1091 }
1092 _arg1 = new wxString(PyString_AsString(_obj1));
1093 }
1094 _result = (bool )wxConfig_WriteInt(_arg0,*_arg1,_arg2);
1095 _resultobj = Py_BuildValue("i",_result);
1096 {
1097 if (_obj1)
1098 delete _arg1;
1099 }
1100 return _resultobj;
1101 }
1102
1103 #define wxConfig_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
1104 static PyObject *_wrap_wxConfig_WriteFloat(PyObject *self, PyObject *args) {
1105 PyObject * _resultobj;
1106 bool _result;
1107 wxConfig * _arg0;
1108 wxString * _arg1;
1109 double _arg2;
1110 char * _argc0 = 0;
1111 PyObject * _obj1 = 0;
1112
1113 self = self;
1114 if(!PyArg_ParseTuple(args,"sOd:wxConfig_WriteFloat",&_argc0,&_obj1,&_arg2))
1115 return NULL;
1116 if (_argc0) {
1117 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_WriteFloat. Expected _wxConfig_p.");
1119 return NULL;
1120 }
1121 }
1122 {
1123 if (!PyString_Check(_obj1)) {
1124 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1125 return NULL;
1126 }
1127 _arg1 = new wxString(PyString_AsString(_obj1));
1128 }
1129 _result = (bool )wxConfig_WriteFloat(_arg0,*_arg1,_arg2);
1130 _resultobj = Py_BuildValue("i",_result);
1131 {
1132 if (_obj1)
1133 delete _arg1;
1134 }
1135 return _resultobj;
1136 }
1137
1138 static PyMethodDef utilscMethods[] = {
1139 { "wxConfig_WriteFloat", _wrap_wxConfig_WriteFloat, 1 },
1140 { "wxConfig_WriteInt", _wrap_wxConfig_WriteInt, 1 },
1141 { "wxConfig_Write", _wrap_wxConfig_Write, 1 },
1142 { "wxConfig_SetVendorName", _wrap_wxConfig_SetVendorName, 1 },
1143 { "wxConfig_SetRecordDefaults", _wrap_wxConfig_SetRecordDefaults, 1 },
1144 { "wxConfig_SetPath", _wrap_wxConfig_SetPath, 1 },
1145 { "wxConfig_SetExpandEnvVars", _wrap_wxConfig_SetExpandEnvVars, 1 },
1146 { "wxConfig_SetAppName", _wrap_wxConfig_SetAppName, 1 },
1147 { "wxConfig_ReadFloat", _wrap_wxConfig_ReadFloat, 1 },
1148 { "wxConfig_ReadInt", _wrap_wxConfig_ReadInt, 1 },
1149 { "wxConfig_Read", _wrap_wxConfig_Read, 1 },
1150 { "wxConfig_IsRecordingDefaults", _wrap_wxConfig_IsRecordingDefaults, 1 },
1151 { "wxConfig_IsExpandingEnvVars", _wrap_wxConfig_IsExpandingEnvVars, 1 },
1152 { "wxConfig_HasGroup", _wrap_wxConfig_HasGroup, 1 },
1153 { "wxConfig_HasEntry", _wrap_wxConfig_HasEntry, 1 },
1154 { "wxConfig_GetVendorName", _wrap_wxConfig_GetVendorName, 1 },
1155 { "wxConfig_GetPath", _wrap_wxConfig_GetPath, 1 },
1156 { "wxConfig_GetNumberOfGroups", _wrap_wxConfig_GetNumberOfGroups, 1 },
1157 { "wxConfig_GetNumberOfEntries", _wrap_wxConfig_GetNumberOfEntries, 1 },
1158 { "wxConfig_GetNextEntry", _wrap_wxConfig_GetNextEntry, 1 },
1159 { "wxConfig_GetNextGroup", _wrap_wxConfig_GetNextGroup, 1 },
1160 { "wxConfig_GetFirstEntry", _wrap_wxConfig_GetFirstEntry, 1 },
1161 { "wxConfig_GetFirstGroup", _wrap_wxConfig_GetFirstGroup, 1 },
1162 { "wxConfig_GetAppName", _wrap_wxConfig_GetAppName, 1 },
1163 { "wxConfig_Flush", _wrap_wxConfig_Flush, 1 },
1164 { "wxConfig_Exists", _wrap_wxConfig_Exists, 1 },
1165 { "wxConfig_DeleteGroup", _wrap_wxConfig_DeleteGroup, 1 },
1166 { "wxConfig_DeleteEntry", _wrap_wxConfig_DeleteEntry, 1 },
1167 { "wxConfig_DeleteAll", _wrap_wxConfig_DeleteAll, 1 },
1168 { "wxConfig_DontCreateOnDemand", _wrap_wxConfig_DontCreateOnDemand, 1 },
1169 { "delete_wxConfig", _wrap_delete_wxConfig, 1 },
1170 { "new_wxConfig", _wrap_new_wxConfig, 1 },
1171 { NULL, NULL }
1172 };
1173 static PyObject *SWIG_globals;
1174 #ifdef __cplusplus
1175 extern "C"
1176 #endif
1177 SWIGEXPORT(void,initutilsc)() {
1178 PyObject *m, *d;
1179 SWIG_globals = SWIG_newvarlink();
1180 m = Py_InitModule("utilsc", utilscMethods);
1181 d = PyModule_GetDict(m);
1182 /*
1183 * These are the pointer type-equivalency mappings.
1184 * (Used by the SWIG pointer type-checker).
1185 */
1186 SWIG_RegisterMapping("_signed_long","_long",0);
1187 SWIG_RegisterMapping("_long","_unsigned_long",0);
1188 SWIG_RegisterMapping("_long","_signed_long",0);
1189 SWIG_RegisterMapping("_wxConfig","_class_wxConfig",0);
1190 SWIG_RegisterMapping("_unsigned_long","_long",0);
1191 SWIG_RegisterMapping("_signed_int","_int",0);
1192 SWIG_RegisterMapping("_unsigned_short","_short",0);
1193 SWIG_RegisterMapping("_signed_short","_short",0);
1194 SWIG_RegisterMapping("_unsigned_int","_int",0);
1195 SWIG_RegisterMapping("_short","_unsigned_short",0);
1196 SWIG_RegisterMapping("_short","_signed_short",0);
1197 SWIG_RegisterMapping("_int","_unsigned_int",0);
1198 SWIG_RegisterMapping("_int","_signed_int",0);
1199 SWIG_RegisterMapping("_class_wxConfig","_wxConfig",0);
1200 }