]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/_swigtype.i
adapt to wxGLCanvas changes
[wxWidgets.git] / wxPython / src / _swigtype.i
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: _swigtype.i
3 // Purpose: stuff to help us debug SWIG's type_info structures...
4 //
5 // Author: Robin Dunn
6 //
7 // Created: 19-Jan-2006
8 // RCS-ID: $Id$
9 // Copyright: (c) 2006 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
12
13 // Not a %module
14
15
16 #if 0 // Only needs to be turned on when debugging SWIG problems
17
18 //---------------------------------------------------------------------------
19 %newgroup
20
21 %immutable;
22
23 /* Structure to store inforomation on one type */
24 typedef struct swig_type_info {
25 const char *name; /* mangled name of this type */
26 const char *str; /* human readable name of this type */
27 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
28 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
29 void *clientdata; /* language specific type data */
30 } swig_type_info;
31
32 /* Structure to store a type and conversion function used for casting */
33 typedef struct swig_cast_info {
34 swig_type_info *type; /* pointer to type that is equivalent to this type */
35 swig_converter_func converter; /* function to cast the void pointers */
36 struct swig_cast_info *next; /* pointer to next cast in linked list */
37 struct swig_cast_info *prev; /* pointer to the previous cast */
38 } swig_cast_info;
39
40 %mutable;
41
42 swig_type_info* SWIG_TypeQuery(const char* name);
43
44 //---------------------------------------------------------------------------
45
46 #endif
47
48