diff options
author | David Robillard <d@drobilla.net> | 2011-04-29 02:09:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-29 02:09:01 +0000 |
commit | 95ab9c9d236ecc524d98a6a08cd5bae9667265fb (patch) | |
tree | 7c22a10f056aab6c1e716059b2ce27cc6c625ad2 /lilv/lilvmm.hpp | |
parent | b4cd6dd752c8da20e61abd3774bf9302724a773f (diff) | |
download | lilv-95ab9c9d236ecc524d98a6a08cd5bae9667265fb.tar.gz lilv-95ab9c9d236ecc524d98a6a08cd5bae9667265fb.tar.bz2 lilv-95ab9c9d236ecc524d98a6a08cd5bae9667265fb.zip |
Terser names for value constructors.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3223 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv/lilvmm.hpp')
-rw-r--r-- | lilv/lilvmm.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lilv/lilvmm.hpp b/lilv/lilvmm.hpp index 66a0276..3c2189a 100644 --- a/lilv/lilvmm.hpp +++ b/lilv/lilvmm.hpp @@ -130,19 +130,19 @@ struct World { inline ~World() { /*lilv_world_free(me);*/ } inline LilvValue* new_uri(const char* uri) { - return lilv_value_new_uri(me, uri); + return lilv_new_uri(me, uri); } inline LilvValue* new_string(const char* str) { - return lilv_value_new_string(me, str); + return lilv_new_string(me, str); } inline LilvValue* new_int(int val) { - return lilv_value_new_int(me, val); + return lilv_new_int(me, val); } inline LilvValue* new_float(float val) { - return lilv_value_new_float(me, val); + return lilv_new_float(me, val); } inline LilvValue* new_bool(bool val) { - return lilv_value_new_bool(me, val); + return lilv_new_bool(me, val); } LILV_WRAP2_VOID(world, set_option, const char*, uri, LilvValue*, value); |