00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifdef WIN32
00010 #ifdef CALGORITHMS_EXPORTS
00011 #define CALGORITHMS_API extern "C" __declspec(dllexport)
00012 #else
00013 #define CALGORITHMS_API extern "C" __declspec(dllimport)
00014 #endif
00015 #include <windows.h>
00016 #else // WIN32
00017 #define CALGORITHMS_API extern "C"
00018 #endif
00019
00020 CALGORITHMS_API void initClustering(void);
00021
00022
00023 #ifdef _DEBUG
00024 #undef _DEBUG
00025 #include <Python.h>
00026 #define _DEBUG
00027 #else
00028 #include <Python.h>
00029 #endif
00030
00031 #define PY_ARRAY_UNIQUE_SYMBOL Py_Array_API_Clustering
00032 #ifndef PYTH_FILE_WITH_INIT
00033 #define NO_IMPORT_ARRAY
00034 #endif
00035
00036
00037
00038 #include <stdio.h>
00039 #include <malloc.h>
00040