diff options
author | David Robillard <d@drobilla.net> | 2011-01-31 01:34:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-31 01:34:19 +0000 |
commit | 15f9b09510615f1732e7eb043ac587673b4edc4a (patch) | |
tree | 7dde76127c8b274bbb55f27e2c01cbe2476d3779 /src/slv2_internal.h | |
parent | d716c6d5e7c622d238d460a32ad7d02845fbc4d4 (diff) | |
download | lilv-15f9b09510615f1732e7eb043ac587673b4edc4a.tar.gz lilv-15f9b09510615f1732e7eb043ac587673b4edc4a.tar.bz2 lilv-15f9b09510615f1732e7eb043ac587673b4edc4a.zip |
Reduce heavy use of librdf_new_node_from* functions.
Store a librdf_node, rather than a librdf_uri, for a URI SLV2Value (further reducing the use of librdf_uri).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2882 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r-- | src/slv2_internal.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h index dd55aca..eba23b7 100644 --- a/src/slv2_internal.h +++ b/src/slv2_internal.h @@ -174,6 +174,7 @@ struct _SLV2World { librdf_node* lv2_maximum_node; librdf_node* lv2_port_node; librdf_node* lv2_portproperty_node; + librdf_node* lv2_reportslatency_node; librdf_node* lv2_index_node; librdf_node* lv2_symbol_node; librdf_node* rdf_a_node; @@ -247,9 +248,9 @@ struct _SLV2Value { SLV2ValueType type; char* str_val; ///< always present union { - int int_val; - float float_val; - librdf_uri* uri_val; + int int_val; + float float_val; + librdf_node* uri_val; } val; }; |