Mercurial > hg > vampy
view PyExtensionModule.h @ 32:a8231788216c vampy2
Vampy2: accept numpy array return types.
author | fazekasgy |
---|---|
date | Mon, 21 Sep 2009 13:56:28 +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