From 2cd84e4209633e59439c445f821bed8410347bab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 26 Jul 2006 03:25:08 +0000 Subject: - 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 --- slv2/private_types.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'slv2/private_types.h') 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 +/* 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 }; -- cgit v1.2.1