summaryrefslogtreecommitdiffstats
path: root/lilv/lilv.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-29 02:09:01 +0000
committerDavid Robillard <d@drobilla.net>2011-04-29 02:09:01 +0000
commit95ab9c9d236ecc524d98a6a08cd5bae9667265fb (patch)
tree7c22a10f056aab6c1e716059b2ce27cc6c625ad2 /lilv/lilv.h
parentb4cd6dd752c8da20e61abd3774bf9302724a773f (diff)
downloadlilv-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/lilv.h')
-rw-r--r--lilv/lilv.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h
index ce0729d..a6b2297 100644
--- a/lilv/lilv.h
+++ b/lilv/lilv.h
@@ -103,7 +103,7 @@ lilv_uri_to_path(const char* uri);
*/
LILV_API
LilvValue*
-lilv_value_new_uri(LilvWorld* world, const char* uri);
+lilv_new_uri(LilvWorld* world, const char* uri);
/**
Create a new string value (with no language).
@@ -111,7 +111,7 @@ lilv_value_new_uri(LilvWorld* world, const char* uri);
*/
LILV_API
LilvValue*
-lilv_value_new_string(LilvWorld* world, const char* str);
+lilv_new_string(LilvWorld* world, const char* str);
/**
Create a new integer value.
@@ -119,7 +119,7 @@ lilv_value_new_string(LilvWorld* world, const char* str);
*/
LILV_API
LilvValue*
-lilv_value_new_int(LilvWorld* world, int val);
+lilv_new_int(LilvWorld* world, int val);
/**
Create a new floating point value.
@@ -127,7 +127,7 @@ lilv_value_new_int(LilvWorld* world, int val);
*/
LILV_API
LilvValue*
-lilv_value_new_float(LilvWorld* world, float val);
+lilv_new_float(LilvWorld* world, float val);
/**
Create a new boolean value.
@@ -135,7 +135,7 @@ lilv_value_new_float(LilvWorld* world, float val);
*/
LILV_API
LilvValue*
-lilv_value_new_bool(LilvWorld* world, bool val);
+lilv_new_bool(LilvWorld* world, bool val);
/**
Free an LilvValue.
@@ -1009,10 +1009,11 @@ lilv_port_is_a(const LilvPlugin* plugin,
/**
Get the default, minimum, and maximum values of a port.
+
@a def, @a min, and @a max are outputs, pass pointers to uninitialized
- (i.e. NOT created with lilv_value_new) LilvValue variables. These will
- be set to point at new values (which must be freed by the caller using
- lilv_value_free), or NULL if the value does not exist.
+ LilvValue* variables. These will be set to point at new values (which must
+ be freed by the caller using lilv_value_free), or NULL if the value does not
+ exist.
*/
LILV_API
void