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/shared/World.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/shared/World.hpp')
-rw-r--r-- | src/shared/World.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/World.hpp b/src/shared/World.hpp index 44e2478e..76f40442 100644 --- a/src/shared/World.hpp +++ b/src/shared/World.hpp @@ -29,7 +29,7 @@ #include "raul/Configuration.hpp" #include "raul/SharedPtr.hpp" -typedef struct _LilvWorld* LilvWorld; +typedef struct LilvWorldImpl LilvWorld; namespace Sord { class World; } @@ -99,7 +99,7 @@ public: virtual LV2Features* lv2_features(); - virtual LilvWorld lilv_world(); + virtual LilvWorld* lilv_world(); virtual void set_jack_uuid(const std::string& uuid); virtual std::string jack_uuid(); |