comparison PyExtensionModule.h @ 31:4f1894c7591b vampy2

Created Vampy2 branch
author fazekasgy
date Sun, 20 Sep 2009 17:31:20 +0000
parents
children
comparison
equal deleted inserted replaced
28:5139bf30f208 31:4f1894c7591b
1 #ifndef _PYEXTENSIONMODULE_H_
2 #define _PYEXTENSIONMODULE_H_
3
4 #include <Python.h>
5 #include "PyRealTime.h"
6 #include "PyFeature.h"
7 #include "PyFeatureSet.h"
8 #include "PyParameterDescriptor.h"
9 #include "PyOutputDescriptor.h"
10
11 #define PyDescriptor_Check(v) ((v)->ob_type == &Feature_Type) || ((v)->ob_type == &OutputDescriptor_Type) || ((v)->ob_type == &ParameterDescriptor_Type)
12
13 #ifndef PyMODINIT_FUNC
14 #define PyMODINIT_FUNC void
15 #endif
16 PyMODINIT_FUNC initvampy();
17 void cleanModule();
18
19 #endif