summaryrefslogtreecommitdiffstats
path: root/include/lv2.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-08-22 16:12:33 +0000
committerDavid Robillard <d@drobilla.net>2006-08-22 16:12:33 +0000
commitcf11310c243320bbe53dbf7c6738cc84e33ba9d3 (patch)
tree82fbf253d759d79aa3c566f3e977cecc34a6630d /include/lv2.h
parent8eeaefada5d3a58be51c4929e86128e52149ee28 (diff)
downloadlilv-cf11310c243320bbe53dbf7c6738cc84e33ba9d3.tar.gz
lilv-cf11310c243320bbe53dbf7c6738cc84e33ba9d3.tar.bz2
lilv-cf11310c243320bbe53dbf7c6738cc84e33ba9d3.zip
Updates for new header/schema
git-svn-id: http://svn.drobilla.net/lad/libslv2@109 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'include/lv2.h')
-rw-r--r--include/lv2.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/include/lv2.h b/include/lv2.h
index 8523e80..e38e2ac 100644
--- a/include/lv2.h
+++ b/include/lv2.h
@@ -21,8 +21,8 @@
* USA.
*/
-#ifndef LV2_INCLUDED
-#define LV2_INCLUDED
+#ifndef LV2_H_INCLUDED
+#define LV2_H_INCLUDED
#include <stdint.h>
@@ -33,6 +33,7 @@ extern "C" {
/* ************************************************************************* */
+
/* Overview:
*
* There are a large number of open source and free software synthesis
@@ -70,6 +71,7 @@ extern "C" {
* This API contains very limited error-handling.
*/
+
/* ************************************************************************* */
@@ -84,6 +86,7 @@ typedef void * LV2_Handle;
/* ************************************************************************* */
+
/** Host feature.
*
* These are passed to a plugin's instantiate method to represent a special
@@ -300,8 +303,19 @@ typedef const LV2_Descriptor *
/* ******************************************************************** */
+/* Put this (LV2_SYMBOL_EXPORT) before any functions that are to be loaded
+ * by the host as a symbol from the dynamic library.
+ */
+#ifdef WIN32
+#define LV2_SYMBOL_EXPORT __declspec(dllexport)
+#else
+#define LV2_SYMBOL_EXPORT
+#endif
+
+
#ifdef __cplusplus
}
#endif
-#endif /* LV2_INCLUDED */
+#endif /* LV2_H_INCLUDED */
+