1 /***********************************************************************
 
   2  * common.swg for wxPython
 
   4  * Include only the function prototypes and such from SWIG's common.swg,
 
   5  * but not the runtime functions themselves.  This helps keep the
 
   6  * wrapper files clean of unnecessary stuff that is in the libpy.c file
 
   9  ************************************************************************/
 
  13 #if defined(_WIN32) || defined(__WIN32__)
 
  14 #       if defined(_MSC_VER)
 
  15 #               if defined(STATIC_LINKED)
 
  16 #                       define SWIGEXPORT(a) a
 
  17 #                       define SWIGIMPORT(a) extern a
 
  19 #                       define SWIGEXPORT(a) __declspec(dllexport) a
 
  20 #                       define SWIGIMPORT(a) extern a
 
  23 #               if defined(__BORLANDC__)
 
  24 #                       define SWIGEXPORT(a) a _export
 
  25 #                       define SWIGIMPORT(a) a _export
 
  27 #                       define SWIGEXPORT(a) a
 
  28 #                       define SWIGIMPORT(a) a
 
  32 #       define SWIGEXPORT(a) a
 
  33 #       define SWIGIMPORT(a) a
 
  37 #define SWIGRUNTIME(a) SWIGEXPORT(a)
 
  39 #define SWIGRUNTIME(a) static a
 
  47 typedef void *(*swig_converter_func)(void *);
 
  48 typedef struct swig_type_info *(*swig_dycast_func)(void **);
 
  50 typedef struct swig_type_info {
 
  52   swig_converter_func     converter;
 
  55   swig_dycast_func        dcast;
 
  56   struct swig_type_info  *next;
 
  57   struct swig_type_info  *prev;
 
  61 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
 
  62 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
 
  63 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info *, void *);
 
  64 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
 
  65 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info *);
 
  66 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
 
  67 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info *, void *);