comparison PyFeatureSet.h @ 37:27bab3a16c9a vampy2final

new branch Vampy2final
author fazekasgy
date Mon, 05 Oct 2009 11:28:00 +0000
parents
children f5c028376bf9
comparison
equal deleted inserted replaced
-1:000000000000 37:27bab3a16c9a
1 /*
2
3 * Vampy : This plugin is a wrapper around the Vamp plugin API.
4 * It allows for writing Vamp plugins in Python.
5
6 * Centre for Digital Music, Queen Mary University of London.
7 * Copyright (C) 2008-2009 Gyorgy Fazekas, QMUL. (See Vamp sources
8 * for licence information.)
9
10 */
11
12 #ifndef _PYFEATURESET_H_
13 #define _PYFEATURESET_H_
14
15 #include <Python.h>
16
17 typedef struct {
18 PyDictObject dict;
19 } FeatureSetObject;
20
21 PyAPI_DATA(PyTypeObject) FeatureSet_Type;
22
23 #define PyFeatureSet_CheckExact(v) ((v)->ob_type == &FeatureSet_Type)
24 #define PyFeatureSet_Check(v) PyObject_TypeCheck(v, &FeatureSet_Type)
25
26 void initFeatureSetType(void);
27
28 #endif