]> git.saurik.com Git - wxWidgets.git/blob - wxPython/SWIG/pyexp.swg
Lots of fixes for OS/2
[wxWidgets.git] / wxPython / SWIG / pyexp.swg
1 #include <string.h>
2 #include <stdlib.h>
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
21 extern "C" {
22 #endif
23
24 extern void SWIG_MakePtr(char *, void *, char *);
25 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
26 extern char *SWIG_GetPtr(char *, void **, char *);
27 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
28 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
29 extern PyObject *SWIG_newvarlink(void);
30 #ifdef __cplusplus
31 }
32 #endif