]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
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__) | |
14 | # if defined(_MSC_VER) | |
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 | ||
43 | #ifdef __cplusplus | |
44 | extern "C" { | |
45 | #endif | |
46 | ||
47 | typedef void *(*swig_converter_func)(void *); | |
48 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
49 | ||
50 | typedef struct swig_type_info { | |
11188b02 | 51 | const char *name; |
d14a1e28 RD |
52 | swig_converter_func converter; |
53 | const char *str; | |
11188b02 | 54 | void *clientdata; |
d14a1e28 RD |
55 | swig_dycast_func dcast; |
56 | struct swig_type_info *next; | |
57 | struct swig_type_info *prev; | |
58 | } swig_type_info; | |
59 | ||
60 | ||
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 *); | |
68 | ||
69 | ||
70 | #ifdef __cplusplus | |
71 | } | |
11188b02 | 72 | |
d14a1e28 | 73 | #endif |