summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-03 20:12:58 +0000
committerDavid Robillard <d@drobilla.net>2007-10-03 20:12:58 +0000
commit4bd195662b9cf120cce37221f8970d80e619be56 (patch)
tree5253a22a596fffbafbe3bf04b02967aaa0c120f5 /slv2
parentd596bb4bedbf9ff267cfe924bb4d376213efd3ec (diff)
downloadlilv-4bd195662b9cf120cce37221f8970d80e619be56.tar.gz
lilv-4bd195662b9cf120cce37221f8970d80e619be56.tar.bz2
lilv-4bd195662b9cf120cce37221f8970d80e619be56.zip
Update LV2 spec.
git-svn-id: http://svn.drobilla.net/lad/slv2@812 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/lv2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/slv2/lv2.h b/slv2/lv2.h
index e19ff1e..d673a4c 100644
--- a/slv2/lv2.h
+++ b/slv2/lv2.h
@@ -324,13 +324,13 @@ typedef struct _LV2_Descriptor {
*
* The host is never responsible for freeing the returned value.
*
- * NOTE: It is highly recommended that this function returns a struct, and
- * NOT a direct function pointer. Standard C++ (for real reasons) does not
+ * NOTE: This function should return a struct (likely containing function
+ * pointers) and NOT a direct function pointer. Standard C and C++ do not
* allow type casts from void* to a function pointer type. To provide
* additional functions a struct should be returned containing the extra
- * function pointers (which is valid standard C++, and a much better idea
+ * function pointers (which is valid standard code, and a much better idea
* for extensibility anyway). */
- void* (*extension_data)(const char * uri);
+ const void* (*extension_data)(const char * uri);
} LV2_Descriptor;