2000-12-11 02:33:52 +00:00
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
2000-10-30 21:08:42 +00:00
|
|
|
/* 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
|
|
|
|
|
|
|
|
#include "Python.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2000-12-11 02:33:52 +00:00
|
|
|
|
2000-10-30 21:08:42 +00:00
|
|
|
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
|