headers. It's never been a problem either way until Python 2.3a1... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			32 lines
		
	
	
		
			795 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			795 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #include "Python.h"
 | |
| 
 | |
| #include <string.h>
 | |
| #include <stdlib.h>
 | |
| /* Definitions for Windows/Unix exporting */
 | |
| #if defined(__WIN32__)
 | |
| #   if defined(_MSC_VER)
 | |
| #	define SWIGEXPORT(a) __declspec(dllexport) a
 | |
| #   else
 | |
| #	if defined(__BORLANDC__)
 | |
| #	    define SWIGEXPORT(a) a _export
 | |
| #	else
 | |
| #	    define SWIGEXPORT(a) a
 | |
| #	endif
 | |
| #   endif
 | |
| #else
 | |
| #   define SWIGEXPORT(a) a
 | |
| #endif
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| extern void SWIG_MakePtr(char *, void *, char *);
 | |
| extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
 | |
| extern char *SWIG_GetPtr(char *, void **, char *);
 | |
| extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
 | |
| extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
 | |
| extern PyObject *SWIG_newvarlink(void);
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 |