cQuantize.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 CQUANTIZE_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 // CQUANTIZE_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 CQUANTIZE_EXPORTS
00011 #define CQUANTIZE_API extern "C" __declspec(dllexport)
00012 #else
00013 #define CQUANTIZE_API extern "C" __declspec(dllimport)
00014 #endif
00015 #include <windows.h>
00016 #else  // WIN32
00017 #define CQUANTIZE_API extern "C"
00018 #endif
00019 
00020 CQUANTIZE_API void initcQuantize(void);
00021 
00022 #ifdef _DEBUG
00023 #ifndef BOOST_PYTHON_DEBUG
00024 #undef _DEBUG
00025 #endif
00026 #include <Python.h>
00027 #define _DEBUG
00028 #else
00029 #include <Python.h>
00030 #endif

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