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__) || defined(__CYGWIN__)
14 # if defined(_MSC_VER) || defined(__GNUC__)
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
46 typedef void *(*swig_converter_func)(void *);
47 typedef struct swig_type_info *(*swig_dycast_func)(void **);
49 typedef struct swig_type_info {
51 swig_converter_func converter;
54 swig_dycast_func dcast;
55 struct swig_type_info *next;
56 struct swig_type_info *prev;
60 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
61 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
62 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
63 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
64 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
65 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
66 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
67 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
68 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);