summaryrefslogtreecommitdiffstats
path: root/slv2/private_types.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-26 03:25:08 +0000
committerDavid Robillard <d@drobilla.net>2006-07-26 03:25:08 +0000
commit2cd84e4209633e59439c445f821bed8410347bab (patch)
treeba34505505795cff5cf35c2958ed21933b822e12 /slv2/private_types.h
parentdeca2cc89850dffc051d0a0aafc9d681af838934 (diff)
downloadlilv-2cd84e4209633e59439c445f821bed8410347bab.tar.gz
lilv-2cd84e4209633e59439c445f821bed8410347bab.tar.bz2
lilv-2cd84e4209633e59439c445f821bed8410347bab.zip
- Removed all the unsigned char garbage from the API
- Updated types in lv2.h to be non-machine-dependant (removed unsigned long in favour of uint32_t) - Updated schema - Updated example plugin to work with the above (partially) git-svn-id: http://svn.drobilla.net/lad/libslv2@101 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/private_types.h')
-rw-r--r--slv2/private_types.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/slv2/private_types.h b/slv2/private_types.h
index 849e5a2..a9c60bf 100644
--- a/slv2/private_types.h
+++ b/slv2/private_types.h
@@ -27,16 +27,23 @@ extern "C" {
#include <lv2.h>
+/* If you're a user of SLV2, stop reading this file RIGHT NOW.
+ * Unfortunately it needs to be exposed to allow inlining of some things that
+ * really need to be inlined, but these are opaque types. Don't even think
+ * about writing code that depends on any information here....
+ */
+
+
/** Record of an installed/available plugin.
*
* A simple reference to a plugin somewhere on the system. This just holds
* paths of relevant files, the actual data therein isn't loaded into memory.
*/
struct _Plugin {
- unsigned char* plugin_uri;
- unsigned char* bundle_url; // Bundle directory plugin was loaded from
- unsigned char* data_url; // rdfs::seeAlso
- unsigned char* lib_url; // lv2:binary
+ char* plugin_uri;
+ char* bundle_url; // Bundle directory plugin was loaded from
+ char* data_url; // rdfs::seeAlso
+ char* lib_url; // lv2:binary
};