git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
74 lines
2.2 KiB
Plaintext
74 lines
2.2 KiB
Plaintext
/***********************************************************************
|
|
* common.swg for wxPython
|
|
*
|
|
* Include only the function prototypes and such from SWIG's common.swg,
|
|
* but not the runtime functions themselves. This helps keep the
|
|
* wrapper files clean of unnecessary stuff that is in the libpy.c file
|
|
* anyway.
|
|
*
|
|
************************************************************************/
|
|
|
|
#include <string.h>
|
|
|
|
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
|
# if defined(_MSC_VER) || defined(__GNUC__)
|
|
# if defined(STATIC_LINKED)
|
|
# define SWIGEXPORT(a) a
|
|
# define SWIGIMPORT(a) extern a
|
|
# else
|
|
# define SWIGEXPORT(a) __declspec(dllexport) a
|
|
# define SWIGIMPORT(a) extern a
|
|
# endif
|
|
# else
|
|
# if defined(__BORLANDC__)
|
|
# define SWIGEXPORT(a) a _export
|
|
# define SWIGIMPORT(a) a _export
|
|
# else
|
|
# define SWIGEXPORT(a) a
|
|
# define SWIGIMPORT(a) a
|
|
# endif
|
|
# endif
|
|
#else
|
|
# define SWIGEXPORT(a) a
|
|
# define SWIGIMPORT(a) a
|
|
#endif
|
|
|
|
#ifdef SWIG_GLOBAL
|
|
# define SWIGRUNTIME(a) SWIGEXPORT(a)
|
|
#else
|
|
# define SWIGRUNTIME(a) static a
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void *(*swig_converter_func)(void *);
|
|
typedef struct swig_type_info *(*swig_dycast_func)(void **);
|
|
|
|
typedef struct swig_type_info {
|
|
const char *name;
|
|
swig_converter_func converter;
|
|
const char *str;
|
|
void *clientdata;
|
|
swig_dycast_func dcast;
|
|
struct swig_type_info *next;
|
|
struct swig_type_info *prev;
|
|
} swig_type_info;
|
|
|
|
|
|
SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
|
|
SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
|
|
SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
|
|
SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
|
|
SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
|
|
SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
|
|
SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
|
|
SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
|
|
SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|