Mercurial > hg > vamp-plugin-sdk
comparison vamp/vamp.h @ 161:7fc1041daa9d
* Revert pragmas and RTLD_GLOBAL -- we think we can fix the underlying
problem in vampy instead
author | cannam |
---|---|
date | Mon, 07 Jul 2008 17:17:11 +0000 |
parents | e841e2365b48 |
children | 31eda4b11f2b |
comparison
equal
deleted
inserted
replaced
160:e841e2365b48 | 161:7fc1041daa9d |
---|---|
311 void (*releaseFeatureSet)(VampFeatureList *); | 311 void (*releaseFeatureSet)(VampFeatureList *); |
312 | 312 |
313 } VampPluginDescriptor; | 313 } VampPluginDescriptor; |
314 | 314 |
315 | 315 |
316 #ifdef __GNUC__ | |
317 #pragma GCC visibility push(default) | |
318 #endif | |
319 #ifdef __MSVC__ | |
320 __declspec(dllexport) | |
321 #endif | |
322 | |
323 | |
324 /** Get the descriptor for a given plugin index in this library. | 316 /** Get the descriptor for a given plugin index in this library. |
325 Return NULL if the index is outside the range of valid indices for | 317 Return NULL if the index is outside the range of valid indices for |
326 this plugin library. | 318 this plugin library. |
327 | 319 |
328 The hostApiVersion argument tells the library code the highest | 320 The hostApiVersion argument tells the library code the highest |
341 */ | 333 */ |
342 const VampPluginDescriptor *vampGetPluginDescriptor | 334 const VampPluginDescriptor *vampGetPluginDescriptor |
343 (unsigned int hostApiVersion, unsigned int index); | 335 (unsigned int hostApiVersion, unsigned int index); |
344 | 336 |
345 | 337 |
346 #ifdef __GNUC__ | |
347 #pragma GCC visibility pop | |
348 #endif | |
349 | |
350 /** Function pointer type for vampGetPluginDescriptor. */ | 338 /** Function pointer type for vampGetPluginDescriptor. */ |
351 typedef const VampPluginDescriptor *(*VampGetPluginDescriptorFunction) | 339 typedef const VampPluginDescriptor *(*VampGetPluginDescriptorFunction) |
352 (unsigned int, unsigned int); | 340 (unsigned int, unsigned int); |
353 | 341 |
354 #ifdef __cplusplus | 342 #ifdef __cplusplus |