]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/common.swg
reSWIGged
[wxWidgets.git] / wxPython / src / common.swg
1 /***********************************************************************
2 * common.swg for wxPython
3 *
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
7 * anyway.
8 *
9 ************************************************************************/
10
11 #include <string.h>
12
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
18 # else
19 # define SWIGEXPORT(a) __declspec(dllexport) a
20 # define SWIGIMPORT(a) extern a
21 # endif
22 # else
23 # if defined(__BORLANDC__)
24 # define SWIGEXPORT(a) a _export
25 # define SWIGIMPORT(a) a _export
26 # else
27 # define SWIGEXPORT(a) a
28 # define SWIGIMPORT(a) a
29 # endif
30 # endif
31 #else
32 # define SWIGEXPORT(a) a
33 # define SWIGIMPORT(a) a
34 #endif
35
36 #ifdef SWIG_GLOBAL
37 # define SWIGRUNTIME(a) SWIGEXPORT(a)
38 #else
39 # define SWIGRUNTIME(a) static a
40 #endif
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45
46 typedef void *(*swig_converter_func)(void *);
47 typedef struct swig_type_info *(*swig_dycast_func)(void **);
48
49 typedef struct swig_type_info {
50 const char *name;
51 swig_converter_func converter;
52 const char *str;
53 void *clientdata;
54 swig_dycast_func dcast;
55 struct swig_type_info *next;
56 struct swig_type_info *prev;
57 } swig_type_info;
58
59
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);
69
70
71 #ifdef __cplusplus
72 }
73 #endif