diff options
author | David Robillard <d@drobilla.net> | 2011-04-29 02:03:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-29 02:03:23 +0000 |
commit | 8bc9aca63644d63de3ccccbb4752e79d3d3c7854 (patch) | |
tree | 7f8e4be2eab57edc3d422ad5a8d34c6ed6473b9d /src/server/LV2Info.hpp | |
parent | 77d22f06129e91f51e37c09c71c0917a0136dd7d (diff) | |
download | ingen-8bc9aca63644d63de3ccccbb4752e79d3d3c7854.tar.gz ingen-8bc9aca63644d63de3ccccbb4752e79d3d3c7854.tar.bz2 ingen-8bc9aca63644d63de3ccccbb4752e79d3d3c7854.zip |
Don't hide pointers behind typedefs.
Use const appropriately in API (makes it clear from the type whether objects should be freed or not).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3222 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/LV2Info.hpp')
-rw-r--r-- | src/server/LV2Info.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/server/LV2Info.hpp b/src/server/LV2Info.hpp index 4f3e45f1..ff26d1f6 100644 --- a/src/server/LV2Info.hpp +++ b/src/server/LV2Info.hpp @@ -41,16 +41,16 @@ public: explicit LV2Info(Ingen::Shared::World* world); ~LV2Info(); - LilvValue input_class; - LilvValue output_class; - LilvValue control_class; - LilvValue audio_class; - LilvValue event_class; - LilvValue value_port_class; - LilvValue message_port_class; + LilvValue* input_class; + LilvValue* output_class; + LilvValue* control_class; + LilvValue* audio_class; + LilvValue* event_class; + LilvValue* value_port_class; + LilvValue* message_port_class; Ingen::Shared::World& world() { return *_world; } - LilvWorld lv2_world() { return _world->lilv_world(); } + LilvWorld* lv2_world() { return _world->lilv_world(); } private: Ingen::Shared::World* _world; |