Mercurial > hg > vampy
annotate PyExtensionModule.h @ 35:2ba482378038 vampy2
* Fix compile error with VC++. I am totally at a loss to explain
why this should have compiled with any other compiler!
* Update VC project file.
This code does now build with VC++ without HAVE_NUMPY -- I haven't
installed Numpy yet
author | cannam |
---|---|
date | Thu, 24 Sep 2009 08:52:04 +0000 |
parents | 4f1894c7591b |
children |
rev | line source |
---|---|
fazekasgy@31 | 1 #ifndef _PYEXTENSIONMODULE_H_ |
fazekasgy@31 | 2 #define _PYEXTENSIONMODULE_H_ |
fazekasgy@31 | 3 |
fazekasgy@31 | 4 #include <Python.h> |
fazekasgy@31 | 5 #include "PyRealTime.h" |
fazekasgy@31 | 6 #include "PyFeature.h" |
fazekasgy@31 | 7 #include "PyFeatureSet.h" |
fazekasgy@31 | 8 #include "PyParameterDescriptor.h" |
fazekasgy@31 | 9 #include "PyOutputDescriptor.h" |
fazekasgy@31 | 10 |
fazekasgy@31 | 11 #define PyDescriptor_Check(v) ((v)->ob_type == &Feature_Type) || ((v)->ob_type == &OutputDescriptor_Type) || ((v)->ob_type == &ParameterDescriptor_Type) |
fazekasgy@31 | 12 |
fazekasgy@31 | 13 #ifndef PyMODINIT_FUNC |
fazekasgy@31 | 14 #define PyMODINIT_FUNC void |
fazekasgy@31 | 15 #endif |
fazekasgy@31 | 16 PyMODINIT_FUNC initvampy(); |
fazekasgy@31 | 17 void cleanModule(); |
fazekasgy@31 | 18 |
fazekasgy@31 | 19 #endif |