Mercurial > hg > vampy
view 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 |
line wrap: on
line source
#ifndef _PYEXTENSIONMODULE_H_ #define _PYEXTENSIONMODULE_H_ #include <Python.h> #include "PyRealTime.h" #include "PyFeature.h" #include "PyFeatureSet.h" #include "PyParameterDescriptor.h" #include "PyOutputDescriptor.h" #define PyDescriptor_Check(v) ((v)->ob_type == &Feature_Type) || ((v)->ob_type == &OutputDescriptor_Type) || ((v)->ob_type == &ParameterDescriptor_Type) #ifndef PyMODINIT_FUNC #define PyMODINIT_FUNC void #endif PyMODINIT_FUNC initvampy(); void cleanModule(); #endif