1 /////////////////////////////////////////////////////////////////////////////
 
   3 // Purpose:     stuff to help us debug SWIG's type_info structures...
 
   7 // Created:     19-Jan-2006
 
   9 // Copyright:   (c) 2006 by Total Control Software
 
  10 // Licence:     wxWindows license
 
  11 /////////////////////////////////////////////////////////////////////////////
 
  16 #if 0  // Only needs to be turned on when debugging SWIG problems
 
  18 //---------------------------------------------------------------------------
 
  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 */
 
  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 */
 
  42 swig_type_info* SWIG_TypeQuery(const char* name);
 
  44 //---------------------------------------------------------------------------