]> git.saurik.com Git - wxWidgets.git/blame - wxPython/SWIG/pyexp.swg
mingw32/cygwin compilation fixes
[wxWidgets.git] / wxPython / SWIG / pyexp.swg
CommitLineData
cb29fb86
RD
1#include <string.h>
2#include <stdlib.h>
c368d904
RD
3/* Definitions for Windows/Unix exporting */
4#if defined(__WIN32__)
5# if defined(_MSC_VER)
6# define SWIGEXPORT(a) __declspec(dllexport) a
7# else
8# if defined(__BORLANDC__)
9# define SWIGEXPORT(a) a _export
10# else
11# define SWIGEXPORT(a) a
12# endif
13# endif
14#else
15# define SWIGEXPORT(a) a
16#endif
17
18#include "Python.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
cb29fb86 23
c368d904
RD
24extern void SWIG_MakePtr(char *, void *, char *);
25extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
26extern char *SWIG_GetPtr(char *, void **, char *);
27extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
28extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
29extern PyObject *SWIG_newvarlink(void);
30#ifdef __cplusplus
31}
32#endif