]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/common.swg
wx.App
[wxWidgets.git] / wxPython / src / common.swg
CommitLineData
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
98fb9b71
RD
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
d14a1e28 31#else
98fb9b71
RD
32# define SWIGEXPORT(a) a
33# define SWIGIMPORT(a) a
d14a1e28
RD
34#endif
35
36#ifdef SWIG_GLOBAL
98fb9b71 37# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 38#else
98fb9b71 39# define SWIGRUNTIME(a) static a
d14a1e28
RD
40#endif
41
d14a1e28
RD
42#ifdef __cplusplus
43extern "C" {
44#endif
45
46typedef void *(*swig_converter_func)(void *);
47typedef struct swig_type_info *(*swig_dycast_func)(void **);
48
49typedef struct swig_type_info {
98fb9b71 50 const char *name;
d14a1e28
RD
51 swig_converter_func converter;
52 const char *str;
98fb9b71 53 void *clientdata;
d14a1e28
RD
54 swig_dycast_func dcast;
55 struct swig_type_info *next;
56 struct swig_type_info *prev;
57} swig_type_info;
58
59
60SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
61SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
62SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
63SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
64SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
65SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
66SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
98fb9b71
RD
67SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
68SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
69
70
71#ifdef __cplusplus
72}
11188b02 73
d14a1e28 74#endif
98fb9b71 75