Mercurial > hg > vamp-plugin-sdk
diff vamp/vamp.h @ 54:933fee59d33a
* doc updates
author | cannam |
---|---|
date | Fri, 30 Mar 2007 17:14:16 +0000 |
parents | b907557b2fb9 |
children | e841e2365b48 |
line wrap: on
line diff
--- a/vamp/vamp.h Wed Mar 21 14:15:25 2007 +0000 +++ b/vamp/vamp.h Fri Mar 30 17:14:16 2007 +0000 @@ -37,7 +37,22 @@ #ifndef VAMP_HEADER_INCLUDED #define VAMP_HEADER_INCLUDED -/* +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Plugin API version. This is incremented when a change is made that + * changes the binary layout of the descriptor records. When this + * happens, there should be a mechanism for retaining compatibility + * with older hosts and/or plugins. + * + * See also the vampApiVersion field in the plugin descriptor, and the + * hostApiVersion argument to the vampGetPluginDescriptor function. + */ +#define VAMP_API_VERSION 1 + +/** * C language API for Vamp plugins. * * This is the formal plugin API for Vamp. Plugin authors may prefer @@ -53,21 +68,6 @@ * plugin lifecycle documentation. */ -#ifdef __cplusplus -extern "C" { -#endif - -/** - * Plugin API version. This is incremented when a change is made that - * changes the binary layout of the descriptor records. When this - * happens, there should be a mechanism for retaining compatibility - * with older hosts and/or plugins. - * - * See also the vampApiVersion field in the plugin descriptor, and the - * hostApiVersion argument to the vampGetPluginDescriptor function. - */ -#define VAMP_API_VERSION 1 - typedef struct _VampParameterDescriptor { /** Computer-usable name of the parameter. Must not change. [a-zA-Z0-9_] */