File: Clustering.h

package info (click to toggle)
rdkit 201203-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 37,840 kB
  • sloc: cpp: 93,902; python: 51,897; java: 5,192; ansic: 3,497; xml: 2,499; sql: 1,641; yacc: 1,518; lex: 1,076; makefile: 325; fortran: 183; sh: 153; cs: 51
file content (39 lines) | stat: -rw-r--r-- 1,026 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the CALGORITHMS_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// CALGORITHMS_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.

#ifdef WIN32
#ifdef CALGORITHMS_EXPORTS
#define CALGORITHMS_API extern "C" __declspec(dllexport)
#else
#define CALGORITHMS_API extern "C" __declspec(dllimport)
#endif
#include <windows.h>
#else  // WIN32
#define CALGORITHMS_API extern "C"
#endif

CALGORITHMS_API void initClustering(void);


#ifdef _DEBUG
#undef _DEBUG
#include <Python.h>
#define _DEBUG
#else
#include <Python.h>
#endif

#define PY_ARRAY_UNIQUE_SYMBOL Py_Array_API_Clustering
#ifndef PYTH_FILE_WITH_INIT
  #define NO_IMPORT_ARRAY
#endif



#include <stdlib.h>