comparison PyPluginObject.h @ 34:f0195e45351b

Put metadata into an info dict in the plugin object; add parameter descriptors
author Chris Cannam
date Wed, 26 Nov 2014 12:48:37 +0000
parents ef0cf1ba78a9
children 24eedd23a812
comparison
equal deleted inserted replaced
33:ef0cf1ba78a9 34:f0195e45351b
49 Vamp::Plugin *plugin; 49 Vamp::Plugin *plugin;
50 bool isInitialised; 50 bool isInitialised;
51 size_t channels; 51 size_t channels;
52 size_t blockSize; 52 size_t blockSize;
53 size_t stepSize; 53 size_t stepSize;
54 int apiVersion; 54 PyObject *info;
55 char *identifier; 55 int inputDomain;
56 PyObject *parameters;
56 }; 57 };
57 58
58 PyAPI_DATA(PyTypeObject) Plugin_Type; 59 PyAPI_DATA(PyTypeObject) Plugin_Type;
59 #define PyPlugin_Check(v) PyObject_TypeCheck(v, &Plugin_Type) 60 #define PyPlugin_Check(v) PyObject_TypeCheck(v, &Plugin_Type)
60 61