view PyFeatureSet.h @ 107:c4e00c81a0c7

Added tag vampy-2.1 for changeset 76badb3a0bb3
author Chris Cannam
date Tue, 05 Feb 2019 14:00:17 +0000
parents f5c028376bf9
children
line wrap: on
line source
/*

 * Vampy : This plugin is a wrapper around the Vamp plugin API.
 * It allows for writing Vamp plugins in Python.

 * Centre for Digital Music, Queen Mary University of London.
 * Copyright (C) 2008-2009 Gyorgy Fazekas, QMUL. (See Vamp sources 
 * for licence information.)

*/

#ifndef _PYFEATURESET_H_
#define _PYFEATURESET_H_

#include <Python.h>

typedef struct {
    PyDictObject dict;
} FeatureSetObject;

extern PyTypeObject FeatureSet_Type;

#define PyFeatureSet_CheckExact(v)	((v)->ob_type == &FeatureSet_Type)
#define PyFeatureSet_Check(v) PyObject_TypeCheck(v, &FeatureSet_Type)

extern void initFeatureSetType(void);

#endif