Clustering.h

Go to the documentation of this file.
00001 
00002 // The following ifdef block is the standard way of creating macros which make exporting 
00003 // from a DLL simpler. All files within this DLL are compiled with the CALGORITHMS_EXPORTS
00004 // symbol defined on the command line. this symbol should not be defined on any project
00005 // that uses this DLL. This way any other project whose source files include this file see 
00006 // CALGORITHMS_API functions as being imported from a DLL, wheras this DLL sees symbols
00007 // defined with this macro as being exported.
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 <stdlib.h>
00039 

Generated on Tue Oct 7 06:10:10 2008 for RDCode by  doxygen 1.5.5